Skip to content

occ upgrade fails after accidentally upgrading from 20.0.8 to 21.0.1 #26472

Description

@quizilkend

Steps to reproduce

  1. Get notification that a new release (20.0.9) is available
  2. initiate the upgrade over cli (updater.phar)
  3. Select continue with occ upgrade

Expected behaviour

  1. The upgrade should follow the advertised path (see Updater performs major update to Nextcloud 21 despite Update notification & Administration Overview advertising patch update to 20.0.9 #26469)
  2. occ upgrade should execute the upgrade steps

Actual behaviour

There is no output of occ upgrade until it is killed by the kernel (OOM-killer).

Server configuration

Operating system:
up-to-date debian buster

Web server:
Apache/2.4.38 (Debian)

Database:
mysql Ver 15.1 Distrib 10.3.27-MariaDB, for debian-linux-gnu (x86_64) using readline 5.2

PHP version:
PHP 7.3.27-1~deb10u1 (cli) (built: Feb 13 2021 16:31:40) ( NTS )

Nextcloud version: (Nextcloud admin page not reachable)
Somewhrere between 20.0.8 and 21.0.1

Updated from an older Nextcloud/ownCloud or fresh install:
Yes from 20.0.8

Where did you install Nextcloud from:

Signing status:

Signing status
On demand

List of activated apps:

App list
On demand

Nextcloud configuration:

Config report
On demand

Are you using external storage, if yes which one: local

Are you using encryption: no

Are you using an external user-backend, if yes which one: no

LDAP configuration (delete this part if not used)

LDAP config
no

Client configuration

Browser:
Firefox

Operating system:
Debian buster

Logs

Web server error log

Web server error log
[Fri Apr 09 10:57:49.957840 2021] [autoindex:error] [pid 2349] [client 2.206.161.85:37160] AH01276: Cannot serve directory /var/www/nextcloud/apps/news/: No matching DirectoryIndex (index.php,index.html) found, and server-generated directory index forbidden by Options directive
[Fri Apr 09 11:20:44.557003 2021] [autoindex:error] [pid 1701] [client 2.206.161.85:38816] AH01276: Cannot serve directory /var/www/nextcloud/apps/news/: No matching DirectoryIndex (index.php,index.html) found, and server-generated directory index forbidden by Options directive

Nextcloud log (data/nextcloud.log)

Nextcloud log
There are so many entries which seem to be unrelated to the problem

Browser log

Browser log
The browser doesn't seem to be the problem here.

Activity

  1. hubertbanas commented on Apr 9, 2021

    @hubertbanas

    Experiencing identical issue

    -->sudo -u www-data php updater.phar
    Nextcloud Updater - version: v20.0.0beta4-11-g68fa0d4
    
    Current version is 20.0.8.
    
    Update to Nextcloud 21.0.1 available. (channel: "stable")
    Following file will be downloaded automatically: https://download.nextcloud.com/server/releases/nextcloud-21.0.1.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
    Killed
    
    Keep maintenance mode active? [y/N] N
    Killed
    
    Maintenance mode is disabled
    
    

    Web shows Maintenance mode

    occ no longer works

    sudo -u www-data php occ
    Killed
    
  2. caugner commented on Apr 9, 2021

    @caugner
    Contributor

    @quizilkend @hubertbanas Could you share today's lines of the updater.log from your Nextcloud data directory?

    (Make sure to redact private/secret information, if necessary.)

  3. hubertbanas commented on Apr 9, 2021

    @hubertbanas

    Please let me know if you need any other debug data.

    updater.log
    2021-04-09T14:26:21+0000 redacted  [info] updater cli is executed
    2021-04-09T14:26:21+0000 redacted  [info] currentStep()
    2021-04-09T14:26:21+0000 redacted  [info] current version: 20.0.8 build time: 2021-02-24T19:11:39+00:00 1ff83111a63e795079d668bb15ffa84c1024596d
    2021-04-09T14:26:21+0000 redacted  [info] getUpdateServerResponse()
    2021-04-09T14:26:21+0000 redacted  [info] updaterServer: https://updates.nextcloud.com/updater_server/
    2021-04-09T14:26:21+0000 redacted  [info] releaseChannel: stable
    2021-04-09T14:26:21+0000 redacted  [info] internal version: 20.0.8.1
    2021-04-09T14:26:21+0000 redacted  [info] updateURL: https://updates.nextcloud.com/updater_server/?version=20x0x8x1xxxstablexx2021-02-24T19%3A11%3A39%2B00%3A00+1ff83111a63e795079d668bb15ffa84c1024596dx7x3x27
    2021-04-09T14:26:22+0000 redacted  [info] getUpdateServerResponse response: Array
    (
        [version] => 21.0.1.1
        [versionstring] => Nextcloud 21.0.1
        [url] => https://download.nextcloud.com/server/releases/nextcloud-21.0.1.zip
        [web] => https://docs.nextcloud.com/server/21/admin_manual/maintenance/upgrade.html
        [changes] => https://updates.nextcloud.com/changelog_server/?version=21.0.1
        [autoupdater] => 1
        [eol] => 0
        [signature] => redacted
    )
    
    2021-04-09T14:26:22+0000 redacted  [info] checkForUpdate() Array
    (
        [version] => 21.0.1.1
        [versionstring] => Nextcloud 21.0.1
        [url] => https://download.nextcloud.com/server/releases/nextcloud-21.0.1.zip
        [web] => https://docs.nextcloud.com/server/21/admin_manual/maintenance/upgrade.html
        [changes] => https://updates.nextcloud.com/changelog_server/?version=21.0.1
        [autoupdater] => 1
        [eol] => 0
        [signature] => redacted
    )
    
    2021-04-09T14:26:22+0000 redacted  [info] getChangelogURL()
    2021-04-09T14:26:22+0000 redacted  [info] end of checkForUpdate() Update to Nextcloud 21.0.1 available. (channel: "stable")<br /><span class="light">Following file will be downloaded automatically:</span> <code class="light">https://download.nextcloud.com/server/releases/nextcloud-21.0.1.zip</code><br /><a class="external_link" href="/api/browser/proxy?url=https%3A%2F%2Fnextcloud.com%2Fchangelog%2F%2321-0-1" target="_blank" rel="noreferrer noopener">Open changelog ↗</a>
    2021-04-09T10:26:29-0400 RGG7f9SBA3 [info] request to updater
    2021-04-09T10:26:29-0400 RGG7f9SBA3 [info] currentStep()
    2021-04-09T10:26:29-0400 RGG7f9SBA3 [info] show HTML page
    2021-04-09T10:26:29-0400 RGG7f9SBA3 [info] current version: 20.0.8 build time: 2021-02-24T19:11:39+00:00 1ff83111a63e795079d668bb15ffa84c1024596d
    2021-04-09T10:26:29-0400 RGG7f9SBA3 [info] getUpdateServerResponse()
    2021-04-09T10:26:29-0400 RGG7f9SBA3 [info] updaterServer: https://updates.nextcloud.com/updater_server/
    2021-04-09T10:26:29-0400 RGG7f9SBA3 [info] releaseChannel: stable
    2021-04-09T10:26:29-0400 RGG7f9SBA3 [info] internal version: 20.0.8.1
    2021-04-09T10:26:29-0400 RGG7f9SBA3 [info] updateURL: https://updates.nextcloud.com/updater_server/?version=20x0x8x1xxxstablexx2021-02-24T19%3A11%3A39%2B00%3A00+1ff83111a63e795079d668bb15ffa84c1024596dx7x3x27
    2021-04-09T10:26:30-0400 RGG7f9SBA3 [info] getUpdateServerResponse response: Array
    (
        [version] => 21.0.1.1
        [versionstring] => Nextcloud 21.0.1
        [url] => https://download.nextcloud.com/server/releases/nextcloud-21.0.1.zip
        [web] => https://docs.nextcloud.com/server/21/admin_manual/maintenance/upgrade.html
        [changes] => https://updates.nextcloud.com/changelog_server/?version=21.0.1
        [autoupdater] => 1
        [eol] => 0
        [signature] => redacted
    )
    
    2021-04-09T10:26:30-0400 redacted [info] checkForUpdate() Array
    (
        [version] => 21.0.1.1
        [versionstring] => Nextcloud 21.0.1
        [url] => https://download.nextcloud.com/server/releases/nextcloud-21.0.1.zip
        [web] => https://docs.nextcloud.com/server/21/admin_manual/maintenance/upgrade.html
        [changes] => https://updates.nextcloud.com/changelog_server/?version=21.0.1
        [autoupdater] => 1
        [eol] => 0
        [signature] => redacted
    )
    
    2021-04-09T10:26:30-0400 redacted [info] getChangelogURL()
    2021-04-09T10:26:30-0400 redacted [info] end of checkForUpdate() Update to Nextcloud 21.0.1 available. (channel: "stable")<br /><span class="light">Following file will be downloaded automatically:</span> <code class="light">https://download.nextcloud.com/server/releases/nextcloud-21.0.1.zip</code><br /><a class="external_link" href="/api/browser/proxy?url=https%3A%2F%2Fnextcloud.com%2Fchangelog%2F%2321-0-1" target="_blank" rel="noreferrer noopener">Open changelog ↗</a>
    2021-04-09T14:26:59+0000 redacted  [info] updater started
    2021-04-09T14:26:59+0000 redacted  [info] executeStep request for step "1"
    2021-04-09T14:26:59+0000 redacted  [info] startStep("1")
    2021-04-09T14:26:59+0000 redacted  [info] checkForExpectedFilesAndFolders()
    2021-04-09T14:26:59+0000 redacted  [info] end of checkForExpectedFilesAndFolders()
    2021-04-09T14:26:59+0000 redacted  [info] endStep("1")
    2021-04-09T14:26:59+0000 redacted  [info] executeStep request for step "2"
    2021-04-09T14:26:59+0000 redacted  [info] startStep("2")
    2021-04-09T14:26:59+0000 redacted  [info] checkWritePermissions()
    2021-04-09T14:26:59+0000 redacted  [info] end of checkWritePermissions()
    2021-04-09T14:26:59+0000 redacted  [info] endStep("2")
    2021-04-09T14:26:59+0000 redacted  [info] executeStep request for step "3"
    2021-04-09T14:26:59+0000 redacted  [info] startStep("3")
    2021-04-09T14:26:59+0000 redacted  [info] createBackup()
    2021-04-09T14:26:59+0000 redacted  [info] backup folder location: /var/www/redacted.domain.com/data/updater-redacted /backups/nextcloud-20.0.8.1-1617978419/
    2021-04-09T14:27:05+0000 redacted  [info] end of createBackup()
    2021-04-09T14:27:05+0000 redacted  [info] endStep("3")
    2021-04-09T14:27:05+0000 redacted  [info] executeStep request for step "4"
    2021-04-09T14:27:05+0000 redacted  [info] startStep("4")
    2021-04-09T14:27:05+0000 redacted  [info] downloadUpdate()
    2021-04-09T14:27:05+0000 redacted  [info] getUpdateServerResponse()
    2021-04-09T14:27:05+0000 redacted  [info] updaterServer: https://updates.nextcloud.com/updater_server/
    2021-04-09T14:27:05+0000 redacted  [info] releaseChannel: stable
    2021-04-09T14:27:05+0000 redacted  [info] internal version: 20.0.8.1
    2021-04-09T14:27:05+0000 redacted  [info] updateURL: https://updates.nextcloud.com/updater_server/?version=20x0x8x1xxxstablexx2021-02-24T19%3A11%3A39%2B00%3A00+1ff83111a63e795079d668bb15ffa84c1024596dx7x3x27
    2021-04-09T14:27:05+0000 redacted  [info] getUpdateServerResponse response: Array
    (
        [version] => 21.0.1.1
        [versionstring] => Nextcloud 21.0.1
        [url] => https://download.nextcloud.com/server/releases/nextcloud-21.0.1.zip
        [web] => https://docs.nextcloud.com/server/21/admin_manual/maintenance/upgrade.html
        [changes] => https://updates.nextcloud.com/changelog_server/?version=21.0.1
        [autoupdater] => 1
        [eol] => 0
        [signature] => redacted
    )
    
    2021-04-09T14:27:05+0000 redacted  [info] storage location exists
    2021-04-09T14:27:19+0000 redacted  [info] end of downloadUpdate()
    2021-04-09T14:27:19+0000 redacted  [info] endStep("4")
    2021-04-09T14:27:19+0000 redacted  [info] executeStep request for step "5"
    2021-04-09T14:27:19+0000 redacted  [info] startStep("5")
    2021-04-09T14:27:19+0000 redacted  [info] verifyIntegrity()
    2021-04-09T14:27:19+0000 redacted  [info] getUpdateServerResponse()
    2021-04-09T14:27:19+0000 redacted  [info] updaterServer: https://updates.nextcloud.com/updater_server/
    2021-04-09T14:27:19+0000 redacted  [info] releaseChannel: stable
    2021-04-09T14:27:19+0000 redacted  [info] internal version: 20.0.8.1
    2021-04-09T14:27:19+0000 redacted  [info] updateURL: https://updates.nextcloud.com/updater_server/?version=20x0x8x1xxxstablexx2021-02-24T19%3A11%3A39%2B00%3A00+1ff83111a63e795079d668bb15ffa84c1024596dx7x3x27
    2021-04-09T14:27:19+0000 redacted  [info] getUpdateServerResponse response: Array
    (
        [version] => 21.0.1.1
        [versionstring] => Nextcloud 21.0.1
        [url] => https://download.nextcloud.com/server/releases/nextcloud-21.0.1.zip
        [web] => https://docs.nextcloud.com/server/21/admin_manual/maintenance/upgrade.html
        [changes] => https://updates.nextcloud.com/changelog_server/?version=21.0.1
        [autoupdater] => 1
        [eol] => 0
        [signature] => redacted
    )
    
    2021-04-09T14:27:19+0000 redacted  [info] storage location: /var/www/redacted.domain.com/data/updater-redacted /downloads/
    2021-04-09T14:27:19+0000 redacted  [info] end of verifyIntegrity()
    2021-04-09T14:27:19+0000 redacted  [info] endStep("5")
    2021-04-09T14:27:19+0000 redacted  [info] executeStep request for step "6"
    2021-04-09T14:27:19+0000 redacted  [info] startStep("6")
    2021-04-09T14:27:19+0000 redacted  [info] extractDownload()
    2021-04-09T14:27:19+0000 redacted  [info] storage location: /var/www/redacted.domain.com/data/updater-redacted /downloads/
    2021-04-09T14:27:22+0000 redacted  [info] end of extractDownload()
    2021-04-09T14:27:22+0000 redacted  [info] endStep("6")
    2021-04-09T14:27:22+0000 redacted  [info] executeStep request for step "7"
    2021-04-09T14:27:22+0000 redacted  [info] startStep("7")
    2021-04-09T14:27:22+0000 redacted  [info] setMaintenanceMode("true")
    2021-04-09T14:27:22+0000 redacted  [info] configFileName /var/www/redacted.domain.com/html/updater/../config/config.php
    2021-04-09T14:27:22+0000 redacted  [info] end of setMaintenanceMode()
    2021-04-09T14:27:22+0000 redacted  [info] endStep("7")
    2021-04-09T14:27:22+0000 redacted  [info] executeStep request for step "8"
    2021-04-09T14:27:22+0000 redacted  [info] startStep("8")
    2021-04-09T14:27:22+0000 redacted  [info] replaceEntryPoints()
    2021-04-09T14:27:22+0000 redacted  [info] replace index.php
    2021-04-09T14:27:22+0000 redacted  [info] replace status.php
    2021-04-09T14:27:22+0000 redacted  [info] replace remote.php
    2021-04-09T14:27:22+0000 redacted  [info] replace public.php
    2021-04-09T14:27:22+0000 redacted  [info] replace ocs/v1.php
    2021-04-09T14:27:22+0000 redacted  [info] replace ocs/v2.php
    2021-04-09T14:27:22+0000 redacted  [info] end of replaceEntryPoints()
    2021-04-09T14:27:22+0000 redacted  [info] endStep("8")
    2021-04-09T14:27:22+0000 redacted  [info] executeStep request for step "9"
    2021-04-09T14:27:22+0000 redacted  [info] startStep("9")
    2021-04-09T14:27:22+0000 redacted  [info] deleteOldFiles()
    2021-04-09T14:27:23+0000 redacted  [info] config sample exists
    2021-04-09T14:27:23+0000 redacted  [info] themes README exists
    2021-04-09T14:27:23+0000 redacted  [info] end of deleteOldFiles()
    2021-04-09T14:27:23+0000 redacted  [info] endStep("9")
    2021-04-09T14:27:23+0000 redacted  [info] executeStep request for step "10"
    2021-04-09T14:27:23+0000 redacted  [info] startStep("10")
    2021-04-09T14:27:23+0000 redacted  [info] moveNewVersionInPlace()
    2021-04-09T14:27:23+0000 redacted  [info] storage location: /var/www/redacted.domain.com/data/updater-redacted/downloads/nextcloud/
    2021-04-09T14:27:23+0000 redacted  [info] end of moveNewVersionInPlace()
    2021-04-09T14:27:23+0000 redacted  [info] endStep("10")
    2021-04-09T14:27:23+0000 redacted  [info] executeStep request for step "12"
    2021-04-09T14:27:23+0000 redacted  [info] startStep("12")
    2021-04-09T14:27:23+0000 redacted  [info] finalize()
    2021-04-09T14:27:23+0000 redacted  [info] storage location: /var/www/redacted.domain.com/data/updater-redacted/downloads/nextcloud/
    2021-04-09T14:27:23+0000 redacted  [info] call opcache_reset()
    2021-04-09T14:27:23+0000 redacted  [info] end of finalize()
    2021-04-09T14:27:23+0000 redacted  [info] endStep("12")
    2021-04-09T14:27:23+0000 redacted  [info] update of code successful.
    2021-04-09T14:29:28+0000 redacted  [info] maintenance mode is disabled - return code: 137
    
  4. caugner commented on Apr 9, 2021

    @caugner
    Contributor

    @hubertbanas That's odd, it seems that Nextcloud skipped step 11, which disables the maintenance mode.

    2021-04-09T14:27:23+0000 redacted  [info] endStep("10")
    2021-04-09T14:27:23+0000 redacted  [info] executeStep request for step "12"
    2021-04-09T14:27:23+0000 redacted  [info] startStep("12")
    

    Could you try disabling the maintenance mode manually by setting maintenance to false in your config/config.php?

    (If this doesn't resolve the issue, better set it back to true afterwards.)

  5. hubertbanas commented on Apr 9, 2021

    @hubertbanas

    After setting to false the web shows Updater

    Nextcloud will be updated to version 21.0.1
    The following apps will be updated:
    list of app here
    
    These incompatible apps will be disabled:
    list of app here
    
    Start update
    

    occ is still not working

    sudo -u www-data php occ
    Killed
    
  6. fubz commented on Apr 9, 2021

    @fubz

    My install is also completely broke trying to upgrade to 21.0.1

    updater.log
    2021-04-09T15:27:43+0000 G3qgQt9fWf [info] request to updater
    2021-04-09T15:27:43+0000 G3qgQt9fWf [info] currentStep()
    2021-04-09T15:27:43+0000 G3qgQt9fWf [info] show HTML page
    2021-04-09T15:27:43+0000 G3qgQt9fWf [info] current version: 20.0.5 build time: 2021-01-14T09:38:19+00:00 1ef9a3f039d3a191ca797dfd1a3cb6d96ea4e3d4
    2021-04-09T15:27:43+0000 G3qgQt9fWf [info] getUpdateServerResponse()
    2021-04-09T15:27:43+0000 G3qgQt9fWf [info] updaterServer: https://updates.nextcloud.com/updater_server/
    2021-04-09T15:27:43+0000 G3qgQt9fWf [info] releaseChannel: stable
    2021-04-09T15:27:43+0000 G3qgQt9fWf [info] internal version: 20.0.5.2
    2021-04-09T15:27:43+0000 G3qgQt9fWf [info] updateURL: https://updates.nextcloud.com/updater_server/?version=20x0x5x2xxxstablexx2021-01-14T09%3A38%3A19%2B00%3A00+1ef9a3f039d3a191ca797dfd1a3cb6d96ea4e3d4x7x3x21
    2021-04-09T15:27:43+0000 G3qgQt9fWf [info] getUpdateServerResponse response: Array
    (
        [version] => 21.0.1.1
        [versionstring] => Nextcloud 21.0.1
        [url] => https://download.nextcloud.com/server/releases/nextcloud-21.0.1.zip
        [web] => https://docs.nextcloud.com/server/21/admin_manual/maintenance/upgrade.html
        [changes] => https://updates.nextcloud.com/changelog_server/?version=21.0.1
        [autoupdater] => 1
        [eol] => 0
        [signature] => YJQMb8iq13NhbvfEddaSjNeqlMe/dB0nJ27EwmiAuqSMMRpvVg4BjijfNjoG8lY9
    rs0k+YN4EkGSr1lhZvdWZ9LpmP1wug/l1wj8lWzjxp/588yp5jHs24XBsi14GrDY
    tgcx/V6E2ELFfgXJY6R4y2bIaaDPPjDfi+a2nq5ut0RTalGaUh6jr1dzaKQ0rJXm
    lqcZSGdY+smeb7ciFf0hykivKZATXHLczvYO3FUu/HVqlgRUxi+Q+wNjFmfFL3Vr
    RGlZGz7bpa48/2sprNJ2CYGVLMjxtktUrUIH6NB0diVMK8kAd7+OIqtjCmUG307S
    qRc0DHdtzXMmzq4t4PfZhg==
    )
    
    2021-04-09T15:27:43+0000 G3qgQt9fWf [info] checkForUpdate() Array
    (
        [version] => 21.0.1.1
        [versionstring] => Nextcloud 21.0.1
        [url] => https://download.nextcloud.com/server/releases/nextcloud-21.0.1.zip
        [web] => https://docs.nextcloud.com/server/21/admin_manual/maintenance/upgrade.html
        [changes] => https://updates.nextcloud.com/changelog_server/?version=21.0.1
        [autoupdater] => 1
        [eol] => 0
        [signature] => YJQMb8iq13NhbvfEddaSjNeqlMe/dB0nJ27EwmiAuqSMMRpvVg4BjijfNjoG8lY9
    rs0k+YN4EkGSr1lhZvdWZ9LpmP1wug/l1wj8lWzjxp/588yp5jHs24XBsi14GrDY
    tgcx/V6E2ELFfgXJY6R4y2bIaaDPPjDfi+a2nq5ut0RTalGaUh6jr1dzaKQ0rJXm
    lqcZSGdY+smeb7ciFf0hykivKZATXHLczvYO3FUu/HVqlgRUxi+Q+wNjFmfFL3Vr
    RGlZGz7bpa48/2sprNJ2CYGVLMjxtktUrUIH6NB0diVMK8kAd7+OIqtjCmUG307S
    qRc0DHdtzXMmzq4t4PfZhg==
    )
    
    2021-04-09T15:27:43+0000 G3qgQt9fWf [info] getChangelogURL()
    2021-04-09T15:27:43+0000 G3qgQt9fWf [info] end of checkForUpdate() Update to Nextcloud 21.0.1 available. (channel: "stable")<br /><span class="light">Following file will be downloaded automatically:</span> <code class="light">https://download.nextcloud.com/server/releases/nextcloud-21.0.1.zip</code><br /><a class="external_link" href="/api/browser/proxy?url=https%3A%2F%2Fnextcloud.com%2Fchangelog%2F%2321-0-1" target="_blank" rel="noreferrer noopener">Open changelog ↗</a>
    2021-04-09T16:33:50+0000 JS62aFTAtB [info] request to updater
    2021-04-09T16:33:50+0000 JS62aFTAtB [info] currentStep()
    2021-04-09T16:33:50+0000 JS62aFTAtB [info] POST request for step "1"
    2021-04-09T16:33:50+0000 JS62aFTAtB [info] startStep("1")
    2021-04-09T16:33:50+0000 JS62aFTAtB [info] checkForExpectedFilesAndFolders()
    2021-04-09T16:33:50+0000 JS62aFTAtB [info] end of checkForExpectedFilesAndFolders()
    2021-04-09T16:33:50+0000 JS62aFTAtB [info] endStep("1")
    2021-04-09T16:33:50+0000 iETAL35Edy [info] request to updater
    2021-04-09T16:33:50+0000 iETAL35Edy [info] currentStep()
    2021-04-09T16:33:50+0000 iETAL35Edy [info] Step 1 is in state "end".
    2021-04-09T16:33:50+0000 iETAL35Edy [info] POST request for step "2"
    2021-04-09T16:33:50+0000 iETAL35Edy [info] startStep("2")
    2021-04-09T16:33:50+0000 iETAL35Edy [info] checkWritePermissions()
    2021-04-09T16:33:50+0000 iETAL35Edy [info] end of checkWritePermissions()
    2021-04-09T16:33:50+0000 iETAL35Edy [info] endStep("2")
    2021-04-09T16:33:50+0000 ag1DaVph7y [info] request to updater
    2021-04-09T16:33:50+0000 ag1DaVph7y [info] currentStep()
    2021-04-09T16:33:50+0000 ag1DaVph7y [info] Step 2 is in state "end".
    2021-04-09T16:33:50+0000 ag1DaVph7y [info] POST request for step "3"
    2021-04-09T16:33:50+0000 ag1DaVph7y [info] startStep("3")
    2021-04-09T16:33:50+0000 ag1DaVph7y [info] createBackup()
    2021-04-09T16:33:50+0000 ag1DaVph7y [info] backup folder location: /data/updater-oc0j58g1t2ff/backups/nextcloud-20.0.5.2-1617986030/
    2021-04-09T16:34:09+0000 ag1DaVph7y [info] end of createBackup()
    2021-04-09T16:34:09+0000 ag1DaVph7y [info] endStep("3")
    2021-04-09T16:34:09+0000 26YQyCcnnP [info] request to updater
    2021-04-09T16:34:09+0000 26YQyCcnnP [info] currentStep()
    2021-04-09T16:34:09+0000 26YQyCcnnP [info] Step 3 is in state "end".
    2021-04-09T16:34:09+0000 26YQyCcnnP [info] POST request for step "4"
    2021-04-09T16:34:09+0000 26YQyCcnnP [info] startStep("4")
    2021-04-09T16:34:09+0000 26YQyCcnnP [info] downloadUpdate()
    2021-04-09T16:34:09+0000 26YQyCcnnP [info] getUpdateServerResponse()
    2021-04-09T16:34:09+0000 26YQyCcnnP [info] updaterServer: https://updates.nextcloud.com/updater_server/
    2021-04-09T16:34:09+0000 26YQyCcnnP [info] releaseChannel: stable
    2021-04-09T16:34:09+0000 26YQyCcnnP [info] internal version: 20.0.5.2
    2021-04-09T16:34:09+0000 26YQyCcnnP [info] updateURL: https://updates.nextcloud.com/updater_server/?version=20x0x5x2xxxstablexx2021-01-14T09%3A38%3A19%2B00%3A00+1ef9a3f039d3a191ca797dfd1a3cb6d96ea4e3d4x7x3x21
    2021-04-09T16:34:09+0000 26YQyCcnnP [info] getUpdateServerResponse response: Array
    (
        [version] => 21.0.1.1
        [versionstring] => Nextcloud 21.0.1
        [url] => https://download.nextcloud.com/server/releases/nextcloud-21.0.1.zip
        [web] => https://docs.nextcloud.com/server/21/admin_manual/maintenance/upgrade.html
        [changes] => https://updates.nextcloud.com/changelog_server/?version=21.0.1
        [autoupdater] => 1
        [eol] => 0
        [signature] => YJQMb8iq13NhbvfEddaSjNeqlMe/dB0nJ27EwmiAuqSMMRpvVg4BjijfNjoG8lY9
    rs0k+YN4EkGSr1lhZvdWZ9LpmP1wug/l1wj8lWzjxp/588yp5jHs24XBsi14GrDY
    tgcx/V6E2ELFfgXJY6R4y2bIaaDPPjDfi+a2nq5ut0RTalGaUh6jr1dzaKQ0rJXm
    lqcZSGdY+smeb7ciFf0hykivKZATXHLczvYO3FUu/HVqlgRUxi+Q+wNjFmfFL3Vr
    RGlZGz7bpa48/2sprNJ2CYGVLMjxtktUrUIH6NB0diVMK8kAd7+OIqtjCmUG307S
    qRc0DHdtzXMmzq4t4PfZhg==
    )
    
    2021-04-09T16:34:09+0000 26YQyCcnnP [info] storage location exists
    2021-04-09T16:34:17+0000 26YQyCcnnP [info] end of downloadUpdate()
    2021-04-09T16:34:17+0000 26YQyCcnnP [info] endStep("4")
    2021-04-09T16:34:17+0000 zgBAM9kFss [info] request to updater
    2021-04-09T16:34:17+0000 zgBAM9kFss [info] currentStep()
    2021-04-09T16:34:17+0000 zgBAM9kFss [info] Step 4 is in state "end".
    2021-04-09T16:34:17+0000 zgBAM9kFss [info] POST request for step "5"
    2021-04-09T16:34:17+0000 zgBAM9kFss [info] startStep("5")
    2021-04-09T16:34:17+0000 zgBAM9kFss [info] verifyIntegrity()
    2021-04-09T16:34:17+0000 zgBAM9kFss [info] getUpdateServerResponse()
    2021-04-09T16:34:17+0000 zgBAM9kFss [info] updaterServer: https://updates.nextcloud.com/updater_server/
    2021-04-09T16:34:17+0000 zgBAM9kFss [info] releaseChannel: stable
    2021-04-09T16:34:17+0000 zgBAM9kFss [info] internal version: 20.0.5.2
    2021-04-09T16:34:17+0000 zgBAM9kFss [info] updateURL: https://updates.nextcloud.com/updater_server/?version=20x0x5x2xxxstablexx2021-01-14T09%3A38%3A19%2B00%3A00+1ef9a3f039d3a191ca797dfd1a3cb6d96ea4e3d4x7x3x21
    2021-04-09T16:34:18+0000 zgBAM9kFss [info] getUpdateServerResponse response: Array
    (
        [version] => 21.0.1.1
        [versionstring] => Nextcloud 21.0.1
        [url] => https://download.nextcloud.com/server/releases/nextcloud-21.0.1.zip
        [web] => https://docs.nextcloud.com/server/21/admin_manual/maintenance/upgrade.html
        [changes] => https://updates.nextcloud.com/changelog_server/?version=21.0.1
        [autoupdater] => 1
        [eol] => 0
        [signature] => YJQMb8iq13NhbvfEddaSjNeqlMe/dB0nJ27EwmiAuqSMMRpvVg4BjijfNjoG8lY9
    rs0k+YN4EkGSr1lhZvdWZ9LpmP1wug/l1wj8lWzjxp/588yp5jHs24XBsi14GrDY
    tgcx/V6E2ELFfgXJY6R4y2bIaaDPPjDfi+a2nq5ut0RTalGaUh6jr1dzaKQ0rJXm
    lqcZSGdY+smeb7ciFf0hykivKZATXHLczvYO3FUu/HVqlgRUxi+Q+wNjFmfFL3Vr
    RGlZGz7bpa48/2sprNJ2CYGVLMjxtktUrUIH6NB0diVMK8kAd7+OIqtjCmUG307S
    qRc0DHdtzXMmzq4t4PfZhg==
    )
    
    2021-04-09T16:34:18+0000 zgBAM9kFss [info] storage location: /data/updater-oc0j58g1t2ff/downloads/
    2021-04-09T16:34:18+0000 zgBAM9kFss [info] end of verifyIntegrity()
    2021-04-09T16:34:18+0000 zgBAM9kFss [info] endStep("5")
    2021-04-09T16:34:19+0000 3DztZDvzk1 [info] request to updater
    2021-04-09T16:34:19+0000 3DztZDvzk1 [info] currentStep()
    2021-04-09T16:34:19+0000 3DztZDvzk1 [info] Step 5 is in state "end".
    2021-04-09T16:34:19+0000 3DztZDvzk1 [info] POST request for step "6"
    2021-04-09T16:34:19+0000 3DztZDvzk1 [info] startStep("6")
    2021-04-09T16:34:19+0000 3DztZDvzk1 [info] extractDownload()
    2021-04-09T16:34:19+0000 3DztZDvzk1 [info] storage location: /data/updater-oc0j58g1t2ff/downloads/
    2021-04-09T16:34:28+0000 3DztZDvzk1 [info] end of extractDownload()
    2021-04-09T16:34:28+0000 3DztZDvzk1 [info] endStep("6")
    2021-04-09T16:34:28+0000 P5AnlC0Sjh [info] request to updater
    2021-04-09T16:34:28+0000 P5AnlC0Sjh [info] currentStep()
    2021-04-09T16:34:28+0000 P5AnlC0Sjh [info] Step 6 is in state "end".
    2021-04-09T16:34:28+0000 P5AnlC0Sjh [info] POST request for step "7"
    2021-04-09T16:34:28+0000 P5AnlC0Sjh [info] startStep("7")
    2021-04-09T16:34:28+0000 P5AnlC0Sjh [info] setMaintenanceMode("true")
    2021-04-09T16:34:28+0000 P5AnlC0Sjh [info] configFileName /config/www/nextcloud/updater/../config/config.php
    2021-04-09T16:34:28+0000 P5AnlC0Sjh [info] end of setMaintenanceMode()
    2021-04-09T16:34:29+0000 P5AnlC0Sjh [info] endStep("7")
    2021-04-09T16:34:29+0000 Xu7A41tcir [info] request to updater
    2021-04-09T16:34:29+0000 Xu7A41tcir [info] currentStep()
    2021-04-09T16:34:29+0000 Xu7A41tcir [info] Step 7 is in state "end".
    2021-04-09T16:34:29+0000 Xu7A41tcir [info] POST request for step "8"
    2021-04-09T16:34:29+0000 Xu7A41tcir [info] startStep("8")
    2021-04-09T16:34:29+0000 Xu7A41tcir [info] replaceEntryPoints()
    2021-04-09T16:34:29+0000 Xu7A41tcir [info] replace index.php
    2021-04-09T16:34:29+0000 Xu7A41tcir [info] replace status.php
    2021-04-09T16:34:29+0000 Xu7A41tcir [info] replace remote.php
    2021-04-09T16:34:29+0000 Xu7A41tcir [info] replace public.php
    2021-04-09T16:34:29+0000 Xu7A41tcir [info] replace ocs/v1.php
    2021-04-09T16:34:29+0000 Xu7A41tcir [info] replace ocs/v2.php
    2021-04-09T16:34:29+0000 Xu7A41tcir [info] end of replaceEntryPoints()
    2021-04-09T16:34:29+0000 Xu7A41tcir [info] endStep("8")
    2021-04-09T16:34:29+0000 1Sa8BQSyaF [info] request to updater
    2021-04-09T16:34:29+0000 1Sa8BQSyaF [info] currentStep()
    2021-04-09T16:34:29+0000 1Sa8BQSyaF [info] Step 8 is in state "end".
    2021-04-09T16:34:29+0000 1Sa8BQSyaF [info] POST request for step "9"
    2021-04-09T16:34:29+0000 1Sa8BQSyaF [info] startStep("9")
    2021-04-09T16:34:29+0000 1Sa8BQSyaF [info] deleteOldFiles()
    2021-04-09T16:34:29+0000 1Sa8BQSyaF [info] config sample exists
    2021-04-09T16:34:29+0000 1Sa8BQSyaF [info] themes README exists
    2021-04-09T16:34:29+0000 1Sa8BQSyaF [info] end of deleteOldFiles()
    2021-04-09T16:34:29+0000 1Sa8BQSyaF [info] endStep("9")
    2021-04-09T16:34:29+0000 5xM19dU7xq [info] request to updater
    2021-04-09T16:34:29+0000 5xM19dU7xq [info] currentStep()
    2021-04-09T16:34:29+0000 5xM19dU7xq [info] Step 9 is in state "end".
    2021-04-09T16:34:29+0000 5xM19dU7xq [info] POST request for step "10"
    2021-04-09T16:34:29+0000 5xM19dU7xq [info] startStep("10")
    2021-04-09T16:34:29+0000 5xM19dU7xq [info] moveNewVersionInPlace()
    2021-04-09T16:34:29+0000 5xM19dU7xq [info] storage location: /data/updater-oc0j58g1t2ff/downloads/nextcloud/
    2021-04-09T16:34:29+0000 5xM19dU7xq [error] POST request failed with other exception
    2021-04-09T16:34:29+0000 5xM19dU7xq [error] Exception: Exception
    Message: Could not rmdir /data/updater-oc0j58g1t2ff/downloads/nextcloud/resources/config
    Code:0
    Trace:
    #0 /config/www/nextcloud/updater/index.php(1071): Updater->moveWithExclusions('/data/updater-o...', Array)
    #1 /config/www/nextcloud/updater/index.php(1366): Updater->moveNewVersionInPlace()
    #2 {main}
    File:/config/www/nextcloud/updater/index.php
    Line:1045
    
    2021-04-09T16:34:29+0000 5xM19dU7xq [info] rollbackChanges("10")
    2021-04-09T16:34:29+0000 5xM19dU7xq [info] unlink .step
    2021-04-09T16:34:29+0000 5xM19dU7xq [info] rollbackChanges - step >= 7
    2021-04-09T16:34:29+0000 5xM19dU7xq [info] end of  rollbackChanges()
    2021-04-09T16:34:45+0000 QqpyoF3MqT [info] request to updater
    2021-04-09T16:34:45+0000 QqpyoF3MqT [info] currentStep()
    2021-04-09T16:34:45+0000 QqpyoF3MqT [info] POST request for step "10"
    2021-04-09T16:34:45+0000 QqpyoF3MqT [info] startStep("10")
    2021-04-09T16:34:45+0000 QqpyoF3MqT [info] moveNewVersionInPlace()
    2021-04-09T16:34:45+0000 QqpyoF3MqT [info] storage location: /data/updater-oc0j58g1t2ff/downloads/nextcloud/
    2021-04-09T16:34:46+0000 QqpyoF3MqT [error] POST request failed with other exception
    2021-04-09T16:34:46+0000 QqpyoF3MqT [error] Exception: Exception
    Message: Could not rmdir /data/updater-oc0j58g1t2ff/downloads/nextcloud/core/doc/user/_static/fonts/Lato
    Code:0
    Trace:
    #0 /config/www/nextcloud/updater/index.php(1071): Updater->moveWithExclusions('/data/updater-o...', Array)
    #1 /config/www/nextcloud/updater/index.php(1366): Updater->moveNewVersionInPlace()
    #2 {main}
    File:/config/www/nextcloud/updater/index.php
    Line:1045
    
    2021-04-09T16:34:46+0000 QqpyoF3MqT [info] rollbackChanges("10")
    2021-04-09T16:34:46+0000 QqpyoF3MqT [info] unlink .step
    2021-04-09T16:34:46+0000 QqpyoF3MqT [info] rollbackChanges - step >= 7
    2021-04-09T16:34:46+0000 QqpyoF3MqT [info] end of  rollbackChanges()
    2021-04-09T16:34:53+0000 3wlFKW0GZx [info] request to updater
    2021-04-09T16:34:53+0000 3wlFKW0GZx [info] currentStep()
    2021-04-09T16:34:53+0000 3wlFKW0GZx [info] show HTML page
    2021-04-09T16:34:53+0000 3wlFKW0GZx [info] current version: 20.0.5 build time: 
    2021-04-09T16:36:08+0000 ZvXund2W6Y [info] request to updater
    2021-04-09T16:36:08+0000 ZvXund2W6Y [info] currentStep()
    2021-04-09T16:36:08+0000 ZvXund2W6Y [info] show HTML page
    2021-04-09T16:36:08+0000 ZvXund2W6Y [info] current version: 20.0.5 build time: 
    2021-04-09T16:37:13+0000 xjdqDZcNHZ [info] request to updater
    2021-04-09T16:37:13+0000 xjdqDZcNHZ [info] currentStep()
    2021-04-09T16:37:13+0000 xjdqDZcNHZ [info] show HTML page
    2021-04-09T16:37:13+0000 xjdqDZcNHZ [info] current version: 20.0.5 build time: 
    2021-04-09T16:37:37+0000 qE06P5QLi6 [info] request to updater
    2021-04-09T16:37:37+0000 qE06P5QLi6 [info] currentStep()
    2021-04-09T16:37:37+0000 qE06P5QLi6 [info] show HTML page
    2021-04-09T16:37:37+0000 qE06P5QLi6 [info] current version: 20.0.5 build time: 
    2021-04-09T16:37:49+0000 HNY3D0HQFb [info] request to updater
    2021-04-09T16:37:49+0000 HNY3D0HQFb [info] currentStep()
    2021-04-09T16:37:49+0000 HNY3D0HQFb [info] show HTML page
    2021-04-09T16:37:49+0000 HNY3D0HQFb [info] current version: 20.0.5 build time: 
    2021-04-09T16:37:54+0000 yVQsCVbaBP [info] request to updater
    2021-04-09T16:37:54+0000 yVQsCVbaBP [info] currentStep()
    2021-04-09T16:37:54+0000 yVQsCVbaBP [info] show HTML page
    2021-04-09T16:37:54+0000 yVQsCVbaBP [info] current version: 20.0.5 build time: 
    2021-04-09T16:38:10+0000 gnO9gb19gQ [info] request to updater
    2021-04-09T16:38:10+0000 gnO9gb19gQ [info] currentStep()
    2021-04-09T16:38:10+0000 gnO9gb19gQ [info] show HTML page
    2021-04-09T16:38:10+0000 gnO9gb19gQ [info] current version: 20.0.5 build time: 
    2021-04-09T16:38:28+0000 PxCM4gzJVq [info] request to updater
    2021-04-09T16:38:28+0000 PxCM4gzJVq [info] currentStep()
    2021-04-09T16:38:28+0000 PxCM4gzJVq [info] show HTML page
    2021-04-09T16:38:28+0000 PxCM4gzJVq [info] current version: 20.0.5 build time: 
    2021-04-09T16:38:31+0000 7THCsUhyW5 [info] request to updater
    2021-04-09T16:38:31+0000 7THCsUhyW5 [info] currentStep()
    2021-04-09T16:38:31+0000 7THCsUhyW5 [info] show HTML page
    2021-04-09T16:38:31+0000 7THCsUhyW5 [info] current version: 20.0.5 build time: 
    2021-04-09T16:39:30+0000 HIJkHbCKka [info] request to updater
    2021-04-09T16:39:30+0000 HIJkHbCKka [info] currentStep()
    2021-04-09T16:39:30+0000 HIJkHbCKka [info] show HTML page
    2021-04-09T16:39:30+0000 HIJkHbCKka [info] current version: 20.0.5 build time: 
    2021-04-09T16:39:34+0000 t25n4cLGfS [info] request to updater
    2021-04-09T16:39:34+0000 t25n4cLGfS [info] currentStep()
    2021-04-09T16:39:34+0000 t25n4cLGfS [info] show HTML page
    2021-04-09T16:39:34+0000 t25n4cLGfS [info] current version: 20.0.5 build time: 
    2021-04-09T16:39:41+0000 W7dnEV6lzy [info] request to updater
    2021-04-09T16:39:41+0000 W7dnEV6lzy [info] currentStep()
    2021-04-09T16:39:41+0000 W7dnEV6lzy [info] show HTML page
    2021-04-09T16:39:41+0000 W7dnEV6lzy [info] current version: 20.0.5 build time: 
    2021-04-09T16:42:21+0000 w8Hh2TsRmL [info] request to updater
    2021-04-09T16:42:21+0000 w8Hh2TsRmL [info] currentStep()
    2021-04-09T16:42:21+0000 w8Hh2TsRmL [info] show HTML page
    2021-04-09T16:42:21+0000 w8Hh2TsRmL [info] current version: 20.0.5 build time: 
    2021-04-09T16:42:21+0000 w8Hh2TsRmL [info] getUpdateServerResponse()
    2021-04-09T16:42:21+0000 w8Hh2TsRmL [info] updaterServer: https://updates.nextcloud.com/updater_server/
    2021-04-09T16:42:21+0000 w8Hh2TsRmL [info] releaseChannel: stable
    2021-04-09T16:42:21+0000 w8Hh2TsRmL [info] internal version: 20.0.5.2
    2021-04-09T16:42:21+0000 w8Hh2TsRmL [info] updateURL: https://updates.nextcloud.com/updater_server/?version=20x0x5x2xxxstablexxx7x3x21
    2021-04-09T16:42:22+0000 w8Hh2TsRmL [info] getUpdateServerResponse response: Array
    (
        [version] => 21.0.1.1
        [versionstring] => Nextcloud 21.0.1
        [url] => https://download.nextcloud.com/server/releases/nextcloud-21.0.1.zip
        [web] => https://docs.nextcloud.com/server/21/admin_manual/maintenance/upgrade.html
        [changes] => https://updates.nextcloud.com/changelog_server/?version=21.0.1
        [autoupdater] => 1
        [eol] => 0
        [signature] => YJQMb8iq13NhbvfEddaSjNeqlMe/dB0nJ27EwmiAuqSMMRpvVg4BjijfNjoG8lY9
    rs0k+YN4EkGSr1lhZvdWZ9LpmP1wug/l1wj8lWzjxp/588yp5jHs24XBsi14GrDY
    tgcx/V6E2ELFfgXJY6R4y2bIaaDPPjDfi+a2nq5ut0RTalGaUh6jr1dzaKQ0rJXm
    lqcZSGdY+smeb7ciFf0hykivKZATXHLczvYO3FUu/HVqlgRUxi+Q+wNjFmfFL3Vr
    RGlZGz7bpa48/2sprNJ2CYGVLMjxtktUrUIH6NB0diVMK8kAd7+OIqtjCmUG307S
    qRc0DHdtzXMmzq4t4PfZhg==
    )
    
    2021-04-09T16:42:22+0000 w8Hh2TsRmL [info] checkForUpdate() Array
    (
        [version] => 21.0.1.1
        [versionstring] => Nextcloud 21.0.1
        [url] => https://download.nextcloud.com/server/releases/nextcloud-21.0.1.zip
        [web] => https://docs.nextcloud.com/server/21/admin_manual/maintenance/upgrade.html
        [changes] => https://updates.nextcloud.com/changelog_server/?version=21.0.1
        [autoupdater] => 1
        [eol] => 0
        [signature] => YJQMb8iq13NhbvfEddaSjNeqlMe/dB0nJ27EwmiAuqSMMRpvVg4BjijfNjoG8lY9
    rs0k+YN4EkGSr1lhZvdWZ9LpmP1wug/l1wj8lWzjxp/588yp5jHs24XBsi14GrDY
    tgcx/V6E2ELFfgXJY6R4y2bIaaDPPjDfi+a2nq5ut0RTalGaUh6jr1dzaKQ0rJXm
    lqcZSGdY+smeb7ciFf0hykivKZATXHLczvYO3FUu/HVqlgRUxi+Q+wNjFmfFL3Vr
    RGlZGz7bpa48/2sprNJ2CYGVLMjxtktUrUIH6NB0diVMK8kAd7+OIqtjCmUG307S
    qRc0DHdtzXMmzq4t4PfZhg==
    )
    
    2021-04-09T16:42:22+0000 w8Hh2TsRmL [info] getChangelogURL()
    2021-04-09T16:42:22+0000 w8Hh2TsRmL [info] end of checkForUpdate() Update to Nextcloud 21.0.1 available. (channel: "stable")<br /><span class="light">Following file will be downloaded automatically:</span> <code class="light">https://download.nextcloud.com/server/releases/nextcloud-21.0.1.zip</code><br /><a class="external_link" href="/api/browser/proxy?url=https%3A%2F%2Fnextcloud.com%2Fchangelog%2F%2321-0-1" target="_blank" rel="noreferrer noopener">Open changelog ↗</a>
    2021-04-09T16:42:27+0000 0Y3tQ0D9fN [info] request to updater
    2021-04-09T16:42:27+0000 0Y3tQ0D9fN [info] currentStep()
    2021-04-09T16:42:27+0000 0Y3tQ0D9fN [info] POST request for step "1"
    2021-04-09T16:42:27+0000 0Y3tQ0D9fN [info] startStep("1")
    2021-04-09T16:42:27+0000 0Y3tQ0D9fN [info] checkForExpectedFilesAndFolders()
    2021-04-09T16:42:27+0000 0Y3tQ0D9fN [info] end of checkForExpectedFilesAndFolders()
    2021-04-09T16:42:27+0000 0Y3tQ0D9fN [info] endStep("1")
    2021-04-09T16:42:27+0000 MbjTB5fOVK [info] request to updater
    2021-04-09T16:42:27+0000 MbjTB5fOVK [info] currentStep()
    2021-04-09T16:42:27+0000 MbjTB5fOVK [info] Step 1 is in state "end".
    2021-04-09T16:42:27+0000 MbjTB5fOVK [info] POST request for step "2"
    2021-04-09T16:42:27+0000 MbjTB5fOVK [info] startStep("2")
    2021-04-09T16:42:27+0000 MbjTB5fOVK [info] checkWritePermissions()
    2021-04-09T16:42:27+0000 MbjTB5fOVK [info] end of checkWritePermissions()
    2021-04-09T16:42:27+0000 MbjTB5fOVK [info] endStep("2")
    2021-04-09T16:42:27+0000 rY4KszPIMl [info] request to updater
    2021-04-09T16:42:27+0000 rY4KszPIMl [info] currentStep()
    2021-04-09T16:42:27+0000 rY4KszPIMl [info] Step 2 is in state "end".
    2021-04-09T16:42:27+0000 rY4KszPIMl [info] POST request for step "3"
    2021-04-09T16:42:27+0000 rY4KszPIMl [info] startStep("3")
    2021-04-09T16:42:27+0000 rY4KszPIMl [info] createBackup()
    2021-04-09T16:42:27+0000 rY4KszPIMl [info] backup folder location: /data/updater-oc0j58g1t2ff/backups/nextcloud-20.0.5.2-1617986547/
    2021-04-09T16:42:34+0000 rY4KszPIMl [info] end of createBackup()
    2021-04-09T16:42:34+0000 rY4KszPIMl [info] endStep("3")
    2021-04-09T16:42:34+0000 r1gFMjTc6f [info] request to updater
    2021-04-09T16:42:34+0000 r1gFMjTc6f [info] currentStep()
    2021-04-09T16:42:34+0000 r1gFMjTc6f [info] Step 3 is in state "end".
    2021-04-09T16:42:34+0000 r1gFMjTc6f [info] POST request for step "4"
    2021-04-09T16:42:34+0000 r1gFMjTc6f [info] startStep("4")
    2021-04-09T16:42:34+0000 r1gFMjTc6f [info] downloadUpdate()
    2021-04-09T16:42:34+0000 r1gFMjTc6f [info] getUpdateServerResponse()
    2021-04-09T16:42:34+0000 r1gFMjTc6f [info] updaterServer: https://updates.nextcloud.com/updater_server/
    2021-04-09T16:42:34+0000 r1gFMjTc6f [info] releaseChannel: stable
    2021-04-09T16:42:34+0000 r1gFMjTc6f [info] internal version: 20.0.5.2
    2021-04-09T16:42:34+0000 r1gFMjTc6f [info] updateURL: https://updates.nextcloud.com/updater_server/?version=20x0x5x2xxxstablexxx7x3x21
    2021-04-09T16:42:35+0000 r1gFMjTc6f [info] getUpdateServerResponse response: Array
    (
        [version] => 21.0.1.1
        [versionstring] => Nextcloud 21.0.1
        [url] => https://download.nextcloud.com/server/releases/nextcloud-21.0.1.zip
        [web] => https://docs.nextcloud.com/server/21/admin_manual/maintenance/upgrade.html
        [changes] => https://updates.nextcloud.com/changelog_server/?version=21.0.1
        [autoupdater] => 1
        [eol] => 0
        [signature] => YJQMb8iq13NhbvfEddaSjNeqlMe/dB0nJ27EwmiAuqSMMRpvVg4BjijfNjoG8lY9
    rs0k+YN4EkGSr1lhZvdWZ9LpmP1wug/l1wj8lWzjxp/588yp5jHs24XBsi14GrDY
    tgcx/V6E2ELFfgXJY6R4y2bIaaDPPjDfi+a2nq5ut0RTalGaUh6jr1dzaKQ0rJXm
    lqcZSGdY+smeb7ciFf0hykivKZATXHLczvYO3FUu/HVqlgRUxi+Q+wNjFmfFL3Vr
    RGlZGz7bpa48/2sprNJ2CYGVLMjxtktUrUIH6NB0diVMK8kAd7+OIqtjCmUG307S
    qRc0DHdtzXMmzq4t4PfZhg==
    )
    
    2021-04-09T16:42:35+0000 r1gFMjTc6f [info] storage location exists
    2021-04-09T16:42:46+0000 r1gFMjTc6f [info] end of downloadUpdate()
    2021-04-09T16:42:46+0000 r1gFMjTc6f [info] endStep("4")
    2021-04-09T16:42:46+0000 qkZ0fkhAMk [info] request to updater
    2021-04-09T16:42:46+0000 qkZ0fkhAMk [info] currentStep()
    2021-04-09T16:42:46+0000 qkZ0fkhAMk [info] Step 4 is in state "end".
    2021-04-09T16:42:46+0000 qkZ0fkhAMk [info] POST request for step "5"
    2021-04-09T16:42:46+0000 qkZ0fkhAMk [info] startStep("5")
    2021-04-09T16:42:46+0000 qkZ0fkhAMk [info] verifyIntegrity()
    2021-04-09T16:42:46+0000 qkZ0fkhAMk [info] getUpdateServerResponse()
    2021-04-09T16:42:46+0000 qkZ0fkhAMk [info] updaterServer: https://updates.nextcloud.com/updater_server/
    2021-04-09T16:42:46+0000 qkZ0fkhAMk [info] releaseChannel: stable
    2021-04-09T16:42:46+0000 qkZ0fkhAMk [info] internal version: 20.0.5.2
    2021-04-09T16:42:46+0000 qkZ0fkhAMk [info] updateURL: https://updates.nextcloud.com/updater_server/?version=20x0x5x2xxxstablexxx7x3x21
    2021-04-09T16:42:46+0000 qkZ0fkhAMk [info] getUpdateServerResponse response: Array
    (
        [version] => 21.0.1.1
        [versionstring] => Nextcloud 21.0.1
        [url] => https://download.nextcloud.com/server/releases/nextcloud-21.0.1.zip
        [web] => https://docs.nextcloud.com/server/21/admin_manual/maintenance/upgrade.html
        [changes] => https://updates.nextcloud.com/changelog_server/?version=21.0.1
        [autoupdater] => 1
        [eol] => 0
        [signature] => YJQMb8iq13NhbvfEddaSjNeqlMe/dB0nJ27EwmiAuqSMMRpvVg4BjijfNjoG8lY9
    rs0k+YN4EkGSr1lhZvdWZ9LpmP1wug/l1wj8lWzjxp/588yp5jHs24XBsi14GrDY
    tgcx/V6E2ELFfgXJY6R4y2bIaaDPPjDfi+a2nq5ut0RTalGaUh6jr1dzaKQ0rJXm
    lqcZSGdY+smeb7ciFf0hykivKZATXHLczvYO3FUu/HVqlgRUxi+Q+wNjFmfFL3Vr
    RGlZGz7bpa48/2sprNJ2CYGVLMjxtktUrUIH6NB0diVMK8kAd7+OIqtjCmUG307S
    qRc0DHdtzXMmzq4t4PfZhg==
    )
    
    2021-04-09T16:42:46+0000 qkZ0fkhAMk [info] storage location: /data/updater-oc0j58g1t2ff/downloads/
    2021-04-09T16:42:47+0000 qkZ0fkhAMk [info] end of verifyIntegrity()
    2021-04-09T16:42:47+0000 qkZ0fkhAMk [info] endStep("5")
    2021-04-09T16:42:47+0000 AYmOLCEHlX [info] request to updater
    2021-04-09T16:42:47+0000 AYmOLCEHlX [info] currentStep()
    2021-04-09T16:42:47+0000 AYmOLCEHlX [info] Step 5 is in state "end".
    2021-04-09T16:42:47+0000 AYmOLCEHlX [info] POST request for step "6"
    2021-04-09T16:42:47+0000 AYmOLCEHlX [info] startStep("6")
    2021-04-09T16:42:48+0000 AYmOLCEHlX [info] extractDownload()
    2021-04-09T16:42:48+0000 AYmOLCEHlX [info] storage location: /data/updater-oc0j58g1t2ff/downloads/
    2021-04-09T16:43:10+0000 na6Cb94QiZ [info] request to updater
    2021-04-09T16:43:10+0000 na6Cb94QiZ [info] currentStep()
    2021-04-09T16:43:10+0000 na6Cb94QiZ [info] Step 6 is in state "start".
    2021-04-09T16:43:17+0000 57E3acoMTj [info] request to updater
    2021-04-09T16:43:17+0000 57E3acoMTj [info] currentStep()
    2021-04-09T16:43:17+0000 57E3acoMTj [info] Step 6 is in state "start".
    2021-04-09T16:43:20+0000 f4G4x8zpkV [info] request to updater
    2021-04-09T16:43:20+0000 f4G4x8zpkV [info] currentStep()
    2021-04-09T16:43:20+0000 f4G4x8zpkV [info] Step 6 is in state "start".
    2021-04-09T16:43:21+0000 CSs0UyXwZ0 [info] request to updater
    2021-04-09T16:43:21+0000 CSs0UyXwZ0 [info] currentStep()
    2021-04-09T16:43:21+0000 CSs0UyXwZ0 [info] Step 6 is in state "start".
    2021-04-09T16:43:23+0000 xYIsfh46zq [info] request to updater
    2021-04-09T16:43:23+0000 xYIsfh46zq [info] currentStep()
    2021-04-09T16:43:23+0000 xYIsfh46zq [info] Step 6 is in state "start".
    2021-04-09T16:44:18+0000 VEqf78rVD2 [info] request to updater
    2021-04-09T16:44:18+0000 VEqf78rVD2 [info] currentStep()
    2021-04-09T16:44:18+0000 VEqf78rVD2 [info] Step 6 is in state "start".
    2021-04-09T16:49:50+0000 2qjwocqAPL [info] updater cli is executed
    2021-04-09T16:49:50+0000 2qjwocqAPL [info] currentStep()
    2021-04-09T16:49:50+0000 2qjwocqAPL [info] Step 6 is in state "start".
    2021-04-09T16:51:09+0000 HQGiSJfDSm [info] request to updater
    2021-04-09T16:51:09+0000 HQGiSJfDSm [info] currentStep()
    2021-04-09T16:51:09+0000 HQGiSJfDSm [info] Step 6 is in state "start".
    2021-04-09T16:52:51+0000 z1vVUAVkjd [info] request to updater
    2021-04-09T16:52:51+0000 z1vVUAVkjd [info] currentStep()
    2021-04-09T16:52:51+0000 z1vVUAVkjd [info] Step 6 is in state "start".
    
  7. caugner commented on Apr 9, 2021

    @caugner
    Contributor

    @rullzer Given that the update to 21.0.1 broke the Nextcloud instance for at least 4 users already (on top of the other two issues #26469 and #26470), would it be possible to have the stable channel point back to 20.0.9?

    /cc @AndyScherzinger

  8. caugner commented on Apr 9, 2021

    @caugner
    Contributor

    @hubertbanas @fubz What operating system and version of PHP are you running?

  9. Fuzzillogic commented on Apr 9, 2021

    @Fuzzillogic

    @caugner: Ubuntu 20.04.2 LTS here. (same issue)

    $ php --version
    PHP 7.4.3 (cli) (built: Oct  6 2020 15:47:56) ( NTS )
    

    In my case however, step 11 seems to be executed fine:

    2021-04-09T16:40:11+0200 FgFpZ1OaSB [info] endStep("10")
    2021-04-09T16:40:15+0200 gZgYmNshb0 [info] request to updater
    2021-04-09T16:40:15+0200 gZgYmNshb0 [info] currentStep()
    2021-04-09T16:40:15+0200 gZgYmNshb0 [info] Step 10 is in state "end".
    2021-04-09T16:40:15+0200 gZgYmNshb0 [info] POST request for step "11"
    2021-04-09T16:40:15+0200 gZgYmNshb0 [info] startStep("11")
    2021-04-09T16:40:15+0200 gZgYmNshb0 [info] setMaintenanceMode("false")
    2021-04-09T16:40:15+0200 gZgYmNshb0 [info] configFileName /var/www/nextcloud/updater/../config/config.php
    2021-04-09T16:40:15+0200 gZgYmNshb0 [info] end of setMaintenanceMode()
    2021-04-09T16:40:15+0200 gZgYmNshb0 [info] endStep("11")
    2021-04-09T16:40:15+0200 ATeVyHBgWW [info] request to updater
    2021-04-09T16:40:15+0200 ATeVyHBgWW [info] currentStep()
    2021-04-09T16:40:15+0200 ATeVyHBgWW [info] Step 11 is in state "end".
    2021-04-09T16:40:15+0200 ATeVyHBgWW [info] POST request for step "12"
    2021-04-09T16:40:16+0200 ATeVyHBgWW [info] startStep("12")
    2021-04-09T16:40:16+0200 ATeVyHBgWW [info] finalize()
    2021-04-09T16:40:16+0200 ATeVyHBgWW [info] storage location: /var/www/nextcloud/data/updater-oc4fb497ede1/downloads/nextcloud/
    2021-04-09T16:40:16+0200 ATeVyHBgWW [info] call opcache_reset()
    2021-04-09T16:40:16+0200 ATeVyHBgWW [info] end of finalize()
    2021-04-09T16:40:16+0200 ATeVyHBgWW [info] endStep("12")
    

    And, the instance worked after updated, I noticed the problem when manually trying to execute the occ command. Disabling the cache helped in my case as well.

  10. qinohe commented on Apr 9, 2021

    @qinohe

    Though, my Nextcloud instance is running & client is working I cannot add the missing tables using OCC.
    It also seems the installer missed no steps like hubertbanas shows, maintainance is off.
    Used updater: web.
    I have more issues(minor) which shouldn't pollute up this thread.

    Debian - Buster 10.9
    Apache Version - Apache/2.4.38 (Debian)
    Apache PHP version - 7.4.16
    MariaDB - Ver 15.1 Distrib 10.3.27-MariaDB, for debian-linux-gnu (x86_64) using readline 5.2

    $ php -v
    PHP 8.0.3 (cli) (built: Mar  5 2021 08:38:30) ( NTS )
    Zend Engine v4.0.3, Copyright (c) Zend Technologies
        with Zend OPcache v8.0.3, Copyright (c), by Zend Technologies
    
  11. hubertbanas commented on Apr 9, 2021

    @hubertbanas

    @caugner

    Debian 10.9
    PHP 7.3.27-1~deb10u1
    mariadb-server-10.3
    nginx 1.14.2-2+deb10u3
    Linux Kernel 4.19.0-16-amd64
    
  12. caugner commented on Apr 9, 2021

    @caugner
    Contributor

    Disabling the cache helped in my case as well.

    @Fuzzillogic Do you mean disabling OPcache?

    If so, a problem could be that upgrading via the commandline (i.e. occ) only resets the OPcache for the CLI context and most likely keeps the OPcache of the webserver php untouched (i.e. outdated). On the other hand, the corresponding code in the Updater is rather old and it would be surprising if this caused problems only now.

    $ php -v
    PHP 8.0.3 (cli)

    @qinohe Please try to run occ with PHP 7.4, as PHP 8.0 is not yet officially supported, see System requirements.

  13. Fuzzillogic commented on Apr 9, 2021

    @Fuzzillogic

    @caugner no, removing 'memcache.local' => '\OC\Memcache\APCu' from my config, as per #26184.

  14. qinohe commented on Apr 9, 2021

    @qinohe

    @caugner , no it gets killed too using PHP 7.4.16 (cli)
    BTW. using PHP8 for CLI (only) didn't give me anymore trouble, everything works, so you know ;-)

  15. caugner commented on Apr 9, 2021

    @caugner
    Contributor

    @hubertbanas @qinohe Do you have Memcache or another cache configured like @Fuzzillogic (good catch!)?

    • If yes, could you try if disabling the cache temporarily solves the issue for you, too?
    • If not, could you post your redacted (see below) config.php?
    If you have access to your command line run e.g.:
    sudo -u www-data php occ config:list system
    from within your Nextcloud installation folder
    
    or 
    
    Insert your config.php content here. 
    Make sure to remove all sensitive content such as passwords. (e.g. database password, passwordsalt, secret, smtp password, …)
    
  16. qinohe commented on Apr 9, 2021

    @qinohe

    I'm using "memcache.local' => '\OC\Memcache\APCu"
    And yes disabling it did indeed add the tables, prove:

    Check indices of the filecache table.
    Adding additional size index to the filecache table, this can take some time...
    Filecache table updated successfully.
    Check indices of the twofactor_providers table.
    Check indices of the login_flow_v2 table.
    Check indices of the whats_new table.
    Check indices of the cards table.
    Check indices of the cards_properties table.
    Check indices of the calendarobjects_props table.
    Check indices of the schedulingobjects table.
    Check indices of the oc_properties table.
    

    I can safely enable the cache again?

  17. tothonx commented on Apr 9, 2021

    @tothonx

    I also have an issue updating.
    Now, when I try to use occ, my server (helios4) blocks and I have to reboot it to get accessed to it.
    PHP 7.3.

  18. caugner commented on Apr 9, 2021

    @caugner
    Contributor

    @qinohe Thanks! Enabling the cache again should be safe.

    Check indices of the filecache table.

    I'm wondering whether Nextcloud iterates over all rows of the filecache table and either checks if they exist in the cache or stores them there.

    @BkSouX Please check if you have memcache.local set in your config, see my comment above.

  19. qinohe commented on Apr 9, 2021

    @qinohe

    Thanks for the service @caugner & @Fuzzillogic for finding the culprit.

    @caugner, I don't know and since it's after the fact I'm probably unable to check it!

  20. Fuzzillogic commented on Apr 9, 2021

    @Fuzzillogic

    @qinohe and @caugner If I reenable the cache, the problem is back. That is: in another shell I monitor with top, and then even a mere sudo -u www-data ./occ (so no options) makes php take gigabytes within seconds. Which is, given this is a old AMD E-450 machine, quite an accomplishment :) Before things ran out of control (or into OOM, specifically) I aborted with Ctrl+c.

  21. qinohe commented on Apr 9, 2021

    @qinohe

    @caugner, I did read the cache and it seems to have epoch times atached, though it's to much (for me) to make soup of it ;-)
    I could mail you the file.

    @Fuzzillogic, not what I'm seeing here with my php version, see previous posts.

  22. caugner commented on Apr 9, 2021

    @caugner
    Contributor

    @qinohe and @Fuzzillogic Let's continue the conversation about the Memcache/APCu-related issue in #25742.

    Same for @quizilkend, @hubertbanas and @BkSouX, if you also use Memcache/APCu ('memcache.local' => '\OC\Memcache\APCu').

  23. kesselb commented on Apr 9, 2021

    @kesselb
    Contributor

    Closing in favour of #26184 #25742

  24. b-pfl commented on Apr 13, 2021

    @b-pfl

    @kesselb One open issue remains: Given the regular upgrade path (https://docs.nextcloud.com/server/21/admin_manual/maintenance/upgrade.html), NC should first upgrade from 20.0.8 to 20.0.9 and THEN maybe to 21.x. So why is the upgrade skipping the last point release.
    This is an essential bug, especially as long as it is not clear whether NC21 still supports MySQL 5.7 and if no proper checks for this are implemented.

  25. kesselb commented on Apr 13, 2021

    @kesselb
    Contributor

    NC should first upgrade from 20.0.8 to 20.0.9 and THEN maybe to 21.x. So why is the upgrade skipping the last point release.

    #18485

    This is an essential bug, especially as long as it is not clear whether NC21 still supports MySQL 5.7 and if no proper checks for this are implemented.

    Technically yes. We do not support it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    0. Needs triagePending check for reproducibility or if it fits our roadmapbug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions