Update 13.0.6 to 14.0.3 stuck at “delete old files”

Hi everybody,

I am fairly new to nextcloud (and any server work), so please excuse any naivety. I recently setup nextcloud using a webhoster.

I tried to update from version 13.0.6. to 14.0.3. but the update process got stuck at step 9 “deleteOldFiles”.

My problem seems to be very similar to this issue.

Nextcloud version: 13.0.6. to 14.0.3
Apache or nginx version: 2.4.35 (Webhoster)
PHP version :7.0

Is this the first time you’ve seen this error? : Yes

The output of your config.php file in /path/to/nextcloud:

<?php
$CONFIG = array (
  'instanceid' => 'ocrm2fs7c9gj',
  'passwordsalt' => '***',
  'secret' => '***',
  'trusted_domains' => 
  array (
    0 => 'xxx',
    1 => 'xxx',
  ),
  'datadirectory' => '/home/xxx/nextclouddata',
  'overwrite.cli.url' => 'https://xxx/nextcloud',
  'dbtype' => 'mysql',
  'version' => '13.0.6.0',
  'dbname' => 'yyy_next360',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'dbuser' => 'yyy_next360',
  'dbpassword' => '5ZqS]H@67p',
  'installed' => true,
  'skeletondirectory' => '',
  'updater.release.channel' => 'stable',
  'mail_from_address' => 'info',
  'mail_smtpmode' => 'php',
  'mail_smtpauthtype' => 'LOGIN',
  'mail_domain' => 'xxx',
  'maintenance' => false,
  'theme' => '',
  'loglevel' => 2,
  'updater.secret' => '$2y$10$QUefM7S6vNVDOKVoyng1weXFkI/qjAjcrqkCGOfbOldsbAtSngy56',
);

/updater.log

2018-10-25T09:50:44+0000 hXiApwRQ16 [info] storage location: /home/yyy/nextclouddata/updater-ocrm2fs7c9gj/downloads/
2018-10-25T09:50:44+0000 hXiApwRQ16 [info] end of verifyIntegrity()
2018-10-25T09:50:44+0000 hXiApwRQ16 [info] endStep("5")
2018-10-25T09:50:44+0000 ijlajIn5VC [info] request to updater
2018-10-25T09:50:44+0000 ijlajIn5VC [info] currentStep()
2018-10-25T09:50:44+0000 ijlajIn5VC [info] Step 5 is in state "end".
2018-10-25T09:50:44+0000 ijlajIn5VC [info] POST request for step "6"
2018-10-25T09:50:44+0000 ijlajIn5VC [info] startStep("6")
2018-10-25T09:50:44+0000 ijlajIn5VC [info] extractDownload()
2018-10-25T09:50:44+0000 ijlajIn5VC [info] storage location: /home/luenebur/nextclouddata/updater-ocrm2fs7c9gj/downloads/
2018-10-25T09:51:06+0000 ijlajIn5VC [info] end of extractDownload()
2018-10-25T09:51:06+0000 ijlajIn5VC [info] endStep("6")
2018-10-25T09:51:06+0000 ORCrQCI4hy [info] request to updater
2018-10-25T09:51:06+0000 ORCrQCI4hy [info] currentStep()
2018-10-25T09:51:06+0000 ORCrQCI4hy [info] Step 6 is in state "end".
2018-10-25T09:51:06+0000 ORCrQCI4hy [info] POST request for step "7"
2018-10-25T09:51:06+0000 ORCrQCI4hy [info] startStep("7")
2018-10-25T09:51:06+0000 ORCrQCI4hy [info] setMaintenanceMode("true")
2018-10-25T09:51:06+0000 ORCrQCI4hy [info] configFileName /home/luenebur/public_html/nextcloud/updater/../config/config.php
2018-10-25T09:51:06+0000 ORCrQCI4hy [info] end of setMaintenanceMode()
2018-10-25T09:51:06+0000 ORCrQCI4hy [info] endStep("7")
2018-10-25T09:51:06+0000 ltJuVNwZEt [info] request to updater
2018-10-25T09:51:06+0000 ltJuVNwZEt [info] currentStep()
2018-10-25T09:51:06+0000 ltJuVNwZEt [info] Step 7 is in state "end".
2018-10-25T09:51:06+0000 ltJuVNwZEt [info] POST request for step "8"
2018-10-25T09:51:06+0000 ltJuVNwZEt [info] startStep("8")
2018-10-25T09:51:06+0000 ltJuVNwZEt [info] replaceEntryPoints()
2018-10-25T09:51:06+0000 ltJuVNwZEt [info] replace index.php
2018-10-25T09:51:06+0000 ltJuVNwZEt [info] replace status.php
2018-10-25T09:51:06+0000 ltJuVNwZEt [info] replace remote.php
2018-10-25T09:51:06+0000 ltJuVNwZEt [info] replace public.php
2018-10-25T09:51:06+0000 ltJuVNwZEt [info] replace ocs/v1.php
2018-10-25T09:51:06+0000 ltJuVNwZEt [info] replace ocs/v2.php
2018-10-25T09:51:06+0000 ltJuVNwZEt [info] end of replaceEntryPoints()
2018-10-25T09:51:06+0000 ltJuVNwZEt [info] endStep("8")
2018-10-25T09:51:06+0000 W657HPt38v [info] request to updater
2018-10-25T09:51:06+0000 W657HPt38v [info] currentStep()
2018-10-25T09:51:06+0000 W657HPt38v [info] Step 8 is in state "end".
2018-10-25T09:51:06+0000 W657HPt38v [info] POST request for step "9"
2018-10-25T09:51:06+0000 W657HPt38v [info] startStep("9")
2018-10-25T09:51:06+0000 W657HPt38v [info] deleteOldFiles()
2018-10-25T09:51:07+0000 W657HPt38v [info] config sample exists
2018-10-25T09:51:07+0000 W657HPt38v [info] themes README exists
2018-10-25T09:51:08+0000 W657HPt38v [info] end of deleteOldFiles()
2018-10-25T09:51:08+0000 W657HPt38v [info] endStep("9")
2018-10-25T09:51:08+0000 9zjB2ejKhf [info] request to updater
2018-10-25T09:51:08+0000 9zjB2ejKhf [info] currentStep()
2018-10-25T09:51:08+0000 9zjB2ejKhf [info] Step 9 is in state "end".
2018-10-25T09:51:08+0000 9zjB2ejKhf [info] show HTML page
2018-10-25T09:51:08+0000 9zjB2ejKhf [info] current version: 13.0.6 build time: 
2018-10-25T09:52:48+0000 gQijnegSnA [info] request to updater
2018-10-25T09:52:48+0000 gQijnegSnA [info] currentStep()
2018-10-25T09:52:48+0000 gQijnegSnA [info] Step 9 is in state "end".
2018-10-25T09:52:48+0000 gQijnegSnA [info] show HTML page
2018-10-25T09:52:48+0000 gQijnegSnA [info] current version: 13.0.6 build time: 
2018-10-25T09:52:51+0000 ED0VXCOHlg [info] request to updater
2018-10-25T09:52:51+0000 ED0VXCOHlg [info] currentStep()
2018-10-25T09:52:51+0000 ED0VXCOHlg [info] Step 9 is in state "end".
2018-10-25T09:52:51+0000 ED0VXCOHlg [info] show HTML page
2018-10-25T09:52:51+0000 ED0VXCOHlg [info] current version: 13.0.6 build time: 
2018-10-25T09:52:53+0000 6NYEvrXoo1 [info] request to updater
2018-10-25T09:52:53+0000 6NYEvrXoo1 [info] currentStep()
2018-10-25T09:52:53+0000 6NYEvrXoo1 [info] Step 9 is in state "end".
2018-10-25T09:52:53+0000 6NYEvrXoo1 [info] show HTML page
2018-10-25T09:52:53+0000 6NYEvrXoo1 [info] current version: 13.0.6 build time: 
2018-10-25T09:52:53+0000 Gejm33g19M [info] request to updater
2018-10-25T09:52:53+0000 Gejm33g19M [info] currentStep()
2018-10-25T09:52:53+0000 Gejm33g19M [info] Step 9 is in state "end".
2018-10-25T09:52:53+0000 Gejm33g19M [info] show HTML page
2018-10-25T09:52:53+0000 Gejm33g19M [info] current version: 13.0.6 build time: 
2018-10-25T09:53:07+0000 y7wqJyvwhx [info] request to updater
2018-10-25T09:53:07+0000 y7wqJyvwhx [info] currentStep()
2018-10-25T09:53:07+0000 y7wqJyvwhx [info] Step 9 is in state "end".
2018-10-25T09:53:07+0000 y7wqJyvwhx [info] show HTML page
2018-10-25T09:53:07+0000 y7wqJyvwhx [info] current version: 13.0.6 build time: 
2018-10-25T09:53:08+0000 LdzQdah6kA [info] request to updater
2018-10-25T09:53:08+0000 LdzQdah6kA [info] currentStep()
2018-10-25T09:53:08+0000 LdzQdah6kA [info] Step 9 is in state "end".
2018-10-25T09:53:08+0000 LdzQdah6kA [info] show HTML page
2018-10-25T09:53:08+0000 LdzQdah6kA [info] current version: 13.0.6 build time: 
2018-10-25T09:53:17+0000 rl70hacqEA [info] request to updater
2018-10-25T09:53:17+0000 rl70hacqEA [info] currentStep()
2018-10-25T09:53:17+0000 rl70hacqEA [info] Step 9 is in state "end".
2018-10-25T09:53:17+0000 rl70hacqEA [info] show HTML page
2018-10-25T09:53:17+0000 rl70hacqEA [info] current version: 13.0.6 build time: 
2018-10-25T09:59:21+0000 105whqcsgk [info] request to updater
2018-10-25T09:59:21+0000 105whqcsgk [info] currentStep()
2018-10-25T09:59:21+0000 105whqcsgk [info] Step 9 is in state "end".
2018-10-25T09:59:21+0000 105whqcsgk [info] show HTML page
2018-10-25T09:59:21+0000 105whqcsgk [info] current version: 13.0.6 build time: 
2018-10-25T09:59:37+0000 ebevPvvMDm [info] request to updater
2018-10-25T09:59:37+0000 ebevPvvMDm [info] currentStep()
2018-10-25T09:59:37+0000 ebevPvvMDm [info] Step 9 is in state "end".
2018-10-25T09:59:37+0000 ebevPvvMDm [info] show HTML page
2018-10-25T09:59:37+0000 ebevPvvMDm [info] current version: 13.0.6 build time: 
2018-10-25T10:02:07+0000 WrMrCHnEfO [info] request to updater
2018-10-25T10:02:07+0000 WrMrCHnEfO [info] currentStep()
2018-10-25T10:02:07+0000 WrMrCHnEfO [info] Step 9 is in state "end".
2018-10-25T10:02:07+0000 WrMrCHnEfO [info] show HTML page
2018-10-25T10:02:07+0000 WrMrCHnEfO [info] current version: 13.0.6 build time: 
2018-10-25T10:02:28+0000 Bf6S9ooyTG [info] request to updater
2018-10-25T10:02:28+0000 Bf6S9ooyTG [info] currentStep()
2018-10-25T10:02:28+0000 Bf6S9ooyTG [info] Step 9 is in state "end".
2018-10-25T10:02:28+0000 Bf6S9ooyTG [info] show HTML page
2018-10-25T10:02:28+0000 Bf6S9ooyTG [info] current version: 13.0.6 build time: 
2018-10-25T10:02:29+0000 dAN63ldalf [info] request to updater
2018-10-25T10:02:29+0000 dAN63ldalf [info] currentStep()
2018-10-25T10:02:29+0000 dAN63ldalf [info] Step 9 is in state "end".
2018-10-25T10:02:29+0000 dAN63ldalf [info] show HTML page
2018-10-25T10:02:29+0000 dAN63ldalf [info] current version: 13.0.6 build time: 
2018-10-25T10:02:29+0000 eEZc0YJmXz [info] request to updater
2018-10-25T10:02:29+0000 eEZc0YJmXz [info] currentStep()
2018-10-25T10:02:29+0000 eEZc0YJmXz [info] Step 9 is in state "end".
2018-10-25T10:02:29+0000 eEZc0YJmXz [info] show HTML page
2018-10-25T10:02:29+0000 eEZc0YJmXz [info] current version: 13.0.6 build time: 
2018-10-25T10:02:29+0000 BJKz7AajZS [info] request to updater
2018-10-25T10:02:29+0000 BJKz7AajZS [info] currentStep()
2018-10-25T10:02:29+0000 BJKz7AajZS [info] Step 9 is in state "end".
2018-10-25T10:02:29+0000 BJKz7AajZS [info] show HTML page
2018-10-25T10:02:29+0000 BJKz7AajZS [info] current version: 13.0.6 build time: 
2018-10-25T10:02:30+0000 LoQNAVwZv7 [info] request to updater
2018-10-25T10:02:30+0000 LoQNAVwZv7 [info] currentStep()
2018-10-25T10:02:30+0000 LoQNAVwZv7 [info] Step 9 is in state "end".
2018-10-25T10:02:30+0000 LoQNAVwZv7 [info] show HTML page
2018-10-25T10:02:30+0000 LoQNAVwZv7 [info] current version: 13.0.6 build time: 
2018-10-25T10:02:30+0000 BBvHwGwCVW [info] request to updater
2018-10-25T10:02:30+0000 BBvHwGwCVW [info] currentStep()
2018-10-25T10:02:30+0000 BBvHwGwCVW [info] Step 9 is in state "end".
2018-10-25T10:02:30+0000 BBvHwGwCVW [info] show HTML page
2018-10-25T10:02:30+0000 BBvHwGwCVW [info] current version: 13.0.6 build time: 
2018-10-25T10:02:31+0000 u1OniCeTP0 [info] request to updater
2018-10-25T10:02:31+0000 u1OniCeTP0 [info] currentStep()
2018-10-25T10:02:31+0000 u1OniCeTP0 [info] Step 9 is in state "end".
2018-10-25T10:02:31+0000 u1OniCeTP0 [info] show HTML page
2018-10-25T10:02:31+0000 u1OniCeTP0 [info] current version: 13.0.6 build time: 

The output of your Apache/nginx/system log in /var/log/____ : I couldn’t find the file.

Hi,

First of all: don’t paste any passwords and secrets from your config publicly!! People might use it to attack your server.
Right now, you actually should change the values in your config.
Please replace the values with **** or something like that asap.

Thank you. I overlooked these lines.

I followed the manual upgrade instructions and managed to install nc14.0.3.

I guess this is a solution to the problem.

1 Like