Upgrade to 18.0.3 fails and stays in maintenance mode

wondering if someone can help identify the problem i have with running the updater from v17.0.1 to 18.0.3

Im using the web updater and for the most part it seems to have worked and then errors out right at the end and leaves the install in Maintenance mode

the web logging shows:

Preparing update

Set log level to debug

Turned on maintenance mode

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

Checking for update of app “accessibility” in appstore

Checked for update of app “accessibility” in appstore

Checking for update of app “activity” in appstore

Checked for update of app “activity” in appstore

Checking for update of app “admin_audit” in appstore

Checked for update of app “admin_audit” in appstore

Checking for update of app “apporder” in appstore

Checked for update of app “apporder” in appstore

Checking for update of app “audioplayer” in appstore

Checked for update of app “audioplayer” in appstore

Checking for update of app “camerarawpreviews” in appstore

Checked for update of app “camerarawpreviews” in appstore

Checking for update of app “cloud_federation_api” in appstore

Checked for update of app “cloud_federation_api” in appstore

Checking for update of app “comments” in appstore

Checked for update of app “comments” in appstore

Checking for update of app “contacts” in appstore

Checked for update of app “contacts” in appstore

Checking for update of app “dav” in appstore

Checked for update of app “dav” in appstore

Checking for update of app “encryption” in appstore

Checked for update of app “encryption” in appstore

Checking for update of app “event_update_notification” in appstore

Checked for update of app “event_update_notification” in appstore

Checking for update of app “extract” in appstore

Update app “extract” from appstore

Checked for update of app “extract” in appstore

Checking for update of app “federatedfilesharing” in appstore

Checked for update of app “federatedfilesharing” in appstore

Checking for update of app “federation” in appstore

Checked for update of app “federation” in appstore

Checking for update of app “files” in appstore

Checked for update of app “files” in appstore

Checking for update of app “files_antivirus” in appstore

Update app “files_antivirus” from appstore

Repair step: Cleanup cron task

Checked for update of app “files_antivirus” in appstore

Checking for update of app “files_external” in appstore

Checked for update of app “files_external” in appstore

Checking for update of app “files_markdown” in appstore

Checked for update of app “files_markdown” in appstore

Checking for update of app “files_pdfviewer” in appstore

Checked for update of app “files_pdfviewer” in appstore

Checking for update of app “files_rightclick” in appstore

Checked for update of app “files_rightclick” in appstore

Checking for update of app “files_sharing” in appstore

Checked for update of app “files_sharing” in appstore

Checking for update of app “files_trashbin” in appstore

Checked for update of app “files_trashbin” in appstore

Checking for update of app “files_versions” in appstore

Checked for update of app “files_versions” in appstore

Checking for update of app “files_videoplayer” in appstore

Checked for update of app “files_videoplayer” in appstore

Checking for update of app “firstrunwizard” in appstore

Checked for update of app “firstrunwizard” in appstore

Checking for update of app “groupquota” in appstore

Checked for update of app “groupquota” in appstore

Checking for update of app “logreader” in appstore

Checked for update of app “logreader” in appstore

Checking for update of app “lookup_server_connector” in appstore

Checked for update of app “lookup_server_connector” in appstore

Checking for update of app “mail” in appstore

Update app “mail” from appstore

Repair step: Purify and migrate collected mail addresses

[0 / 0]: Purify and migrate collected mail addresses

Repair step: Make Mail itinerary extractor executable

Repair step: Migrate Mail provisioning config from config.php to the database

Repair info: No old config found

Repair step: Create or update provisioned Mail accounts

Repair info: No Mail provisioning config set

Checked for update of app “mail” in appstore

Checking for update of app “music” in appstore

Update app “music” from appstore

Repair step: Drop any incompatible music database entries

Repair step: Remove any playlist files mistakenly added to music_tracks table

Repair step: Combine multi-disk albums and store disk numbers per track

Repair info: 0 tracks were updated with a disk number

Repair info: 0 tracks were assinged to new albums when combining multi-disk albums

Repair info: 0 obsolete album entries were removed from the database

Repair info: 0 albums were updated with new hashes

Repair info: 0 albums were rmeoved because merging them failed; these need to be rescanned by the user

Repair info: obsolete disk number field was nullified in 0 albums

Checked for update of app “music” in appstore

Checking for update of app “news” in appstore

Update app “news” from appstore

Repair step: Migrate binary status into separate boolean fields

Checked for update of app “news” in appstore

Checking for update of app “nextcloud_announcements” in appstore

Checked for update of app “nextcloud_announcements” in appstore

Checking for update of app “notes” in appstore

Update app “notes” from appstore

Checked for update of app “notes” in appstore

Checking for update of app “notifications” in appstore

Checked for update of app “notifications” in appstore

Checking for update of app “oauth2” in appstore

Checked for update of app “oauth2” in appstore

Checking for update of app “passman” in appstore

Checked for update of app “passman” in appstore

Checking for update of app “password_policy” in appstore

Checked for update of app “password_policy” in appstore

Checking for update of app “passwords” in appstore

Update app “passwords” from appstore

Repair step: Repair Passwords Database Objects

Repair info: Checking 0 tag revisions

[0 / 0]: Repair Passwords Database Objects

Repair info: Fixed 0 tag revisions

Repair info: Checking 0 folder revisions

[0 / 0]: Repair Passwords Database Objects

Repair info: Fixed 0 folder revisions

Repair info: Checking 0 password revisions

[0 / 0]: Repair Passwords Database Objects

Repair info: Fixed 0 password revisions

Repair info: Checking 0 tag models

[0 / 0]: Repair Passwords Database Objects

Repair info: Fixed 0 tag models

Repair info: Checking 0 folder models

[0 / 0]: Repair Passwords Database Objects

Repair info: Fixed 0 folder models

Repair info: Checking 0 password models

[0 / 0]: Repair Passwords Database Objects

Repair info: Fixed 0 password models

Repair info: Checking 0 password tag relations

[0 / 0]: Repair Passwords Database Objects

Repair info: Fixed 0 password tag relations

Checked for update of app “passwords” in appstore

Checking for update of app “phonetrack” in appstore

Update app “phonetrack” from appstore

Checked for update of app “phonetrack” in appstore

Checking for update of app “privacy” in appstore

Checked for update of app “privacy” in appstore

Checking for update of app “provisioning_api” in appstore

Checked for update of app “provisioning_api” in appstore

Checking for update of app “quicknotes” in appstore

Update app “quicknotes” from appstore

Checked for update of app “quicknotes” in appstore

Checking for update of app “recommendations” in appstore

Checked for update of app “recommendations” in appstore

Checking for update of app “serverinfo” in appstore

Checked for update of app “serverinfo” in appstore

Checking for update of app “settings” in appstore

Checked for update of app “settings” in appstore

Checking for update of app “sharebymail” in appstore

Checked for update of app “sharebymail” in appstore

Checking for update of app “sociallogin” in appstore

Update app “sociallogin” from appstore

Repair step: Separate user configured providers internal name and title. Also removes old unnecessary user config.

Repair step: Set default group in each provider

Checked for update of app “sociallogin” in appstore

Checking for update of app “support” in appstore

Checked for update of app “support” in appstore

Checking for update of app “survey_client” in appstore

Checked for update of app “survey_client” in appstore

Checking for update of app “systemtags” in appstore

Checked for update of app “systemtags” in appstore

Checking for update of app “tasks” in appstore

Update app “tasks” from appstore

Checked for update of app “tasks” in appstore

Checking for update of app “text” in appstore

Checked for update of app “text” in appstore

Checking for update of app “theming” in appstore

Checked for update of app “theming” in appstore

Checking for update of app “theming_customcss” in appstore

Checked for update of app “theming_customcss” in appstore

Checking for update of app “twofactor_backupcodes” in appstore

Checked for update of app “twofactor_backupcodes” in appstore

Checking for update of app “updatenotification” in appstore

Checked for update of app “updatenotification” in appstore

Checking for update of app “video_converter” in appstore

Update app “video_converter” from appstore

Checked for update of app “video_converter” in appstore

Checking for update of app “viewer” in appstore

Checked for update of app “viewer” in appstore

Checking for update of app “workflowengine” in appstore

Checked for update of app “workflowengine” in appstore

Repair step: Repair MySQL collation

Repair info: All tables already have the correct collation -> nothing to do

Repair step: Repair mime types

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-previous-update removed

Repair info: .step file moved to .step-previous-update

Repair step: Fix potential broken mount points

Repair info: No mounts updated

Repair step: Add log rotate job

Repair step: Clear frontend caches

Repair info: Image cache cleared

An error occurred.

im not sure what i need to do to correct this. I have tried turning maintenance mode off and it returns to the start of the updater again.

My environment is Ubuntu 18.04 running php 7.3.16 with NginX

i am in the same problem.

If anyone can help me, I will be very grateful.

Can you run the occ command from command line? You have a lot of apps, perhaps the whole process takes too long. If that does not help, I’d try to disable a few apps, you have a lot of them. In this case, it updates the core first and then you can enable the apps later one by one. In case one apps causes the problem you know which one it was.

1 Like

I have it installed in Xigmanas, how is it done?

From already thank you very much

oddly i left it for a while and have come back to it and set the config file from 640 to 644, set maintenance maode off in the config file and ran the installer again and this time it worked without any issue…

1 Like

Your approach helps on same issue with 20.0.14 update too! Thanks! :slightly_smiling_face: