Oh Boy
Why is Nextcloud so sensitive?root@117b61ea1e9a:/bin# occ 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 Turned on maintenance mode Updating database schema Updated database Disabled incompatible app: accessibility Disabled incompatible app: announcementcenter Disabled incompatible app: apporder Disabled incompatible app: calendar Disabled incompatible app: cookbook Disabled incompatible app: deck Disabled incompatible app: external Disabled incompatible app: files_accesscontrol Disabled incompatible app: files_automatedtagging Disabled incompatible app: files_fulltextsearch Disabled incompatible app: files_fulltextsearch_tesseract Disabled incompatible app: files_readmemd Disabled incompatible app: files_videoplayer Disabled incompatible app: forms Disabled incompatible app: fulltextsearch Disabled incompatible app: fulltextsearch_elasticsearch Disabled incompatible app: memories Disabled incompatible app: sharingpath Disabled incompatible app: side_menu Disabled incompatible app: w2g2 Updating <federation> ... Updated <federation> to 1.15.0 Updating <lookup_server_connector> ... Updated <lookup_server_connector> to 1.13.0 Updating <oauth2> ... Updated <oauth2> to 1.13.0 Updating <password_policy> ... Updated <password_policy> to 1.15.0 Updating <files> ... Updated <files> to 1.20.1 Updating <activity> ... Updated <activity> to 2.17.0 Updating <circles> ... Updated <circles> to 25.0.0 Updating <cloud_federation_api> ... Updated <cloud_federation_api> to 1.8.0 Updating <dav> ... Fix broken values of calendar objects Done 0/0 [->--------------------------] 0% Clean up old calendar subscriptions from deleted users that were not cleaned-up Done 0/0 [----->----------------------] 0% Updated <dav> to 1.24.0 Updating <files_sharing> ... Updated <files_sharing> to 1.17.0 Updating <files_trashbin> ... Updated <files_trashbin> to 1.15.0 Updating <files_versions> ... Updated <files_versions> to 1.18.0 Updating <sharebymail> ... Updated <sharebymail> to 1.15.0 Updating <workflowengine> ... Updated <workflowengine> to 2.7.0 Updating <comments> ... Updated <comments> to 1.15.0 Updating <firstrunwizard> ... Updated <firstrunwizard> to 2.14.0 Updating <nextcloud_announcements> ... Updated <nextcloud_announcements> to 1.14.0 Updating <notifications> ... Updated <notifications> to 2.13.1 Updating <systemtags> ... Updated <systemtags> to 1.15.0 Updating <theming> ... Migrate and clean up admin theming images Done 3/3 [============================] 100% Migrate old user accessibility config Done 4/4 [============================] 100% Updated <theming> to 2.0.1 Updating <bruteforcesettings> ... Updated <bruteforcesettings> to 2.5.0 Updating <contactsinteraction> ... Updated <contactsinteraction> to 1.6.0 Updating <dashboard> ... Updated <dashboard> to 7.5.0 Updating <federatedfilesharing> ... Updated <federatedfilesharing> to 1.15.0 Updating <files_pdfviewer> ... Updated <files_pdfviewer> to 2.6.0 Updating <files_rightclick> ... Updated <files_rightclick> to 1.4.0 Updating <logreader> ... Updated <logreader> to 2.10.0 Updating <photos> ... Updated <photos> to 2.0.1 Updating <privacy> ... Updated <privacy> to 1.9.0 Updating <provisioning_api> ... Updated <provisioning_api> to 1.15.0 Updating <recommendations> ... Updated <recommendations> to 1.4.0 Updating <serverinfo> ... Updated <serverinfo> to 1.15.0 Updating <settings> ... Updated <settings> to 1.7.0 Updating <support> ... Updated <support> to 1.8.0 Updating <survey_client> ... Updated <survey_client> to 1.13.0 Updating <text> ... Updated <text> to 3.6.0 Updating <twofactor_backupcodes> ... Updated <twofactor_backupcodes> to 1.14.0 Updating <twofactor_totp> ... Updated <twofactor_totp> to 7.0.0 Updating <updatenotification> ... Updated <updatenotification> to 1.15.0 Updating <user_status> ... Updated <user_status> to 1.5.0 Updating <viewer> ... Updated <viewer> to 1.9.0 Updating <weather_status> ... Updated <weather_status> to 1.5.0 Update app bookmarks from App Store Update app camerarawpreviews from App Store Update app checksum from App Store Update app contacts from App Store Update app cospend from App Store Update app integration_github from App Store Update app integration_jira from App Store Update app notes from App Store Update app qownnotesapi from App Store Update app tasks from App Store Update app timemanager from App Store Update app user_external from App Store Update app announcementcenter from App Store Add read permissions for existing announcements Done 0/0 [------------------------>---] 0% Add read permissions for existing announcements Done 0/0 [>---------------------------] 0% Update app calendar from App Store Update app cookbook from App Store Update app deck from App Store Update app external from App Store Update app files_accesscontrol from App Store Update app files_automatedtagging from App Store Update app files_fulltextsearch from App Store Update app files_fulltextsearch_tesseract from App Store Update app files_readmemd from App Store Update app forms from App Store Update app fulltextsearch from App Store Update app fulltextsearch_elasticsearch from App Store Update app memories from App Store Update app side_menu from App Store Starting code integrity check... Finished code integrity check Update successful Turned off maintenance mode Resetting log level
root@d1c4a7cd0a02:/# updater.phar Nextcloud Updater - version: v26.0.0beta2-9-g64e2e4c dirty Current version is <strong>26.0.2.</strong> Update to Nextcloud 25.0.13 available. (channel: "stable") Following file will be downloaded automatically: https://download.nextcloud.com/server/releases/nextcloud-25.0.13.zip Open changelog ↗ Steps that will be executed: [✔] Check for expected files [✔] Check for write permissions [✔] Create backup [✔] Downloading [✔] Verify integrity [✔] Extracting [✔] Enable maintenance mode [✔] Replace entry points [✔] Delete old files [✔] Move new files in place [✔] Done Continue update? [y/N] y Info: Pressing Ctrl-C will finish the currently running step and then stops the updater. [✔] Check for expected files [✔] Check for write permissions [✔] Create backup [✔] Downloading [✔] Verify integrity [✔] Extracting [✔] Enable maintenance mode [✔] Replace entry points [✔] Delete old files [✔] Move new files in place [✔] Done Update of code successful. Should the "occ upgrade" command be executed? [Y/n] Y 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 Repair step: Repair MySQL collation Repair info: All tables already have the correct collation -> nothing to do Repair step: Repair SQLite autoincrement Repair step: Copy data from accounts table when migrating from ownCloud Repair step: Drop account terms table when migrating from ownCloud Updating database schema Updated database Disabled incompatible app: deck Disabled incompatible app: external Disabled incompatible app: files_accesscontrol Disabled incompatible app: files_automatedtagging Disabled incompatible app: files_fulltextsearch Disabled incompatible app: files_fulltextsearch_tesseract Disabled incompatible app: fulltextsearch Disabled incompatible app: fulltextsearch_elasticsearch Disabled incompatible app: ransomware_protection Updating <federation> ... Updated <federation> to 1.16.0 Updating <lookup_server_connector> ... Updated <lookup_server_connector> to 1.14.0 Updating <oauth2> ... Exception: Database error when running migration 011601Date20230522143227 for app oauth2 Migration step 'OCA\OAuth2\Migration\Version011601Date20230522143227' is unknown Update failed Maintenance mode is kept active Resetting log level Keep maintenance mode active? [y/N]
What a pain in the….
root@d1c4a7cd0a02:/# occ integrity 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 Command "integrity" is not defined. Did you mean one of these? integrity:check-app integrity:check-core integrity:sign-app integrity:sign-core root@d1c4a7cd0a02:/# occ integrity:check-app 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 Not enough arguments (missing: "appid"). integrity:check-app [--output [OUTPUT]] [--path [PATH]] [--] <appid> root@d1c4a7cd0a02:/# occ integrity:check-core 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 root@d1c4a7cd0a02:/# occ maintenance 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 Command "maintenance" is not defined. Did you mean one of these? maintenance:data-fingerprint maintenance:mimetype:update-db maintenance:mimetype:update-js maintenance:mode maintenance:repair maintenance:repair-share-owner maintenance:theme:update maintenance:update:htaccess root@d1c4a7cd0a02:/# occ maintenance:repair 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 - Repair mime types - Clean tags and favorites - 0 tags of deleted users have been removed. - 0 tags for delete files have been removed. - 0 tag entries for deleted tags have been removed. - 0 tags with no entries have been removed. - Repair invalid shares - Move .step file of updater to backup location - .step file exists - .step-previous-update removed - .step file moved to .step-previous-update - Add move avatar background job - Repair step already executed - Add preview cleanup background jobs - Migrate oauth2_clients table to nextcloud schema - Update the oauth2_access_tokens table schema. - Update the oauth2_clients table schema. - Fix potential broken mount points - No mounts updated - Repair language codes - Add log rotate job - Clear frontend caches - Image cache cleared - JS cache cleared - Clear every generated avatar - Avatar cache clearing job added - Add preview background cleanup job - Queue a one-time job to cleanup old backups of the updater - Cleanup invalid photocache files for carddav - Add background job to cleanup login flow v2 tokens - Remove potentially over exposing share links - No need to remove link shares. - Clear access cache of projects - Reset generated avatar flag - Keep legacy encryption enabled - Check encryption key format - Remove old dashboard app config data - Add job to cleanup the bruteforce entries - Queue a one-time job to check for user uploaded certificates - Repair DAV shares - Add background job to set the lookup server share state for users - Add token cleanup job - Clean up abandoned apps - Add possibly missing system config - Add read permissions for existing announcements 0 [->--------------------------] - Deduplicate shared bookmark folders - Removed 0 duplicate shares - Remove superfluous shared bookmark folders - Removed 0 superfluous shares - Remove orphaned bookmark shares - Removed 0 orphaned shares - Removed 0 orphaned public links - Remove orphaned bookmark tree items - Removed 0 orphaned bookmarks entries - Removed 0 orphaned folders entries - Reinserted 0 orphaned children entries - Removed 0 orphaned bookmark folders - Reinserted 0 orphaned bookmarks - Update bookmark group shares - Removed 0 users and added 0 users to 0 groups - Removed 0 shares - Upgrading Circles App - Fix component of birthday calendars - 5 birthday calendars updated. - Regenerating birthday calendars to use new icons and fix old birthday events without year - Repair step already executed - Fix broken values of calendar objects 0 [----->----------------------] - Registering building of calendar search index as background job - Repair step already executed - Register building of social profile search index as background job - Registering background jobs to update cache for webcal calendars - Added 0 background jobs to update webcal calendars - Registering building of calendar reminder index as background job - Repair step already executed - Clean up orphan event and contact data - 0 events without a calendar have been cleaned up - 0 properties without an events have been cleaned up - 0 changes without a calendar have been cleaned up - 0 cached events without a calendar subscription have been cleaned up - 0 changes without a calendar subscription have been cleaned up - 0 contacts without an addressbook have been cleaned up - 0 properties without a contact have been cleaned up - 0 changes without an addressbook have been cleaned up - Remove activity entries of private events - Removed 0 activity entries - Clean up old calendar subscriptions from deleted users that were not cleaned-up 0 [--------->------------------] - 0 calendar subscriptions without an user have been cleaned up - Remove invalid object properties - 0 invalid object properties removed. - Fix the share type of guest shares when migrating from ownCloud - Copy the share password into the dedicated column - Set existing shares as accepted - Repair steps for Memories - External table schema seem up to date - exiftool binary is configured: /config/www/nextcloud/apps/memories/exiftool-bin/exiftool-amd64-musl - go-vod binary is configured: /config/www/nextcloud/apps/memories/exiftool-bin/go-vod-amd64 - ffmpeg binary is configured: /usr/bin/ffmpeg - Clean up meta table - Show a hint about the new editor to existing users - Update OAuth token expiration times - Switches from default updater server to the customer one if a valid subscription is available - Repair step already executed - Send an admin notification if monthly report is disabled - Force-reset all Text sessions before Yjs migration - Initialize migration of background images from dashboard to theming app - Add background job to check for backup codes - Populating added database structures for workflows
