-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Closed
Labels
0. Needs triagePending check for reproducibility or if it fits our roadmapPending check for reproducibility or if it fits our roadmap33-feedbackbugfeature: previews and thumbnailsneeds info
Description
⚠️ This issue respects the following points: ⚠️
- This is a bug, not a question or a configuration/webserver/proxy issue.
- This issue is not already reported on Github OR Nextcloud Community Forum (I've searched it).
- Nextcloud Server is up to date. See Maintenance and Release Schedule for supported versions.
- I agree to follow Nextcloud's Code of Conduct.
Bug description
On our stageing instance, I made a proof of concept with Nextcloud Office App (richdocuments). Later I disabled and deleted this app.
Updateing the instance from 32.0.2 to 33.0.0 threw the error
Exception: Database error when running migration 33000Date20251023120529 for app core
An index with name "unique_bucket_store" was already defined on table "oc_preview_locations".
Update failed
while updating the database schema. Table oc_preview_locations has been created from Nextcloud Office. The error occurs with nextcloud office enabled, disabled and even after it is deleted.
Steps to reproduce
- Install nextcloud office on NC 32.0.2
- disable and delete the app
- migrate to NC 33.0.0
Expected behavior
Updateing the instance should just work. Either after deleting Nextclod Office App the app's tables should be deleted or the core should not try to update tables that belong to an app.
Nextcloud Server version
32
Operating system
Other
PHP engine version
PHP 8.2
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. 31 to 32)
Are you using the Nextcloud Server Encryption module?
None
What user-backends are you using?
- Default user-backend (database)
- LDAP/ Active Directory
- SSO - SAML
- Other
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
0. Needs triagePending check for reproducibility or if it fits our roadmapPending check for reproducibility or if it fits our roadmap33-feedbackbugfeature: previews and thumbnailsneeds info