Closed arnaudpn closed 10 months ago
I can confirm this. I get some similiar error
Setting log level to debug
Turned on maintenance mode
Updating database schema
Exception: Database error when running migration 28000Date20230906104802 for app core
Foreign key name "FK_3710B4A43C947C0F" for table "oc_polls_log" collides with the constraint on table "oc_polls_log".
Update failed
Maintenance mode is kept active
Resetting log level
Duplicate of #41253
Thanks for having linked my issue to #41253 @joshtrichards and sorry for the duplicate ...
I understand that my oc_oc_filecache_mchr* table is an old useless table (a leftover table from owncloud which got migrated long ago to nextcloud).
It's now solved:
Hi all, I have a similar problem. I’m runing into trouble when trying to update to nextcloud server 29.0.1
I have the following message : InvalidArgumentException: Index name “fs_storage_size” for table “oc_oc_filecache_9txz61m88l70o” collides with the constraint on table “oc_filecache”.
The question is : can I drop oc_oc_filecache_9txz61m88l70o safely ? But it seems "oc_oc_filecache_9txz61m88l70o" table does not exist !
edit : I don't why, I don't know how but I've got it worked ...
⚠️ This issue respects the following points: ⚠️
Bug description
After upgrading from 27.1.4 to 28.0.0, then I'm encountering a database upgrade error when running the upgrade script:
Nextcloud flavor used is the one provided by an up2date Freshports on a FreeBSD 13.2-RELEASE-p4.
Steps to reproduce
Expected behavior
The expected behavior is that the DB schema should be upgraded w/o error.
Installation method
Other Community project
Nextcloud Server version
28
Operating system
Other
PHP engine version
PHP 8.1
Web server
Apache (supported)
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
No response
Nextcloud Logs
No response
Additional info
No response