Closed jezcaudle closed 10 months ago
Duplicate of https://github.com/nextcloud/server/issues/41253
There is nothing in the duplicate that works. The error is the same.
I can't work. Nothing here helps. I'm going to install a fresh copy and migrate the data as best as I can.
I'll also be looking for alternatives because, like I said, I can't work without my calendar, contacts, to-do list and notes.
It's not a bug; it means there are orphan tables that aren't associated with any apps. If you post to the Nextcloud Help Forum - https://help.nextcloud.com someone can probably help you sort it out.
Based on the output you provided the table that probably is bogus is oc_files_trash_new
since that doesn't match anything real I'm aware of. Always do backups before dropping of course.
⚠️ This issue respects the following points: ⚠️
Bug description
Attempting to use the web updater to upgrade to 28.0.1 from 27.x
I get the following error:
Update to 28.0.1
Exception: Database error when running migration 28000Date20231004103301 for app core Index name "user_index" for table "oc_files_trash" collides with the constraint on table "oc_files_trash_new".
Steps to reproduce
Expected behavior
An updated version of Nextcloud.
Installation method
Community Web installer on a VPS or web space
Nextcloud Server version
27
Operating system
Debian/Ubuntu
PHP engine version
PHP 8.3
Web server
Nginx
Database engine version
MariaDB
Is this bug present after an update or on a fresh install?
Upgraded to a MAJOR version (ex. 22 to 23)
Are you using the Nextcloud Server Encryption module?
None
What user-backends are you using?
Configuration report
List of activated Apps
Nextcloud Signing status
Nextcloud Logs
Additional info
I can't find the migrations - I've looked but can't find them anywhere. I can't find any mentions of them online either. If I could find them, then I could have had a look to see what was going on.
Please add the location of migrations to your documentation.