description
a jail update on truenas
iocage upgrade JAILNAME -r 12.2-RELEASE-p10
lead to an incomplete nextcloud update from NC21 to NC22
The jail update process listed at the end "nextcloud successfully upgraded!"
The only thing that was shown after accessing the nextcloud page was:
The files of the app Accessibility (accessibility),
Auditing / Logging (admin_audit),
Cloud Federation API (cloud_federation_api),
Comments (comments), Dashboard (dashboard),
Federated file sharing (federatedfilesharing),
Files (files),
Lookup Server Connector (lookup_server_connector),
OAuth 2.0 (oauth2), Provisioning API (provisioning_api),
Nextcloud settings (settings),
Theming (theming), Update notification (updatenotification),
User status (user_status) were not replaced correctly.
Make sure it is a version compatible with the server.
I did try to repair the instance with occ maintenance:repair
root@JAILNAME:/usr/local/www/nextcloud # su -m www -c "php ./occ maintenance:repair"
PHP Warning: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /usr/local/lib/php/20190902/imagick.so (Shared object "libhei f.so.1" not found, required by "libMagickWand-7.so.9"), /usr/local/lib/php/20190902/imagick.so.so (Cannot open "/usr/local/lib/php/20190902/ imagick.so.so")) in Unknown on line 0
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
- Repair MySQL collation
- All tables already have the correct collation -> nothing to do
Setting log level to debug
Turned on maintenance mode
Updating database schema
Updated database
UnexpectedValueException: The files of the app "files" were not correctly replaced before running the update
Update failed
Maintenance mode is kept active
Resetting log level
After this I did an manual update to NC22
The update was successful but now there are some share names like "91369027c4b27c" that can't be deleted.
Server Configuration
operating system
FreeBSD 12.2-RELEASE-p9
TRUENAS amd64
16.00 GB ram
description a jail update on truenas iocage upgrade JAILNAME -r 12.2-RELEASE-p10 lead to an incomplete nextcloud update from NC21 to NC22 The jail update process listed at the end "nextcloud successfully upgraded!"
The only thing that was shown after accessing the nextcloud page was:
The files of the app Accessibility (accessibility), Auditing / Logging (admin_audit), Cloud Federation API (cloud_federation_api), Comments (comments), Dashboard (dashboard), Federated file sharing (federatedfilesharing), Files (files), Lookup Server Connector (lookup_server_connector), OAuth 2.0 (oauth2), Provisioning API (provisioning_api), Nextcloud settings (settings), Theming (theming), Update notification (updatenotification), User status (user_status) were not replaced correctly. Make sure it is a version compatible with the server.
I did try to repair the instance with occ maintenance:repair
After this I did an manual update to NC22
The update was successful but now there are some share names like "91369027c4b27c" that can't be deleted.
Server Configuration
operating system FreeBSD 12.2-RELEASE-p9 TRUENAS amd64 16.00 GB ram
nextcloud 22.2.0
php version PHP Version => 7.4.23
database mysql 8.0.26