Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 920661 - www-apps/nextcloud-28.0.0 : failed upgrade, please mask
Summary: www-apps/nextcloud-28.0.0 : failed upgrade, please mask
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal major
Assignee: Bernard Cafarelli
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-24 13:18 UTC by Ed Santiago
Modified: 2024-01-09 12:07 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ed Santiago 2023-12-24 13:18:13 UTC
Known issue: https://github.com/nextcloud/server/issues/41253

Recommend masking 28.0.0

# sudo -u apache php /var/www/nextcloud/htdocs/nextcloud/occ upgrade
The process control (PCNTL) extensions are required in case you want to interrupt long running commands - see https://www.php.net/manual/en/book.pcntl.php
Additionally the function 'pcntl_signal' and 'pcntl_signal_dispatch' need to be enabled in your php.ini.
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
Turned on maintenance mode
Updating database schema
Exception: Database error when running migration 28000Date20230906104802 for app core
Index name "share_id_index" for table "oc_onlyoffice_permissions" collides with the constraint on table "oc_federated_reshares".
Update failed
Maintenance mode is kept active
Resetting log level

Reproducible: Always
Comment 1 Federico Justus Denkena 2023-12-26 15:04:02 UTC
Cannot confirm, upgrade to 28.0.0 went smoothly on two different servers. If the error depends on some non-default apps installed I don't think a mask would be appropriate.
Comment 2 Bernard Cafarelli gentoo-dev 2023-12-28 01:06:29 UTC
Same here, occ upgrade went fine, and one is an old install that has been around since the first nextcloud versions.

I mentioned old installs, as several times in the upstream bug are mentioned old tables, or previous prefix changes, etc

Let's see if the issue is widespread before masking, apparently upstream went ahead releasing 28 with this (also 28.0.1 does not seem to have relevant fixes)
Comment 3 Miroslav Šulc gentoo-dev 2023-12-28 08:45:08 UTC
i had no issue with upgrade to 28.0.1 and both instances that i run work fine as far as i can tell.
Comment 4 Bernard Cafarelli gentoo-dev 2024-01-09 12:07:05 UTC
Let's follow upstream on that, this can happen in some cases as described in:
https://github.com/nextcloud/server/issues/41253#issuecomment-1880111117

There may be some additional work to check for these, but ultimately they need to be fixed on deployed nextcloud itself