I tried update as i did many times before, but this time it failed and i have no idea what exactly error message means.
sudo -u apache php ./occ status
Nextcloud or one of the apps require upgrade - only a limited number of commands are available
You may use your browser or the occ upgrade command to do the upgrade
- installed: true
- version: 29.0.10.1
- versionstring: 29.0.10
- edition:
- maintenance: true
- needsDbUpgrade: true
- productname: Nextcloud
- extendedSupport: false
sudo -u apache php ./occ upgrade
Nextcloud or one of the apps require upgrade - only a limited number of commands are available
You may use your browser or the occ upgrade command to do the upgrade
Setting log level to debug
Updating database schema
Updated database
**InvalidArgumentException: Index name "appconfig_appid_key" for table "oc_oc_appconfig_61024400eba05" collides with the constraint on table "oc_oc_appconfig_1e0d872bf74de".**
Update failed
Maintenance mode is kept active
Resetting log level
In my database i found two tables named oc_oc_appconfig_61024400eba05 and oc_oc_appconfig_1e0d872bf74de but i don’t know what constraint is colliding and how i should continue.
Can you hint me please? Should i delete one of the tables? Or i will make problem worse? (i did backup MySQL database, once automatically at 3 AM, and second time immediatelly after upgrade failed, so i have possibility to return somewhere.
I still want understand what happened.