Nextcloud version: 29.0.4
Operating system and version: Arch Linux (Docker)
Apache or nginx version: Apache/2.4.61
PHP version: 8.2.22
The issue you are facing:
Is this the first time you’ve seen this error?: Y
Steps to replicate it:
Pull Nextcloud 29 Docker container after running a Docker 28 image.
Wait for update to go through.
See that server did not get out of maintenance mode.
Run php occ upgrade.
See the following:
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 "admindel_groupid_idx" for table "oc_authorized_groups_old" collides with the constraint on table "oc_authorized_groups".**
Update failed
Maintenance mode is kept active
Resetting log level
I won’t supply logs or config here as I’m pretty sure none of that is relevant to a MySQL error and that’s going to be a real hassle. If needed I will provide them.