Update failed at step 10 move new files

Nextcloud version _: 21.0.9.1
Operating system and version (eg, Ubuntu 20.04): ?
Apache or nginx version (eg, Apache 2.4.25): ?
PHP version (eg, 7.4): 8.0

The issue you are facing:

I wanted to updatede my nextcloud. mosty as my hosting provides changes from php 8.0 to only support 8.2 and it seemed to me that my old version did not support this. As i had to change back to 8.0 to be abe to access it again.

So what did I do: I changed my php memory to 512mb in .htacces file (as the updater mentioned that there wasn’t enough memory) and then I started the updates as usual.

It failed at step “Move new files in place”.

I cannot redtart the updater or anything and the site only shows

Update in process. 

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

The output of the updater.log

...
2023-11-06T19:33:43+0100 SzbfNM7Iwl [info] POST request for step "9"
2023-11-06T19:33:44+0100 SzbfNM7Iwl [info] startStep("9")
2023-11-06T19:33:44+0100 SzbfNM7Iwl [info] deleteOldFiles()
2023-11-06T19:33:44+0100 SzbfNM7Iwl [info] config sample exists
2023-11-06T19:33:44+0100 SzbfNM7Iwl [info] themes README exists
2023-11-06T19:33:48+0100 SzbfNM7Iwl [info] end of deleteOldFiles()
2023-11-06T19:33:48+0100 SzbfNM7Iwl [info] endStep("9")
2023-11-06T19:34:39+0100 f4kno9C9gU [info] request to updater
2023-11-06T19:34:39+0100 f4kno9C9gU [info] currentStep()
2023-11-06T19:34:39+0100 f4kno9C9gU [info] Step 9 is in state "end".
2023-11-06T19:34:39+0100 f4kno9C9gU [info] show HTML page
2023-11-06T19:34:39+0100 f4kno9C9gU [info] current version: 21.0.9 build time: 

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

<?php
$CONFIG = array (
  'instanceid' => 'xxx',
  'passwordsalt' => 'xxx',
  'secret' => xxx',
  'trusted_domains' => 
  array (
    0 => 'xxx.server-he.de',
    1 => 'domain.de',
    2 => 'domain.de/nc',
    3 => 'www.domain.de/nc',
  ),
  'datadirectory' => '/is/htdocs/xxx_TM40EKF0YF/www/nc/data',
  'dbtype' => 'mysql',
  'version' => '21.0.9.1',
  'overwrite.cli.url' => 'http://xxx.server-he.de/nc',
  'dbname' => 'xxx-nextcloud1',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'dbuser' => 'xxx-yy',
  'dbpassword' => 'Str0ngp4ssword',
  'installed' => true,
  'mail_from_address' => 'cloudinfo',
  'mail_smtpmode' => 'smtp',
  'mail_sendmailmode' => 'smtp',
  'mail_domain' => 'domain.de',
  'mail_smtphost' => 'smtp.udag.de',
  'mail_smtpport' => '465',
  'mail_smtpsecure' => 'ssl',
  'mail_smtpauthtype' => 'LOGIN',
  'mail_smtpauth' => 1,
  'mail_smtpname' => 'cloudinfo@domain.de',
  'mail_smtppassword' => 'anotherst0ngp4ssword',
  'theme' => '',
  'loglevel' => 2,
  'maintenance' => false,
  'updater.secret' => '.................KWVfi',
  'encryption.legacy_format_support' => true,
  'encryption.key_storage_migrated' => false,
);

Any idea for best approach to recover or even continue the update?
Thank you!

Check this out: Update to 13 fails - core/shipped.json is not available - #4 by gas85

thanks for the reply.

This actually helped.

I don’t have the rights to use sudo on my shared webhost but after moving the files and changing maintenance mode to false in the config file.
I could continue in the browser

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.