# Sonarqube 8.4 postgresql version compatibility

**URL:** <https://community.sonarsource.com/t/sonarqube-8-4-postgresql-version-compatibility/27773>\
**Category:** SonarQube Server / Community Build\
**Created:** [July 8, 2020, 1:54pm UTC](https://community.sonarsource.com/t/sonarqube-8-4-postgresql-version-compatibility/27773 "2020-07-08T13:54:46Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mlanders](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/mlanders/32/8949_2.png) [@mlanders](https://community.sonarsource.com/u/mlanders)\
**Post date:** [July 8, 2020, 1:54pm UTC](https://community.sonarsource.com/t/sonarqube-8-4-postgresql-version-compatibility/27773/1 "2020-07-08T13:54:46Z")

</div>

I’m upgrading from sonarqube 8.0 to 8.4 via sonarqube zip file on centos.  
DB is currently PostgreSQL 10.9, and PostgreSQL 10 is listed with a green check here:  
[https://docs.sonarqube.org/latest/requirements/requirements/](https://docs.sonarqube.org/latest/requirements/requirements/)

I am getting the following error message in both web.log and sonar.log regarding the DB needing to be upgraded, but it doesn’t make sense to me according to the requirements listed on the sonarqube website:

The database must be manually upgraded. Please backup the database and browse /setup. For more information: [https://docs.sonarqube.org/latest/setup/upgrading](https://docs.sonarqube.org/latest/setup/upgrading)

What version of PostgreSQL would I have to upgrade to? The error message doesn’t specify, and the sonarqube website provides incorrect information since it lists PostgreSQL 10, 11, and 12 all as compatible with the latest version of SonarQube currently.

---

<div class="post-metadata">

**Author:** ![pierreguillot](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/pierreguillot/32/46022_2.png) [@pierreguillot](https://community.sonarsource.com/u/pierreguillot)\
**Post date:** [July 8, 2020, 2:09pm UTC](https://community.sonarsource.com/t/sonarqube-8-4-postgresql-version-compatibility/27773/2 "2020-07-08T14:09:26Z")

</div>

Hi, it’s the SonarQube database schema that needs to be upgraded. As specified in the log, you need to browse to `/setup` and trigger the migration.

---

<div class="post-metadata">

**Author:** ![mlanders](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/mlanders/32/8949_2.png) [@mlanders](https://community.sonarsource.com/u/mlanders)\
**Post date:** [July 8, 2020, 2:23pm UTC](https://community.sonarsource.com/t/sonarqube-8-4-postgresql-version-compatibility/27773/3 "2020-07-08T14:23:28Z")

</div>

Thanks @pierreguillot

The error message is actually wrong. It should say “The database schema must be manually upgraded at /setup” vs the current message which sounds like a DB engine update is required + the provided URL has nothing to do with a schema upgrade- the term schema isn’t even found on that page.

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/system/32/31083_2.png) [@system](https://community.sonarsource.com/u/system)\
**Post date:** [July 15, 2020, 2:23pm UTC](https://community.sonarsource.com/t/sonarqube-8-4-postgresql-version-compatibility/27773/4 "2020-07-15T14:23:35Z")

</div>

Closed on July 15, 2020, 2:23pm UTC

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
