New Install of Confluence Appears to Succeed, but is not Accessible
Platform Notice: Data Center - This article applies to Atlassian products on the Data Center platform.
Note that this knowledge base article was created for the Data Center version of the product. Data Center knowledge base articles for non-Data Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Symptoms
User is installing Confluence for the first time. The install appears to function correctly, but at the end of the process user is prompted to enter a user name and password without having set up an admin account. User is effectively locked out of their system
Cause
The confluence.home variable is set multiple times in <confluence_install>/confluence/WEB-INF/classes/confluence-init.properties. The most often cause of this is deleting more than one of the "#" commenting out the value for confluence.home.
Resolution
- Make sure the value of confluence.home is set once and ONLY once
We recommend that the value is set on the last line as shown below
#This file allows you to set the directory for Confluence to store its configuration files. # ########################### # Note for Windows Users # ########################### # # Each backslash in your path must be written as a forward slash. # - For example: # c:\confluence\data # # should be written as: # # c:/confluence/data ########################### # Note for Unix Users # ########################### # - For example: # confluence.home=/var/confluence # # NOTE: If the path of your confluence.home directory contains symlinks, # please set confluence.home to the absolute path, otherwise problems may occur. # - For example: # confluence.home=/data/confluence/ (where /data is a symlink to -> /var/data/) # should be written as: # confluence.home=/var/data/confluence/ ########################### # Configuration Directory # ########################### # specify your directory below (don't forget to remove the '#' in front) confluence.home=/path/to/confluence_home
Issue being tracked in the following location : CONF-19089 - Getting issue details... STATUS