Issue after installing Confluence
Asked by elmer25:

I installed Confluence 6.11.2 on an AWS server. I lost the original xml file for the configuration to connect to the SQLServer database (located on an AWS RDS instance). To get around this problem I created another database to generate the cfg files. I shutdown the database and replaced the JDBC url string with the corrected database. I then restarted the database and received the following error.

DescriptionTimeLevelException

|---------------------------------------------------------------------------------------------------------------------------|---------------------|-------|-----------------------------------------------------------------------------------------------------------------------------------------------|
| This installation of Confluence has failed one or more bootstrap configuration checks. Please check the logs for details. | 2018-11-06 10:00:08 | fatal | Confluence will not start up because the build number in the home directory \[7901\] doesn't match the build number in the database \[7801\]. |

Can you help me determine which database version I should install with the current confluence database version to again access my Confluence?

Thank you


Answers:
author: Shannon S
body: Jim,

Is this a brand-new installation, with no existing data, or were you migrating or updating Confluence?

For information on how to fix that error, you can check here:

* [Confluence will not start up because the build number in the Home Directory doesn't match the build number in the Database, after upgrade](https://confluence.atlassian.com/confkb/confluence-will-not-start-up-because-the-build-number-in-the-home-directory-doesn-t-match-the-build-number-in-the-database-after-upgrade-376834096.html)

You'll generally see this during an upgrade. If you're installing Confluence then it needs to have an empty database and thus a build number wouldn't already be set in the database.

If you can tell us exactly what you were trying to do when you installed Confluence it will help us to understand your situation.

Regards,

Shannon

comments: author: elmer25
body: Shannon, thank you for the response. Problem is I have a database I needed. So I went ahead and continued to try archive installers until I found the version needed. I created using an empty database and then modified the xml file to point to the correct jdbc url.

Thank you


author: Shannon S
body: Hi Jim,

Thank you for clarifying.

So the installation you used is 7901 which is version 6.12.\*, and your database is 7801, which is version 6.11.\*.

You'll want to try installing 6.11.\* instead and try the same.

1. Install 6.11.\* (in your case, 6.11.2),
2. Connect to an empty database.
3. Start up Confluence, allowing it to generate your home directory again.
4. Once successful, stop Confluence.
5. Edit the configuration XML file, pointing to your database.
6. Start Confluence.

Your downloads can be found here:

|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|-------------|--------|
| [6.11.2 - Windows Installer (64 bit)](https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-6.11.2-x64.exe) ([Release notes](http://confluence.atlassian.com/display/DOC/Confluence+6.11+Release+Notes) \| [Upgrade notes](http://confluence.atlassian.com/display/DOC/Confluence+6.11+Upgrade+Notes)) |   | 16-Sep-2018 | EXE    |
| [6.11.2 - Standalone (ZIP Archive)](https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-6.11.2.zip) ([Release notes](http://confluence.atlassian.com/display/DOC/Confluence+6.11+Release+Notes) \| [Upgrade notes](http://confluence.atlassian.com/display/DOC/Confluence+6.11+Upgrade+Notes))       |   | 16-Sep-2018 | ZIP    |
| [6.11.2 - Standalone (TAR.GZ Archive)](https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-6.11.2.tar.gz) ([Release notes](http://confluence.atlassian.com/display/DOC/Confluence+6.11+Release+Notes) \| [Upgrade notes](http://confluence.atlassian.com/display/DOC/Confluence+6.11+Upgrade+Notes)) |   | 16-Sep-2018 | TAR.GZ |
| [6.11.2 - Linux Installer (64 bit)](https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-6.11.2-x64.bin) ([Release notes](http://confluence.atlassian.com/display/DOC/Confluence+6.11+Release+Notes) \| [Upgrade notes](http://confluence.atlassian.com/display/DOC/Confluence+6.11+Upgrade+Notes))   |   | 16-Sep-2018 | BIN    |

Alternatively, you can try [updating the version in the database directly](https://confluence.atlassian.com/confkb/confluence-will-not-start-up-because-the-build-number-in-the-home-directory-doesn-t-match-the-build-number-in-the-database-after-upgrade-376834096.html), but this might cause issues in the future.

Let me know if you have any trouble.

Regards,

Shannon


author: elmer25
body: Thank you. That is the type of information I was looking for. Which installation versions are mapped to which build versions.


author: Shannon S
body: No problem, Jim!

You can find the whole list from our developer site:

* [Confluence build information](https://developer.atlassian.com/server/confluence/confluence-build-information/)

Take care and have a pleasant weekend.

Shannon


Tags: confluence-server

server