Nextcloud. Upgrade
Обновление Nextcloud. Debian
cd /var/www/nextcloud
sudo -u www-data php updater/updater.pharNextcloud Updater - version: v29.0.0-23-g6a5f9ec
Current version is 30.0.2.
Update to Nextcloud 30.0.17 available. (channel: "stable")
Following file will be downloaded automatically: https://download.nextcloud.com/server/releases/nextcloud-30.0.17.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
Start 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: Copy data from accounts table when migrating from ownCloud
Repair step: Drop account terms table when migrating from ownCloud
Updating database schema
Updated database
Updating <theming> ...
Repair step: Initialize migration of background images from dashboard to theming app
Updated <theming> to 2.6.0
Updating <app_api> ...
Repair step: AppAPI Daemons configuration GPU params update
Repair info: Daemons configuration GPU params updated: 0
Updated <app_api> to 4.0.6
Update app calendar from App Store
Update app contacts from App Store
Update app files_3dmodelviewer from App Store
Update app mail from App Store
Repair step: Restore default tags that are missing
Repair info: Looking up default tags
Repair info: 0 accounts to check found
Restore default tags that are missing
Starting ...
0/0 [>---------------------------] 0%
Repair step: Add a generated message-id to all Mail messages that have none
Repair info: Looking up messages without a message-id
Repair step: Purify and migrate collected mail addresses
Purify and migrate collected mail addresses
Starting ...
0/0 [->--------------------------] 0%
Repair step: Insert background jobs for all accounts
Insert background jobs for all accounts
Starting ...
0/0 [--->------------------------] 0%
Repair step: Make Mail itinerary extractor executable
Repair step: Create or update provisioned Mail accounts
Repair info: 0 accounts provisioned
Repair step: Repair Broken Threads for all mail accounts
Repair info: Repaired threads, 0 messages updated
Repair step: Queue a job to delete duplicated cached messages
Update app notes from App Store
Repair step: Clean up meta table
Repair step: Show a hint about the new editor to existing users
Update app richdocuments from App Store
Update app richdocumentscode from App Store
Update app spreed from App Store
Repair step: Fix the namespace in database tables
Repair step: Invalidate access cache for projects conversation provider
Repair step: Cache the user display names
Repair step: Fix the namespace in database tables
Update app tables from App Store
Repair step: Fix navigation bar default of existing contexts to show for all
Repair info: Not applicable, skipping.
Repair step: Copy the data into the new db structure
Repair info: Look for tables
Repair info: Found 4 table(s)
Repair info: -- Start transfer for table 1 (Инструкция) [1/4]
Repair info: ---- Found 4 columns
Repair info: ---- Found 0 rows
Copy the data into the new db structure
Starting ...
0/0 [----->----------------------] 0%
Repair info: -- Start transfer for table 2 (Tutorial) [2/4]
Repair info: ---- Found 4 columns
Repair info: ---- Found 0 rows
Copy the data into the new db structure
Starting ...
0/0 [------->--------------------] 0%
Repair info: -- Start transfer for table 3 (ToDo list) [3/4]
Repair info: ---- Found 6 columns
Repair info: ---- Found 0 rows
Copy the data into the new db structure
Starting ...
0/0 [--------->------------------] 0%
Repair info: -- Start transfer for table 4 (ToDo list) [4/4]
Repair info: ---- Found 6 columns
Repair info: ---- Found 0 rows
Copy the data into the new db structure
Starting ...
0/0 [----------->----------------] 0%
Repair step: Fixing the sequence of the row-sleeves table
Repair step: Repair MySQL collation
Repair info: All tables already have the correct collation -> nothing to do
Repair step: Clean tags and favorites
Repair info: 0 tags of deleted users have been removed.
Repair info: 0 tags for delete files have been removed.
Repair info: 0 tag entries for deleted tags have been removed.
Repair info: 0 tags with no entries have been removed.
Repair step: Repair invalid shares
Repair step: Move .step file of updater to backup location
Repair info: .step file exists
Repair info: .step file moved to .step-previous-update
Repair step: Add move avatar background job
Repair info: Add background job
Repair step: Add preview cleanup background jobs
Repair step: Migrate oauth2_clients table to nextcloud schema
Repair info: Update the oauth2_access_tokens table schema.
Repair info: Update the oauth2_clients table schema.
Repair info: Delete clients (and their related access tokens) with the redirect_uri starting with oc:// or ending with *
Repair step: Repair language codes
Repair step: Add log rotate job
Repair step: Clear frontend caches
Repair info: Image cache cleared
Repair info: JS cache cleared
Repair step: Clear every generated avatar
Repair step: Add preview background cleanup job
Repair step: Queue a one-time job to cleanup old backups of the updater
Repair step: Cleanup invalid photocache files for carddav
Repair step: Add background job to cleanup login flow v2 tokens
Repair step: Remove potentially over exposing share links
Repair info: No need to remove link shares.
Repair step: Clear access cache of projects
Repair step: Reset generated avatar flag
Repair step: Keep legacy encryption enabled
Repair step: Check encryption key format
Repair step: Remove old dashboard app config data
Repair step: Add job to cleanup the bruteforce entries
Repair step: Queue a one-time job to check for user uploaded certificates
Repair step: Repair DAV shares
Repair step: Add background job to set the lookup server share state for users
Repair step: Add token cleanup job
Repair step: Clean up abandoned apps
Repair step: Add possibly missing system config
Repair step: Add AI tasks cleanup jobs
Repair step: Queue a job to generate metadata
Repair step: migrate lazy config values
Repair step: Cache logo dimension to fix size in emails on Outlook
Repair info: Theming is not used to provide a logo
Repair step: Remove legacy ".ocdata" file
Repair step: Add cleanup-deleted-users background job
Repair step: Validate account properties and store phone numbers in a known format for search
Repair info: Queued background to validate account properties.
Starting code integrity check...
Finished code integrity check
Update successful
Maintenance mode is kept active
Resetting log level
Keep maintenance mode active? [y/N] N
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
Maintenance mode disabled
Maintenance mode is disabled