I started the Nextcloud update from version 18.0.4 to 18.0.14 in the admin section of the UI.
After some minutes it said that the update was successful and that I’m going to be redirected to my Nextcloud. But then I ended up again in the “Start update” screen:
To be on the safe side I ran it again. As I don’t have sudo rights on my webspace I ran in my nextcloud folder: php occ maintenance:repair
Here is the output:
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
Fix potential broken mount points
No mounts updated
Add log rotate job
Clear frontend caches
Image cache cleared
SCSS cache cleared
JS cache cleared
Clear every generated avatar on major updates
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
Switches from deprecated “production” to “stable” update channel
Sets the enterprise logo
Repair step already executed
Reset generated avatar flag
Update name of the stored view
Fix component of birthday calendars
4 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
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
Fix the share type of guest shares when migrating from ownCloud
Copy the share password into the dedicated column
Set existing shares as accepted
Update OAuth token expiration times
Repair Passwords Database Objects
Checking 0 tag revisions
0 [>---------------------------]
Executed command again and console output ends with:
Checking for update of app workflowengine in appstore
Checked for update of app “workflowengine” in appstore
Update successful
Turned off maintenance mode
Reset log level
This command executed really fast, took approximately 1 - 2 seconds. I guess this is due to there’s no update file anymore in data/updater-xyz/downloads.
Then go to the login page. If it still says something about updates, run the terminal command again (not via web-interface).
If that doesn’t change, run it again but add this time a bit more logging to get an idea what might go wrong (normally it should show up, perhaps good to check the logs as well):
php occ -vvv upgrade