-
Bug
-
Resolution: Tracked Elsewhere
-
High
-
None
-
2.7.1
-
None
-
11
-
Upon Confluence upgrade to 2.7 or later, admin may discover that the KEYSTORE table does not exist.
An upgrade misconfiguration is known to can cause this. For example:
- Admin created a test Confluence instance of the latest version and new database, then shut it down
- Admin imported production database into this new instance
- Admin copied production instance's Confluence Home but kept the test instance's confluence.cfg.xml. This xml file contains the target version's build number.
- Admin started test instance in the hope that this will upgrade Confluence.
- Because Confluence see that the build number in confluence.cfg.xml is the same as the running Confluence version, the upgrade is skipped.
Step 3 is wrong. The confluence.cfg.xml should also be reverted to the old build number (click here for Confluence Build Information).
ERROR [DefaultQuartzScheduler_Worker-6] [confluence.importexport.impl.BackupExporter] backupEntities Couldn't backup database data. org.springframework.jdbc.BadSqlGrammarException: Hibernate operation: Could not execute query; bad SQL grammar []; nested exception is com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: Table 'confluencedb271.KEYSTORE' doesn't exist Caused by: com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: Table 'confluencedb271.KEYSTORE' doesn't exist at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1027)
This issue can be prevented had we have CONF-18085 implemented.
See also CONF-13798
- is related to
-
CONFSERVER-18084 ImageDetails table not created during upgrade to 3.1
-
- Closed
-
- is superseded by
-
CONFSERVER-18085 Need an integrity checker to check all required database tables exist after an upgrade
- Gathering Interest
- relates to
-
CONFSERVER-8876 DB schema updater should abort if there is a problem executing SQLs
-
- Closed
-
Form Name |
---|
[CONFSERVER-10759] 'KEYSTORE' table doesn't exist. BackupEntities couldn't backup database data
Workflow | Original: JAC Bug Workflow v3 [ 2896535 ] | New: CONFSERVER Bug Workflow v4 [ 2989381 ] |
Workflow | Original: JAC Bug Workflow v2 [ 2787863 ] | New: JAC Bug Workflow v3 [ 2896535 ] |
Status | Original: Resolved [ 5 ] | New: Closed [ 6 ] |
Workflow | Original: JAC Bug Workflow [ 2719727 ] | New: JAC Bug Workflow v2 [ 2787863 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2388856 ] | New: JAC Bug Workflow [ 2719727 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v5 [ 2265867 ] | New: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2388856 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2209381 ] | New: Confluence Workflow - Public Facing - Restricted v5 [ 2265867 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2194167 ] | New: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2209381 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v5 [ 1920167 ] | New: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2194167 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v3 [ 1730031 ] | New: Confluence Workflow - Public Facing - Restricted v5 [ 1920167 ] |
Workflow | Original: CONF Bug Subtask WF (TEMP) [ 1686141 ] | New: Confluence Workflow - Public Facing - Restricted v3 [ 1730031 ] |