Upgrading To Crowd 1.3x Fails On PostgreSQL Database

Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.

Note that this KB was created for the Data Center version of the product. Data Center KBs 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

Upgrading to Crowd 1.3x using PostgreSQL database fails with error;

1 2 3 4 5 6 7 8 main ERROR [hibernate.tool.hbm2ddl.SchemaUpdate] could not get database metadata org.postgresql.util.PSQLException: ERROR: relation "information_schema.system_sequences" does not exist at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:1575) at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1324) at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:190) at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:452) at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:340)

Cause

Crowd isn't configured to use the correct PostgreSQL Dialect.

Resolution

Update file crowd-openidserver-webapp/WEB-INF/classes/jdbc.properties with the correct database dialect.

1 2 hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect
Updated on April 8, 2025

Still need help?

The Atlassian Community is here for you.