Update nach 20.0.9 Fehler und Wartungseite

Support intro

Sorry to hear you’re facing problems :slightly_frowning_face:

help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.

In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:

example

Or for longer, use three backticks above and below the code snippet:

longer
example
here

Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can :heart:

Nextcloud version (eg, 20.0.5): 20.0.9
Operating system and version (eg, Ubuntu 20.04): Hosted
Apache or nginx version (eg, Apache 2.4.25): replace me
PHP version (eg, 7.4): 7.3

The issue you are facing:

Is this the first time you’ve seen this error? (Y/N): Y

Steps to replicate it:

  1. Start the Updater to install 20.0.9

The output of your Nextcloud log in Admin > Logging:

2021-05-11T10:58:35+0200 kandh8ukjW [info] request to updater
2021-05-11T10:58:35+0200 kandh8ukjW [info] currentStep()
2021-05-11T10:58:35+0200 kandh8ukjW [info] show HTML page
2021-05-11T10:58:35+0200 kandh8ukjW [info] current version: 20.0.7 build time: 2021-02-02T20:02:29+00:00 370ae8ac0462dc6e8bc17df4f46962a35a9b6756
2021-05-11T10:58:35+0200 kandh8ukjW [info] getUpdateServerResponse()
2021-05-11T10:58:35+0200 kandh8ukjW [info] updaterServer: https://updates.nextcloud.com/updater_server/
2021-05-11T10:58:35+0200 kandh8ukjW [info] releaseChannel: stable
2021-05-11T10:58:35+0200 kandh8ukjW [info] internal version: 20.0.7.1
2021-05-11T10:58:35+0200 kandh8ukjW [info] updateURL: https://updates.nextcloud.com/updater_server/?version=20x0x7x1xxxstablexx2021-02-02T20%3A02%3A29%2B00%3A00+370ae8ac0462dc6e8bc17df4f46962a35a9b6756x7x3x26
2021-05-11T10:58:36+0200 kandh8ukjW [info] getUpdateServerResponse response: Array
(
    [version] => 20.0.9.1
    [versionstring] => Nextcloud 20.0.9
    [url] => https://download.nextcloud.com/server/releases/nextcloud-20.0.9.zip
    [web] => https://docs.nextcloud.com/server/20/admin_manual/maintenance/upgrade.html
    [changes] => https://updates.nextcloud.com/changelog_server/?version=20.0.9
    [autoupdater] => 1
    [eol] => 0
    [signature] => bk17zYl9/msZ6TYX84ME3BNbyYDR5rO+N/CbO0oMQ3YRNWG0jZEg1VL7B7xJjcue
3elu6YXENmktF7N5JsYIsoazB0HIkJh1NHfSoadfpPn9SabTdsU+lRiw/vdZfv7u
ZpL5CL869fQ/etfOAxme37YzOky17DHbDpjnNDRkGWo+EA7mzd9ptpr9TA1f2d3a
iysQhPdnc44twwMIpwp+3m1llCX7cZa1VCFOZF7qJkZPMW7gTlCZJwZdv+/OWzaB
R0EQjUguzbCoOXc1B33BKYOb1Bq10PHZbdrnQ1S54dvB0LftKyWgtwaAAC/BdOpg
IctRU71WQPSDqMqrwGAAMA==
)

2021-05-11T10:58:36+0200 kandh8ukjW [info] checkForUpdate() Array
(
    [version] => 20.0.9.1
    [versionstring] => Nextcloud 20.0.9
    [url] => https://download.nextcloud.com/server/releases/nextcloud-20.0.9.zip
    [web] => https://docs.nextcloud.com/server/20/admin_manual/maintenance/upgrade.html
    [changes] => https://updates.nextcloud.com/changelog_server/?version=20.0.9
    [autoupdater] => 1
    [eol] => 0
    [signature] => bk17zYl9/msZ6TYX84ME3BNbyYDR5rO+N/CbO0oMQ3YRNWG0jZEg1VL7B7xJjcue
3elu6YXENmktF7N5JsYIsoazB0HIkJh1NHfSoadfpPn9SabTdsU+lRiw/vdZfv7u
ZpL5CL869fQ/etfOAxme37YzOky17DHbDpjnNDRkGWo+EA7mzd9ptpr9TA1f2d3a
iysQhPdnc44twwMIpwp+3m1llCX7cZa1VCFOZF7qJkZPMW7gTlCZJwZdv+/OWzaB
R0EQjUguzbCoOXc1B33BKYOb1Bq10PHZbdrnQ1S54dvB0LftKyWgtwaAAC/BdOpg
IctRU71WQPSDqMqrwGAAMA==
)

2021-05-11T10:58:36+0200 kandh8ukjW [info] getChangelogURL()
2021-05-11T10:58:36+0200 kandh8ukjW [info] end of checkForUpdate() Update to Nextcloud 20.0.9 available. (channel: "stable")<br /><span class="light">Following file will be downloaded automatically:</span> <code class="light">https://download.nextcloud.com/server/releases/nextcloud-20.0.9.zip</code><br /><a class="external_link" href="https://nextcloud.com/changelog/#20-0-9" target="_blank" rel="noreferrer noopener">Open changelog ñ†—</a>
2021-05-11T10:58:38+0200 q55d6at4nL [info] request to updater
2021-05-11T10:58:38+0200 q55d6at4nL [info] currentStep()
2021-05-11T10:58:38+0200 q55d6at4nL [info] POST request for step "1"
2021-05-11T10:58:38+0200 q55d6at4nL [info] startStep("1")
2021-05-11T10:58:38+0200 q55d6at4nL [info] checkForExpectedFilesAndFolders()
2021-05-11T10:58:38+0200 q55d6at4nL [info] end of checkForExpectedFilesAndFolders()
2021-05-11T10:58:38+0200 q55d6at4nL [info] endStep("1")
2021-05-11T10:58:38+0200 HK1WYYVM2D [info] request to updater
2021-05-11T10:58:38+0200 HK1WYYVM2D [info] currentStep()
2021-05-11T10:58:38+0200 HK1WYYVM2D [info] Step 1 is in state "end".
2021-05-11T10:58:38+0200 HK1WYYVM2D [info] POST request for step "2"
2021-05-11T10:58:38+0200 HK1WYYVM2D [info] startStep("2")
2021-05-11T10:58:38+0200 HK1WYYVM2D [info] checkWritePermissions()
2021-05-11T10:58:38+0200 HK1WYYVM2D [info] end of checkWritePermissions()
2021-05-11T10:58:38+0200 HK1WYYVM2D [info] endStep("2")
2021-05-11T10:58:38+0200 jdnxzdmCSF [info] request to updater
2021-05-11T10:58:38+0200 jdnxzdmCSF [info] currentStep()
2021-05-11T10:58:38+0200 jdnxzdmCSF [info] Step 2 is in state "end".
2021-05-11T10:58:38+0200 jdnxzdmCSF [info] POST request for step "3"
2021-05-11T10:58:38+0200 jdnxzdmCSF [info] startStep("3")
2021-05-11T10:58:38+0200 jdnxzdmCSF [info] createBackup()
2021-05-11T10:58:38+0200 jdnxzdmCSF [info] backup folder location: /www/htdocs/w016bf74/cloud.mennoniten-backnang.de/data/updater-ocsvs793drzl/backups/nextcloud-20.0.7.1-1620723518/
2021-05-11T10:59:43+0200 jdnxzdmCSF [info] end of createBackup()
2021-05-11T10:59:43+0200 jdnxzdmCSF [info] endStep("3")
2021-05-11T10:59:43+0200 qzbYNYP92Z [info] request to updater
2021-05-11T10:59:43+0200 qzbYNYP92Z [info] currentStep()
2021-05-11T10:59:43+0200 qzbYNYP92Z [info] Step 3 is in state "end".
2021-05-11T10:59:43+0200 qzbYNYP92Z [info] POST request for step "4"
2021-05-11T10:59:43+0200 qzbYNYP92Z [info] startStep("4")
2021-05-11T10:59:43+0200 qzbYNYP92Z [info] downloadUpdate()
2021-05-11T10:59:43+0200 qzbYNYP92Z [info] getUpdateServerResponse()
2021-05-11T10:59:43+0200 qzbYNYP92Z [info] updaterServer: https://updates.nextcloud.com/updater_server/
2021-05-11T10:59:43+0200 qzbYNYP92Z [info] releaseChannel: stable
2021-05-11T10:59:43+0200 qzbYNYP92Z [info] internal version: 20.0.7.1
2021-05-11T10:59:43+0200 qzbYNYP92Z [info] updateURL: https://updates.nextcloud.com/updater_server/?version=20x0x7x1xxxstablexx2021-02-02T20%3A02%3A29%2B00%3A00+370ae8ac0462dc6e8bc17df4f46962a35a9b6756x7x3x26
2021-05-11T10:59:43+0200 qzbYNYP92Z [info] getUpdateServerResponse response: Array
(
    [version] => 20.0.9.1
    [versionstring] => Nextcloud 20.0.9
    [url] => https://download.nextcloud.com/server/releases/nextcloud-20.0.9.zip
    [web] => https://docs.nextcloud.com/server/20/admin_manual/maintenance/upgrade.html
    [changes] => https://updates.nextcloud.com/changelog_server/?version=20.0.9
    [autoupdater] => 1
    [eol] => 0
    [signature] => bk17zYl9/msZ6TYX84ME3BNbyYDR5rO+N/CbO0oMQ3YRNWG0jZEg1VL7B7xJjcue
3elu6YXENmktF7N5JsYIsoazB0HIkJh1NHfSoadfpPn9SabTdsU+lRiw/vdZfv7u
ZpL5CL869fQ/etfOAxme37YzOky17DHbDpjnNDRkGWo+EA7mzd9ptpr9TA1f2d3a
iysQhPdnc44twwMIpwp+3m1llCX7cZa1VCFOZF7qJkZPMW7gTlCZJwZdv+/OWzaB
R0EQjUguzbCoOXc1B33BKYOb1Bq10PHZbdrnQ1S54dvB0LftKyWgtwaAAC/BdOpg
IctRU71WQPSDqMqrwGAAMA==
)

2021-05-11T10:59:43+0200 qzbYNYP92Z [info] storage location exists
2021-05-11T10:59:46+0200 qzbYNYP92Z [info] end of downloadUpdate()
2021-05-11T10:59:46+0200 qzbYNYP92Z [info] endStep("4")
2021-05-11T10:59:46+0200 ipMLsHSKpP [info] request to updater
2021-05-11T10:59:46+0200 ipMLsHSKpP [info] currentStep()
2021-05-11T10:59:46+0200 ipMLsHSKpP [info] Step 4 is in state "end".
2021-05-11T10:59:46+0200 ipMLsHSKpP [info] POST request for step "5"
2021-05-11T10:59:46+0200 ipMLsHSKpP [info] startStep("5")
2021-05-11T10:59:46+0200 ipMLsHSKpP [info] verifyIntegrity()
2021-05-11T10:59:46+0200 ipMLsHSKpP [info] getUpdateServerResponse()
2021-05-11T10:59:46+0200 ipMLsHSKpP [info] updaterServer: https://updates.nextcloud.com/updater_server/
2021-05-11T10:59:46+0200 ipMLsHSKpP [info] releaseChannel: stable
2021-05-11T10:59:46+0200 ipMLsHSKpP [info] internal version: 20.0.7.1
2021-05-11T10:59:46+0200 ipMLsHSKpP [info] updateURL: https://updates.nextcloud.com/updater_server/?version=20x0x7x1xxxstablexx2021-02-02T20%3A02%3A29%2B00%3A00+370ae8ac0462dc6e8bc17df4f46962a35a9b6756x7x3x26
2021-05-11T10:59:46+0200 ipMLsHSKpP [info] getUpdateServerResponse response: Array
(
    [version] => 20.0.9.1
    [versionstring] => Nextcloud 20.0.9
    [url] => https://download.nextcloud.com/server/releases/nextcloud-20.0.9.zip
    [web] => https://docs.nextcloud.com/server/20/admin_manual/maintenance/upgrade.html
    [changes] => https://updates.nextcloud.com/changelog_server/?version=20.0.9
    [autoupdater] => 1
    [eol] => 0
    [signature] => bk17zYl9/msZ6TYX84ME3BNbyYDR5rO+N/CbO0oMQ3YRNWG0jZEg1VL7B7xJjcue
3elu6YXENmktF7N5JsYIsoazB0HIkJh1NHfSoadfpPn9SabTdsU+lRiw/vdZfv7u
ZpL5CL869fQ/etfOAxme37YzOky17DHbDpjnNDRkGWo+EA7mzd9ptpr9TA1f2d3a
iysQhPdnc44twwMIpwp+3m1llCX7cZa1VCFOZF7qJkZPMW7gTlCZJwZdv+/OWzaB
R0EQjUguzbCoOXc1B33BKYOb1Bq10PHZbdrnQ1S54dvB0LftKyWgtwaAAC/BdOpg
IctRU71WQPSDqMqrwGAAMA==
)

2021-05-11T10:59:46+0200 ipMLsHSKpP [info] storage location: /www/htdocs/w016bf74/cloud.mennoniten-backnang.de/data/updater-ocsvs793drzl/downloads/
2021-05-11T10:59:47+0200 ipMLsHSKpP [info] end of verifyIntegrity()
2021-05-11T10:59:47+0200 ipMLsHSKpP [info] endStep("5")
2021-05-11T10:59:47+0200 6quLPatQwi [info] request to updater
2021-05-11T10:59:47+0200 6quLPatQwi [info] currentStep()
2021-05-11T10:59:47+0200 6quLPatQwi [info] Step 5 is in state "end".
2021-05-11T10:59:47+0200 6quLPatQwi [info] POST request for step "6"
2021-05-11T10:59:47+0200 6quLPatQwi [info] startStep("6")
2021-05-11T10:59:47+0200 6quLPatQwi [info] extractDownload()
2021-05-11T10:59:47+0200 6quLPatQwi [info] storage location: /www/htdocs/w016bf74/cloud.mennoniten-backnang.de/data/updater-ocsvs793drzl/downloads/
2021-05-11T10:59:49+0200 6quLPatQwi [info] end of extractDownload()
2021-05-11T10:59:49+0200 6quLPatQwi [info] endStep("6")
2021-05-11T10:59:49+0200 869CtbsFjB [info] request to updater
2021-05-11T10:59:49+0200 869CtbsFjB [info] currentStep()
2021-05-11T10:59:49+0200 869CtbsFjB [info] Step 6 is in state "end".
2021-05-11T10:59:49+0200 869CtbsFjB [info] POST request for step "7"
2021-05-11T10:59:49+0200 869CtbsFjB [info] startStep("7")
2021-05-11T10:59:49+0200 869CtbsFjB [info] setMaintenanceMode("true")
2021-05-11T10:59:49+0200 869CtbsFjB [info] configFileName /www/htdocs/w016bf74/cloud.mennoniten-backnang.de/updater/../config/config.php
2021-05-11T10:59:49+0200 869CtbsFjB [info] end of setMaintenanceMode()
2021-05-11T10:59:49+0200 869CtbsFjB [info] endStep("7")
2021-05-11T10:59:49+0200 VTUHuiwnV3 [info] request to updater
2021-05-11T10:59:49+0200 VTUHuiwnV3 [info] currentStep()
2021-05-11T10:59:49+0200 VTUHuiwnV3 [info] Step 7 is in state "end".
2021-05-11T10:59:49+0200 VTUHuiwnV3 [info] POST request for step "8"
2021-05-11T10:59:49+0200 VTUHuiwnV3 [info] startStep("8")
2021-05-11T10:59:49+0200 VTUHuiwnV3 [info] replaceEntryPoints()
2021-05-11T10:59:49+0200 VTUHuiwnV3 [info] replace index.php
2021-05-11T10:59:49+0200 VTUHuiwnV3 [info] replace status.php
2021-05-11T10:59:49+0200 VTUHuiwnV3 [info] replace remote.php
2021-05-11T10:59:49+0200 VTUHuiwnV3 [info] replace public.php
2021-05-11T10:59:49+0200 VTUHuiwnV3 [info] replace ocs/v1.php
2021-05-11T10:59:49+0200 VTUHuiwnV3 [info] replace ocs/v2.php
2021-05-11T10:59:49+0200 VTUHuiwnV3 [info] end of replaceEntryPoints()
2021-05-11T10:59:49+0200 VTUHuiwnV3 [info] endStep("8")
2021-05-11T10:59:49+0200 PmFP2ZzX1q [info] request to updater
2021-05-11T10:59:49+0200 PmFP2ZzX1q [info] currentStep()
2021-05-11T10:59:49+0200 PmFP2ZzX1q [info] Step 8 is in state "end".
2021-05-11T10:59:49+0200 PmFP2ZzX1q [info] POST request for step "9"
2021-05-11T10:59:49+0200 PmFP2ZzX1q [info] startStep("9")
2021-05-11T10:59:49+0200 PmFP2ZzX1q [info] deleteOldFiles()
2021-05-11T10:59:49+0200 PmFP2ZzX1q [info] config sample exists
2021-05-11T10:59:49+0200 PmFP2ZzX1q [info] themes README exists
2021-05-11T10:59:53+0200 PmFP2ZzX1q [info] end of deleteOldFiles()
2021-05-11T10:59:53+0200 PmFP2ZzX1q [info] endStep("9")
2021-05-11T10:59:53+0200 Y2q3c5E619 [info] request to updater
2021-05-11T10:59:53+0200 Y2q3c5E619 [info] currentStep()
2021-05-11T10:59:53+0200 Y2q3c5E619 [info] Step 9 is in state "end".
2021-05-11T10:59:53+0200 Y2q3c5E619 [info] POST request for step "10"
2021-05-11T10:59:53+0200 Y2q3c5E619 [info] startStep("10")
2021-05-11T10:59:53+0200 Y2q3c5E619 [info] moveNewVersionInPlace()
2021-05-11T10:59:53+0200 Y2q3c5E619 [info] storage location: /www/htdocs/w016bf74/cloud.mennoniten-backnang.de/data/updater-ocsvs793drzl/downloads/nextcloud/
2021-05-11T10:59:53+0200 Y2q3c5E619 [info] end of moveNewVersionInPlace()
2021-05-11T10:59:53+0200 Y2q3c5E619 [info] endStep("10")
2021-05-11T11:00:04+0200 AFrzzQ7FKM [info] request to updater
2021-05-11T11:00:04+0200 AFrzzQ7FKM [info] currentStep()
2021-05-11T11:00:04+0200 AFrzzQ7FKM [info] Step 10 is in state "end".
2021-05-11T11:00:04+0200 AFrzzQ7FKM [info] POST request for step "11"
2021-05-11T11:00:04+0200 AFrzzQ7FKM [info] startStep("11")
2021-05-11T11:00:04+0200 AFrzzQ7FKM [info] setMaintenanceMode("false")
2021-05-11T11:00:04+0200 AFrzzQ7FKM [info] configFileName /www/htdocs/w016bf74/cloud.mennoniten-backnang.de/updater/../config/config.php
2021-05-11T11:00:04+0200 AFrzzQ7FKM [info] end of setMaintenanceMode()
2021-05-11T11:00:04+0200 AFrzzQ7FKM [info] endStep("11")
2021-05-11T11:00:04+0200 UDs7OuLvcO [info] request to updater
2021-05-11T11:00:04+0200 UDs7OuLvcO [info] currentStep()
2021-05-11T11:00:04+0200 UDs7OuLvcO [info] Step 11 is in state "end".
2021-05-11T11:00:04+0200 UDs7OuLvcO [info] POST request for step "12"
2021-05-11T11:00:04+0200 UDs7OuLvcO [info] startStep("12")
2021-05-11T11:00:04+0200 UDs7OuLvcO [info] finalize()
2021-05-11T11:00:04+0200 UDs7OuLvcO [info] storage location: /www/htdocs/w016bf74/cloud.mennoniten-backnang.de/data/updater-ocsvs793drzl/downloads/nextcloud/
2021-05-11T11:00:04+0200 UDs7OuLvcO [info] call opcache_reset()
2021-05-11T11:00:04+0200 UDs7OuLvcO [info] end of finalize()
2021-05-11T11:00:04+0200 UDs7OuLvcO [info] endStep("12")

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

<?php
$CONFIG = array (
  'instanceid' => 'ocsvs793drzl',
  'passwordsalt' => 'GnxwrlG6pDa1JUqQA9eemUrgI4FNfs',
  'secret' => 'OXb8tr8FrJQhzErJyWuAFZdYkOd8eLfTzgQSyNoPn5XMyflW',
  'trusted_domains' => 
  array (
    0 => 'cloud.mennoniten-backnang.de',
  ),
  'datadirectory' => '/www/htdocs/w016bf74/cloud.mennoniten-backnang.de/data',
  'overwrite.cli.url' => 'http://cloud.mennoniten-backnang.de',
  'dbtype' => 'mysql',
  'version' => '20.0.7.1',
  'dbname' => 'd0298f5e',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oWAIi_',
  'mysql.utf8mb4' => true,
  'dbuser' => 'd0298f5e',
  'dbpassword' => 'eWT4H7NVnkZMtEAudFVG',
  'installed' => true,
  'tempdirectory' => '/www/htdocs/w016bf74/cloud.mennoniten-backnang.de/tmp/',
  'mail_from_address' => 'web',
  'mail_smtpmode' => 'smtp',
  'mail_smtpauthtype' => 'LOGIN',
  'mail_domain' => 'mennoniten-backnang.de',
  'maintenance' => true,
  'updater.release.channel' => 'stable',
  'theme' => '',
  'loglevel' => 0,
  'mail_smtphost' => 'w016bf74.kasserver.com',
  'mail_sendmailmode' => 'smtp',
  'app_install_overwrite' => 
  array (
    0 => 'occweb',
  ),
  'updater.secret' => '$2y$10$XiW4ld9GUoXQzrfini3o9.CZW2zwp/hmN5djftJe1ps3qor27Z0ee',
  'encryption.legacy_format_support' => false,
  'encryption.key_storage_migrated' => false,
);

The output of your Apache/nginx/system log in /var/log/____:

PASTE HERE

Error that I get after run the Updater:
Log-Level auf “debug” gesetzt

Wartungsmodus eingeschaltet

Reparaturschritt: Repair MySQL collation

Reparaturinformation: All tables already have the correct collation → nothing to do

Reparaturschritt: Repair SQLite autoincrement

Reparaturschritt: Copy data from accounts table when migrating from ownCloud

Reparaturschritt: Drop account terms table when migrating from ownCloud

Das Datenbankschema wird aktualisiert

Datenbank aktualisiert

Suche nach einer Aktualisierung fĂŒr die App “accessibility” im App-Store

App-Store auf Aktualisierung fĂŒr die App “accessibility” geprĂŒft

Suche nach einer Aktualisierung fĂŒr die App “activity” im App-Store

App-Store auf Aktualisierung fĂŒr die App “activity” geprĂŒft

Suche nach einer Aktualisierung fĂŒr die App “admin_audit” im App-Store

App-Store auf Aktualisierung fĂŒr die App “admin_audit” geprĂŒft

Suche nach einer Aktualisierung fĂŒr die App “cloud_federation_api” im App-Store

App-Store auf Aktualisierung fĂŒr die App “cloud_federation_api” geprĂŒft

Suche nach einer Aktualisierung fĂŒr die App “comments” im App-Store

App-Store auf Aktualisierung fĂŒr die App “comments” geprĂŒft

Suche nach einer Aktualisierung fĂŒr die App “contactsinteraction” im App-Store

App-Store auf Aktualisierung fĂŒr die App “contactsinteraction” geprĂŒft

Suche nach einer Aktualisierung fĂŒr die App “dashboard” im App-Store

App-Store auf Aktualisierung fĂŒr die App “dashboard” geprĂŒft

Suche nach einer Aktualisierung fĂŒr die App “dav” im App-Store

App-Store auf Aktualisierung fĂŒr die App “dav” geprĂŒft

Suche nach einer Aktualisierung fĂŒr die App “documentserver_community” im App-Store

Aktualisiere die App “documentserver_community” aus dem App-Store

Es ist ein Fehler aufgetreten.

And than I get the Maintenance window

Please help

Vermutlich verhindert irgend eine App das Update und der Wartungsmodus bleibt bestehen. Dann kann man nur mehr mit dem occ-Kommando alle Apps nach und nach disablen und das Update erneut versuchen. Eine Geissel!