New install crashes
Asked by Jouffan:

Installed of fresh UBUNTU 18.04 LTS, everytime the installation stuck at this error.

Using atlassian-confluence-6.9.1-x64.bin

No idea what's wrong :-/ The error message gives me no hint.

Thanks for any help.

Oops - an error has occurred {#toc-hId-1818205304}
--------------------------------------------------

[![logo](http://localhost:8090/images/logo/confluence_48_white.png "Confluence")](http://localhost:8090/)System Error {#toc-hId--733951657}
-------------------------------------------------------------------------------------------------------------------------------------------

A system error has occurred --- our apologies!

For immediate troubleshooting, consult our **[knowledge base](http://confluence.atlassian.com/display/CONFKB/Confluence+Knowledge+Base+Home)** for a solution.

If you would like to receive support from Atlassian's support team, ask your **[Confluence administrator](http://localhost:8090/contactadministrators.action)** to create a support issue on [Atlassian's support system](http://support.atlassian.com) with the following information:

1. a description of your problem and what you were doing at the time it occurred
2. a copy of the error and system information found below
3. a copy of the application logs (if possible).

Your Confluence administrator can use the **[support request form](http://localhost:8090/admin/raisesupportrequest.action)** to create a support ticket which will include this information.

We will respond as promptly as possible.  
Thank you!

[**Return to site homepage...**](http://localhost:8090/)

### Cause {#toc-hId-812345173}

com.atlassian.config.setup.SetupException: Tried to finish setup but had not run through the whole wizard? Current step: finishsetup  
at com.atlassian.confluence.setup.DefaultSetupPersister.finishSetup(DefaultSetupPersister.java:179)

#### Stack Trace:\[hide\] {#toc-hId--1936325293}

```
com.atlassian.config.setup.SetupException: Tried to finish setup but had not run through the whole wizard? Current step: finishsetup	at com.atlassian.confluence.setup.DefaultSetupPersister.finishSetup(DefaultSetupPersister.java:179)	at com.atlassian.confluence.setup.actions.FinishSetupAction.execute(FinishSetupAction.java:81)	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:168)	at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35)	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)	at com.atlassian.confluence.core.ConfluenceWorkflowInterceptor.intercept(ConfluenceWorkflowInterceptor.java:33)	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)	at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35)	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)	at com.atlassian.xwork.interceptors.XsrfTokenInterceptor.intercept(XsrfTokenInterceptor.java:100)	at com.atlassian.confluence.xwork.ConfluenceXsrfTokenInterceptor.intercept(ConfluenceXsrfTokenInterceptor.java:29)	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)	at com.atlassian.confluence.security.interceptors.CaptchaInterceptor.intercept(CaptchaInterceptor.java:42)	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)	at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35)	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)	at com.atlassian.confluence.core.ConfluenceLicenseInterceptor.intercept(ConfluenceLicenseInterceptor.java:66)	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)	at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35)	
```


Answers:
author: AnnWorley
body: Hi Jovan,

It sounds like the setup wizard had trouble writing to confluence.cfg.xml in the root of the [Confluence home](https://confluence.atlassian.com/doc/confluence-home-and-other-important-directories-590259707.html) directory. That's where the setup steps, database connection details and some other parameters are stored.

For best results:

1. Make sure the user running the service has the ability to write to the [Confluence home](https://confluence.atlassian.com/doc/confluence-home-and-other-important-directories-590259707.html) directory.
2. Delete the confluence.cfg.xml file in the root of the Confluence home directory.
3. Connect to a new, empty database during the setup wizard.

I look forward to hearing whether these steps help you get Confluence installed.

Thanks,

Ann


author: Saurabh Gupta
body: Facing the same error on 8.9.1 confluence with mysql database.


author: miikhy
body: Hi Jovan,

Never seen that error before, can you tell us more: what steps of the setup did you run? Did they all worked well? Can you check if CONF_HOMe and database have been prepopulated? All of those should give hints on where it's failing!

Thanks

comments: author: Jouffan
body: 1. I've installed just Postgres on fresh ubuntu server (but doesn't matter as the same crash for H2).  
   Then downloaded installation bin form Atlassian website
2. Ran the bin as administrator
3. Chosen the Express installation
4. Script finished well and asked me if I want to start the service - answered Yes
5. then I have continued in the browser on the 9080 port
6. After the database is created (in case that Postgres was used) - I checked the scheme and there was something like 111 tables.
7. When tried to continue the process to - "manage users", site finished like that. (the name for the step might be a little bit different as I don't have the screens accessible right now)


author: miikhy
body: Hi,

I'm very surprised as everything seems to be done properly. I'll try and get some support from Atlassian for you here. Hope you'll find a way to enjoy Confluence!

Cheers