Now, for the third time, my ncp docker container got ripped by updating it. Therefore, I can only warn anyone from using it. Luckily, I created a full backup before trying to update. Now, I will try to use the non docker version of ncp. Hopefully, such misbehavior never happens again.
Hereās the update log:
[ nc-update-nextcloud ] (Sat Mar 12 23:02:44 UTC 2022)
Nextcloud is in maintenance mode - no apps have been loaded
Current Nextcloud version 22.2.3.0
Available Nextcloud version 22.2.5
Download Nextcloud 22.2.5...
Back up current instance...
Nextcloud is in maintenance mode - no apps have been loaded
check free space...
Maintenance mode already enabled
backup database...
backup files...
backup /var/www//nextcloud-bkp_20220312_1647126175.tar.gz generated
Maintenance mode already enabled
Install Nextcloud 22.2.5...
Restore data...
Fix permissions...
Upgrade...
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
Updating database schema
Updated database
Disabled incompatible app: calendar
Disabled incompatible app: camerarawpreviews
Disabled incompatible app: checksum
Disabled incompatible app: contacts
Disabled incompatible app: files_downloadactivity
Disabled incompatible app: files_trackdownloads
Disabled incompatible app: notes
Disabled incompatible app: notify_push
Disabled incompatible app: tasks
Disabled incompatible app: twofactor_totp
Updating <circles> ...
Updated <circles> to 22.2.0
Updating <dav> ...
Fix broken values of calendar objects
Starting ...
0/0 [>---------------------------] 0%
Clean up old calendar subscriptions from deleted users that were not cleaned-up
Starting ...
0/0 [->--------------------------] 0%
Updated <dav> to 1.20.0
Starting code integrity check...
Finished code integrity check
Update successful
Maintenance mode is kept active
Resetting log level
Nextcloud is in maintenance mode - no apps have been loaded
Nextcloud is in maintenance mode - no apps have been loaded
Check indices of the share table.
Check indices of the filecache table.
Adding additional path index to the filecache table, this can take some time...
Filecache table updated successfully.
Adding additional size index to the filecache table, this can take some time...
Filecache table updated successfully.
Check indices of the twofactor_providers table.
Check indices of the login_flow_v2 table.
Check indices of the whats_new table.
Check indices of the cards table.
Check indices of the cards_properties table.
Check indices of the calendarobjects_props table.
Check indices of the schedulingobjects table.
Check indices of the oc_properties table.
Adding properties_pathonly_index index to the oc_properties table, this can take some time...
oc_properties table updated successfully.
Check indices of the oc_jobs table.
Adding job_lastcheck_reserved index to the oc_jobs table, this can take some time...
oc_properties table updated successfully.
Nextcloud is in maintenance mode - no apps have been loaded
Nextcloud is in maintenance mode - no apps have been loaded
Check columns of the comments table.
Check columns of the comments table.
Done.
Nextcloud is in maintenance mode - no apps have been loaded
Nextcloud is in maintenance mode - no apps have been loaded
Check primary keys.
Done.
Nextcloud is in maintenance mode - no apps have been loaded
Nextcloud is in maintenance mode - no apps have been loaded
All tables already up to date!
Nextcloud is in maintenance mode - no apps have been loaded
Nextcloud is in maintenance mode - no apps have been loaded
Backup stored at /data/nextcloud/data/ncp-update-backups/nextcloud-bkp_20220312_1647126175-22.2.3.0.tar.gz
Clean up...
rm: cannot remove '/data/nextcloud-old/apps/notify_push/bin/armv7': Directory not empty
Abort
Clean up...
rm: cannot remove '/data/nextcloud-old/apps/notify_push/bin/armv7/.nfs00000000000da57e00000011': Device or resource busy
Rolling back to backup /data/nextcloud/data/ncp-update-backups/nextcloud-bkp_20220312_1647126175-22.2.3.0.tar.gz...
mv: error writing '/var/www/ncp-data.IVtySx/user/files/Documents/c/d/X2/OMZ3QLAQXK3AEWVB2IK2XNA3ATHXBL/lL5fm-TtEKJGEuYWD7928QwvncLi1i_6_UXV1XD-pK_HysKZ8RJV.c9r': No space left on device
{more of those errors - I'll ommit them}
{Was to stupid to copy the last few lines}
What happened? Well, ncp was, for no reason, unable to complete the update by deleting some whatever kind of folders. This was interpreted as a failed update. Therefore, it tried to restore the latest backup, shoving all data from my ncdata folder (which lies on a NAS NFS share) into the docker folder on the RPiās sd-card. The sd-card ran full and I was left with a ripped up ncp install.
Thanks again for hours of disaster management, Iām confronted with >:-(