-
Notifications
You must be signed in to change notification settings - Fork 199
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Cannot upgrade to Music 1.3.2 from 1.3.1 in Nextcloud #892
Comments
I was forced to disable the app via comandline, I then tried to enable the app and got An exception occurred while executing a query: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'joshuapettus-0' for key 'music_bookmarks_user_track' Seems the update borked something in the sql database. |
The commit ff96ad2 caused a new problem when updating on Nextcloud from Music v1.3.1 to v1.3.2. It probably depended on the DBMS used and/or the contents of the previous database, if this prevented the update altogether. But even if it succeeded, the DB schema for the table oc_music_bookmarks got messed up (the table ended up containing one obsolete column and one obsolete unique index which were not supposed to be there after v1.3.0). In this commit, the functionality of two previous migration scripts is combined to a single script file. This makes the overall logic easier to follow and should be less prone for surprises. refs owncloud#892
Thanks for the report. I just released a quick fix v1.3.3. I hope I got the migration logic right this time. |
I just updated to v1.3.3 from v1.3.1 on Nextcloud 22.1.1 and it worked fine without errors. |
Thank you! 1.3.3 worked! @poltrian, to get your nextcloud back you first have to disable music via the commandline navigate to your nextcloud folder then then take it out of maintenance mode. I know there is a command for it but all I can ever remember is to edit the config.php. Then you are good to update the app and enable it again. |
sudo -u www-data php occ maintenance:mode --off |
Hi,
When I tried to do the update I got
I'm using Nextcloud 22 with PHP 8.0.10
As of yet I haven't found anything in the log as to why...
The text was updated successfully, but these errors were encountered: