Problem during update from 10 to 11

Hi Guys,

I’ve executed the update via the admin page in Nextcloud web interface. But the update procedure stops at point “Delete old files” with message “core/shipped.json is not available”.

That’s it.

Now I can’t access the web interface or any other page. Output is “Update in process”.

Here is the entry from my updater.log:

(…)
2017-02-18T12:12:16+0100 6YvXCBnoTj [error] Exception: Exception
Message: core/shipped.json is not available
Code:0
Trace:
#0 /home/sites/site91/web/nextcloud/updater/index.php(1135): Updater->deleteOldFiles()
#1 {main}
File:/home/sites/site91/web/nextcloud/updater/index.php
Line:702

2017-02-18T12:12:16+0100 6YvXCBnoTj [info] rollbackChanges(“8”)
2017-02-18T12:12:16+0100 6YvXCBnoTj [info] unlink .step
2017-02-18T12:12:16+0100 6YvXCBnoTj [info] rollbackChanges - step >= 7
2017-02-18T12:12:16+0100 6YvXCBnoTj [info] end of rollbackChanges()
2017-02-18T14:04:00+0100 uMuB5lVfDM [info] request to updater
2017-02-18T14:04:00+0100 uMuB5lVfDM [info] currentStep()
2017-02-18T14:04:00+0100 uMuB5lVfDM [info] POST request for step "8"
2017-02-18T14:04:00+0100 uMuB5lVfDM [info] startStep(“8”)
2017-02-18T14:04:00+0100 uMuB5lVfDM [info] deleteOldFiles()
2017-02-18T14:04:00+0100 uMuB5lVfDM [error] POST request failed with other exception
2017-02-18T14:04:00+0100 uMuB5lVfDM [error] Exception: Exception
Message: core/shipped.json is not available
Code:0
Trace:
#0 /home/sites/site91/web/nextcloud/updater/index.php(1135): Updater->deleteOldFiles()
#1 {main}
File:/home/sites/site91/web/nextcloud/updater/index.php
Line:702

2017-02-18T14:04:00+0100 uMuB5lVfDM [info] rollbackChanges(“8”)
2017-02-18T14:04:00+0100 uMuB5lVfDM [info] unlink .step
2017-02-18T14:04:00+0100 uMuB5lVfDM [info] rollbackChanges - step >= 7
2017-02-18T14:04:00+0100 uMuB5lVfDM [info] end of rollbackChanges()
2017-02-20T12:22:04+0100 A1ekytcksD [info] request to updater

(…)

I need help.

Many thanks in advance.

1 Like

Same Issue on 21.0.2 to 21.0.9 … how did you solve it?

@Megachip What install method (e.g. bare metal, Docker, etc.)?

The error indicates this file is missing (or at least missing from the Updater’s perspective with the way it tries to access it).

If this is with a web hosting company (particularly shared hosting), there may be something unusual about the filesystem.

Determine the full path to your installation directory of your Nextcloud instance (e.g. /var/www/html or in the original poster’s case: /home/sites/site91/web/nextcloud/)

At the command-line provide the output of the command ls -l <install_directory>/updater/../core/shipped.json

(yes it’s a bit weird with the .. but I’m doing it that way to better simulate how the Updater app accesses things in order to understand why you’re seeing this behavior.

That’s a really old version of Nextcloud, but that file should look like this:

Bare Metal. Looks like file was deleted by updater some former times (almost all files) and not got recreated (updated) … doing a manual update as suggested here (or in the million other threads with the same issue) fixed the issue.

Thx for the quick response.

1 Like