Update 6.15.3 to 7 fails with "Table 'confluence.EVENTS' doesn't exist"
Asked by Thomas Tausend:

After an Update from Confluence 6.15.3 I got an "Update complete - please enter Licence-Key" (what I did) and then "restart confluence" (what I also did). After a reboot of the machine Confluence starts with  

|                                                                                                                                                                                                                                                                                                          Description                                                                                                                                                                                                                                                                                                           |        Time         | Level |            Exception             |
|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------|-------|----------------------------------|
| Upgrade failed. Please consult the system logs for details. You will need to fix these problems, restore your database and confluence home directory to the pre upgrade state. Then retry the upgrade. Upgrade error message: Upgrade task com.atlassian.confluence.upgrade.upgradetask.SynchronyEvictionEventsPostSchemaUpgradeTask@1285568f failed during the SCHEMA_UPGRADE phase due to: StatementCallback; bad SQL grammar \[create unique index e_h_r_idx on \`EVENTS\` (\`history\`, \`rev\`)\]; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'confluence.EVENTS' doesn't exist | 2021-09-22 14:36:13 | error |                                  |
| Post-Upgrade recovery file generation failed. Please refer to <https://confluence.atlassian.com/x/ropKGQ> for possible solution.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | 2021-09-22 14:52:30 | fatal | Failed to generate recovery file |

For the recovery-file-generation-problem I found a solution online - but the missing table drives me mad.  
I already recovered the content of the Confluence-Directory, restored the (mysql) Database and startet the update again - but got the same result.  
Any ideas how to deal with that Problem?  
Best regards  
Thomas


Answers:
author: Brant Schroeder
body: [@Thomas Tausend](/t5/user/viewprofilepage/user-id/658855) I believe this might be your issue <https://confluence.atlassian.com/confkb/table-xxx-doesn-t-exist-error-in-confluence-logs-mysql-server-1018789803.html>


Tags: confluence-server

mysql

update