-
Bug
-
Resolution: Fixed
-
Low
-
7.3.0
-
None
-
Severity 1 - Critical
-
Issue Summary
Active Objects upgrade tasks does not work
Steps to Reproduce
- Install a version of Bitbucket Server before 7.3 and have a plugin create its schema
- Upgrade to Bitbucket Server 7.3 and include an ActiveObjects schema upgrade task
Expected Results
Upgrade completes
Actual Results
For a postgres database you get a log like the following
2020-05-18 06:28:19,747 WARN [active-objects-init-compatibility-tenant-0] n.j.ao.db.PostgreSQLDatabaseProvider Error in schema creation: ERROR: column "MIRROR_TYPE" contains null values; attempting to roll back last partially generated table 2020-05-18 06:28:19,757 WARN [active-objects-init-compatibility-tenant-0] c.a.a.osgi.TenantAwareActiveObjects bundle [com.atlassian.bitbucket.server.bitbucket-mirroring-upstream] failed to create ActiveObjectscom.atlassian.activeobjects.internal.ActiveObjectsSqlException: There was a SQL exception thrown by the Active Objects library:Database: - name:PostgreSQL - version:10.5 - minor version:5 - major version:10 Driver: - name:PostgreSQL JDBC Driver - version:42.2.5
Workaround
Workaround described in ticket https://jira.atlassian.com/browse/BSERV-11441
- mentioned in
-
Page Loading...