"update in progress"


Nextcloud version (eg, 11.0.2):
Operating system and version (unknown): reeBSD w3.goneo.de 11.0-RELEASE-p2 FreeBSD 11.0-RELEASE-p2 #0: Mon Oct 24 06:55:27 UTC 2016 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64
Apache or nginx version: Apache/2.2.31
PHP version (eg, 5.6): 5.6.30
Is this the first time you’ve seen this error?: yes

Can you reliably replicate it? (If so, please outline steps):

updated from Nextcloud 11.0 to 11.2 via the update app

The issue you are facing:

I see a white page saying “update in progress” and nothing happens. If I open the index.php page I find

<?php http_response_code(503); die('Update in process.'); same for the page status.php The output of your Nextcloud log in **Admin > Logging**: The output of your config.php file in `/path/to/nextcloud` (make sure you remove any identifiable information!): <?php $CONFIG = array ( 'instanceid' => '**', 'passwordsalt' => '', 'secret' => '**', 'trusted_domains' => array ( 0 => 'is-k.de', 1 => 'www.is-k.de', ), 'datadirectory' => '**', 'overwrite.cli.url' => '**', 'dbtype' => 'mysql', 'version' => '11.0.0.10', 'dbname' => '**', 'dbhost' => 'localhost', 'dbtableprefix' => 'oc_', 'dbuser' => '**', 'dbpassword' => '**', 'logtimezone' => 'UTC', 'installed' => true, 'theme' => '', 'loglevel' => 2, 'maintenance' => false, 'dbport' => '', 'updater.secret' => '**', ); The output of your Apache/nginx/system log in `/var/log/____`: (not relevant, as the php pages were apparently broken during the upgrade) --- Remember, this information may be requested if it isn't supplied; for fastest response please provide as much as you can :heart: Feel free to use a pastebin service, otherwise log files can be indented with 4 spaces on each line to present them in a friendlier way on the forum.

Solved it for me by doing a manual update, but there seems to be a bug, because these things should not happen during upgrade.

Maybe the process was interrupted because of a too low memory limit?

Here is the contents of updater.log:

2017-04-20T14:08:11+0200 wWD0po0wXZ [info] request to updater
2017-04-20T14:08:11+0200 wWD0po0wXZ [info] currentStep()
2017-04-20T14:08:11+0200 wWD0po0wXZ [info] show HTML page
2017-04-20T14:08:11+0200 wWD0po0wXZ [info] current version: 11.0.0 build time: 2016-12-13T13:24:49+00:00 ed7b18799f7d57ab9346e224b4dcea0961c9537f
2017-04-20T14:08:11+0200 wWD0po0wXZ [info] getUpdateServerResponse()
2017-04-20T14:08:11+0200 wWD0po0wXZ [info] updaterServer: https://updates.nextcloud.org/updater_server/
2017-04-20T14:08:11+0200 wWD0po0wXZ [info] releaseChannel: stable
2017-04-20T14:08:11+0200 wWD0po0wXZ [info] internal version: 11.0.0.10
2017-04-20T14:08:11+0200 wWD0po0wXZ [info] getUpdateServerResponse response: Array
(
[version] => 11.0.2.7
[versionstring] => Nextcloud 11.0.2
[url] => https://download.nextcloud.com/server/releases/nextcloud-11.0.2.zip
[web] => https://docs.nextcloud.com/server/11/admin_manual/maintenance/upgrade.html
[autoupdater] => 1
[signature] => hvw4zZs6gSeP4TlU0kkfpJ1tgaSrD2M8V/MANX/YqwZBy9mG8z67Mtt07sbYByHh
kWVd2uVmVoiEcmNEtiJUE1WEcrC+YSAFUTl8P4MjUa2jEC3k37zIn1WcFI8ZqRiH
EBYiSef87rZXjcvuta5fC4O0cOaxU3pVkNVqeP9T0tHEI4Oorj5Uj8qoiuIH2Xbc
chLfk+x/EatNAlTE6NJo6rJnquCErooOPgLl6k48oOcgJZZtOQ1xDhb69Yug25bv
V12smv+3iUGpQBIJnBhIZY+Ww7SOCCca/ss1f+/uEMr3NFGiDgJ4KYoxF/pYaGo4
MgK0pHPeAIesiUnEEq8y6w==
)

2017-04-20T14:08:11+0200 wWD0po0wXZ [info] checkForUpdate() Array
(
[version] => 11.0.2.7
[versionstring] => Nextcloud 11.0.2
[url] => https://download.nextcloud.com/server/releases/nextcloud-11.0.2.zip
[web] => https://docs.nextcloud.com/server/11/admin_manual/maintenance/upgrade.html
[autoupdater] => 1
[signature] => hvw4zZs6gSeP4TlU0kkfpJ1tgaSrD2M8V/MANX/YqwZBy9mG8z67Mtt07sbYByHh
kWVd2uVmVoiEcmNEtiJUE1WEcrC+YSAFUTl8P4MjUa2jEC3k37zIn1WcFI8ZqRiH
EBYiSef87rZXjcvuta5fC4O0cOaxU3pVkNVqeP9T0tHEI4Oorj5Uj8qoiuIH2Xbc
chLfk+x/EatNAlTE6NJo6rJnquCErooOPgLl6k48oOcgJZZtOQ1xDhb69Yug25bv
V12smv+3iUGpQBIJnBhIZY+Ww7SOCCca/ss1f+/uEMr3NFGiDgJ4KYoxF/pYaGo4
MgK0pHPeAIesiUnEEq8y6w==
)

2017-04-20T14:08:11+0200 wWD0po0wXZ [info] end of checkForUpdate() Update to Nextcloud 11.0.2 available. (channel: “stable”)
Following file will be downloaded automatically: https://download.nextcloud.com/server/releases/nextcloud-11.0.2.zip
2017-04-20T14:08:15+0200 syWRiLwpjm [info] request to updater
2017-04-20T14:08:15+0200 syWRiLwpjm [info] currentStep()
2017-04-20T14:08:15+0200 syWRiLwpjm [info] POST request for step "1"
2017-04-20T14:08:15+0200 syWRiLwpjm [info] startStep(“1”)
2017-04-20T14:08:15+0200 syWRiLwpjm [info] checkForExpectedFilesAndFolders()
2017-04-20T14:08:15+0200 syWRiLwpjm [info] end of checkForExpectedFilesAndFolders()
2017-04-20T14:08:15+0200 syWRiLwpjm [info] endStep(“1”)
2017-04-20T14:08:15+0200 FQl4w5c5Z3 [info] request to updater
2017-04-20T14:08:15+0200 FQl4w5c5Z3 [info] currentStep()
2017-04-20T14:08:15+0200 FQl4w5c5Z3 [info] Step 1 is in state “end”.
2017-04-20T14:08:15+0200 FQl4w5c5Z3 [info] POST request for step "2"
2017-04-20T14:08:15+0200 FQl4w5c5Z3 [info] startStep(“2”)
2017-04-20T14:08:15+0200 FQl4w5c5Z3 [info] checkWritePermissions()
2017-04-20T14:08:15+0200 FQl4w5c5Z3 [info] end of checkWritePermissions()
2017-04-20T14:08:15+0200 FQl4w5c5Z3 [info] endStep(“2”)
2017-04-20T14:08:15+0200 d9Hto81o2P [info] request to updater
2017-04-20T14:08:15+0200 d9Hto81o2P [info] currentStep()
2017-04-20T14:08:15+0200 d9Hto81o2P [info] Step 2 is in state “end”.
2017-04-20T14:08:15+0200 d9Hto81o2P [info] POST request for step "3"
2017-04-20T14:08:15+0200 d9Hto81o2P [info] startStep(“3”)
2017-04-20T14:08:15+0200 d9Hto81o2P [info] setMaintenanceMode(“true”)
2017-04-20T14:08:15+0200 d9Hto81o2P [info] configFileName /data/web/1/000/038/926/134119/htdocs/nextcloud/updater/…/config/config.php
2017-04-20T14:08:15+0200 d9Hto81o2P [info] end of setMaintenanceMode()
2017-04-20T14:08:15+0200 d9Hto81o2P [info] endStep(“3”)
2017-04-20T14:08:15+0200 WXfVgeCWEj [info] request to updater
2017-04-20T14:08:15+0200 WXfVgeCWEj [info] currentStep()
2017-04-20T14:08:15+0200 WXfVgeCWEj [info] Step 3 is in state “end”.
2017-04-20T14:08:15+0200 WXfVgeCWEj [info] POST request for step "4"
2017-04-20T14:08:16+0200 WXfVgeCWEj [info] startStep(“4”)
2017-04-20T14:08:16+0200 WXfVgeCWEj [info] createBackup()
2017-04-20T14:08:20+0200 WXfVgeCWEj [info] end of createBackup()
2017-04-20T14:08:20+0200 WXfVgeCWEj [info] endStep(“4”)
2017-04-20T14:08:20+0200 Ul0bI98lCc [info] request to updater
2017-04-20T14:08:20+0200 Ul0bI98lCc [info] currentStep()
2017-04-20T14:08:20+0200 Ul0bI98lCc [info] Step 4 is in state “end”.
2017-04-20T14:08:20+0200 Ul0bI98lCc [info] POST request for step "5"
2017-04-20T14:08:20+0200 Ul0bI98lCc [info] startStep(“5”)
2017-04-20T14:08:20+0200 Ul0bI98lCc [info] downloadUpdate()
2017-04-20T14:08:20+0200 Ul0bI98lCc [info] getUpdateServerResponse()
2017-04-20T14:08:20+0200 Ul0bI98lCc [info] updaterServer: https://updates.nextcloud.org/updater_server/
2017-04-20T14:08:20+0200 Ul0bI98lCc [info] releaseChannel: stable
2017-04-20T14:08:20+0200 Ul0bI98lCc [info] internal version: 11.0.0.10
2017-04-20T14:08:20+0200 Ul0bI98lCc [info] getUpdateServerResponse response: Array
(
[version] => 11.0.2.7
[versionstring] => Nextcloud 11.0.2
[url] => https://download.nextcloud.com/server/releases/nextcloud-11.0.2.zip
[web] => https://docs.nextcloud.com/server/11/admin_manual/maintenance/upgrade.html
[autoupdater] => 1
[signature] => hvw4zZs6gSeP4TlU0kkfpJ1tgaSrD2M8V/MANX/YqwZBy9mG8z67Mtt07sbYByHh
kWVd2uVmVoiEcmNEtiJUE1WEcrC+YSAFUTl8P4MjUa2jEC3k37zIn1WcFI8ZqRiH
EBYiSef87rZXjcvuta5fC4O0cOaxU3pVkNVqeP9T0tHEI4Oorj5Uj8qoiuIH2Xbc
chLfk+x/EatNAlTE6NJo6rJnquCErooOPgLl6k48oOcgJZZtOQ1xDhb69Yug25bv
V12smv+3iUGpQBIJnBhIZY+Ww7SOCCca/ss1f+/uEMr3NFGiDgJ4KYoxF/pYaGo4
MgK0pHPeAIesiUnEEq8y6w==
)

2017-04-20T14:08:24+0200 Ul0bI98lCc [info] end of downloadUpdate()
2017-04-20T14:08:24+0200 Ul0bI98lCc [info] endStep(“5”)
2017-04-20T14:08:24+0200 qr5oBYZLtP [info] request to updater
2017-04-20T14:08:24+0200 qr5oBYZLtP [info] currentStep()
2017-04-20T14:08:24+0200 qr5oBYZLtP [info] Step 5 is in state “end”.
2017-04-20T14:08:24+0200 qr5oBYZLtP [info] POST request for step "6"
2017-04-20T14:08:25+0200 qr5oBYZLtP [info] startStep(“6”)
2017-04-20T14:08:25+0200 qr5oBYZLtP [info] extractDownload()
2017-04-20T14:08:25+0200 qr5oBYZLtP [info] storage location: /web/1/000/038/926/134119/htdocs/nextcloud/data/updater-ocmodl0dPDNMZvvNuJeF/downloads/
2017-04-20T14:08:25+0200 qr5oBYZLtP [info] end of extractDownload()
2017-04-20T14:08:25+0200 qr5oBYZLtP [info] endStep(“6”)
2017-04-20T14:08:25+0200 ivu8Q3hjv9 [info] request to updater
2017-04-20T14:08:25+0200 ivu8Q3hjv9 [info] currentStep()
2017-04-20T14:08:25+0200 ivu8Q3hjv9 [info] Step 6 is in state “end”.
2017-04-20T14:08:25+0200 ivu8Q3hjv9 [info] POST request for step "7"
2017-04-20T14:08:25+0200 ivu8Q3hjv9 [info] startStep(“7”)
2017-04-20T14:08:25+0200 ivu8Q3hjv9 [info] replaceEntryPoints()
2017-04-20T14:08:25+0200 ivu8Q3hjv9 [info] replace index.php
2017-04-20T14:08:25+0200 ivu8Q3hjv9 [info] replace status.php
2017-04-20T14:08:25+0200 ivu8Q3hjv9 [info] replace remote.php
2017-04-20T14:08:25+0200 ivu8Q3hjv9 [info] replace public.php
2017-04-20T14:08:25+0200 ivu8Q3hjv9 [info] replace ocs/v1.php
2017-04-20T14:08:25+0200 ivu8Q3hjv9 [info] end of replaceEntryPoints()
2017-04-20T14:08:25+0200 ivu8Q3hjv9 [info] endStep(“7”)
2017-04-20T14:08:25+0200 ef0D4P64lE [info] request to updater
2017-04-20T14:08:25+0200 ef0D4P64lE [info] currentStep()
2017-04-20T14:08:25+0200 ef0D4P64lE [info] Step 7 is in state “end”.
2017-04-20T14:08:25+0200 ef0D4P64lE [info] POST request for step "8"
2017-04-20T14:08:25+0200 ef0D4P64lE [info] startStep(“8”)
2017-04-20T14:08:25+0200 ef0D4P64lE [info] deleteOldFiles()
2017-04-20T14:08:26+0200 ef0D4P64lE [info] config sample exists
2017-04-20T14:08:26+0200 ef0D4P64lE [info] thmes README exists
2017-04-20T14:08:27+0200 ef0D4P64lE [info] end of deleteOldFiles()
2017-04-20T14:08:27+0200 ef0D4P64lE [info] endStep(“8”)
2017-04-20T14:08:27+0200 n6T3m0S8pf [info] request to updater
2017-04-20T14:08:27+0200 n6T3m0S8pf [info] currentStep()
2017-04-20T14:08:27+0200 n6T3m0S8pf [info] Step 8 is in state “end”.
2017-04-20T14:08:27+0200 n6T3m0S8pf [info] POST request for step "9"
2017-04-20T14:08:27+0200 n6T3m0S8pf [info] startStep(“9”)
2017-04-20T14:08:27+0200 n6T3m0S8pf [info] moveNewVersionInPlace()
2017-04-20T14:08:27+0200 n6T3m0S8pf [info] storage location: /web/1/000/038/926/134119/htdocs/nextcloud/data/updater-ocmodl0dPDNMZvvNuJeF/downloads/nextcloud/
2017-04-20T14:08:27+0200 n6T3m0S8pf [info] end of moveNewVersionInPlace()
2017-04-20T14:08:27+0200 n6T3m0S8pf [info] endStep(“9”)
2017-04-20T14:08:31+0200 ZRC5UoIJpp [info] request to updater
2017-04-20T14:08:31+0200 ZRC5UoIJpp [info] currentStep()
2017-04-20T14:08:31+0200 ZRC5UoIJpp [info] Step 9 is in state “end”.
2017-04-20T14:08:31+0200 ZRC5UoIJpp [info] POST request for step "10"
2017-04-20T14:08:31+0200 ZRC5UoIJpp [info] startStep(“10”)
2017-04-20T14:08:31+0200 ZRC5UoIJpp [info] setMaintenanceMode(“false”)
2017-04-20T14:08:31+0200 ZRC5UoIJpp [info] configFileName /data/web/1/000/038/926/134119/htdocs/nextcloud/updater/…/config/config.php
2017-04-20T14:08:31+0200 ZRC5UoIJpp [info] end of setMaintenanceMode()
2017-04-20T14:08:31+0200 ZRC5UoIJpp [info] endStep(“10”)
2017-04-20T14:08:31+0200 YaMm5V4ref [info] request to updater
2017-04-20T14:08:31+0200 YaMm5V4ref [info] currentStep()
2017-04-20T14:08:31+0200 YaMm5V4ref [info] Step 10 is in state “end”.
2017-04-20T14:08:31+0200 YaMm5V4ref [info] POST request for step "11"
2017-04-20T14:08:31+0200 YaMm5V4ref [info] startStep(“11”)
2017-04-20T14:08:31+0200 YaMm5V4ref [info] finalize()
2017-04-20T14:08:31+0200 YaMm5V4ref [info] storage location: /web/1/000/038/926/134119/htdocs/nextcloud/data/updater-ocmodl0dPDNMZvvNuJeF/downloads/nextcloud/
2017-04-20T14:08:31+0200 YaMm5V4ref [info] end of finalize()
2017-04-20T14:08:31+0200 YaMm5V4ref [info] endStep(“11”)