-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NC updater 15.0.2 still fails on Delete old files (core/shipped.json is not available) #222
Comments
@devplan44 Does this always happen with the file |
That is weird - it should not be needed and many instances out there also don't have this. |
That means your Webserver killed the request - very little we can do here. You need to configure the webserver to have a higher timeout. |
Could you try to run it from CLI? Does it work there? (because this is basically the same code without the fragile concept of webserver timeouts. |
Similar Issue here (ver. 15.0.2). Command line update to 16.0.1 says:
Any ideas how to fix thix? |
Not really ... somehow the shipped.json was removed before it should, but code wise I can't explain it 🤔 |
I keep seeing this with every NC upgrade. First the upgrade fails because some (non-empty?) directories can not be removed e.g.
Then I hit the 'Retry' upgrade button. Then NC is missing |
Okay ... why can't it update the folder it just created? o.O |
It happens to me too. I created |
Same error, can we roll back ? |
I managed to solve it fixing permissions: |
This is a good news to you, but i'm try to upgrade many times its still error. now i'm roll back to 15.0.2. |
Issue is still present when trying to update from 16.0.1 to 16.0.4 |
to 16.0.5 as well - but only in 1/4 of my 4 installations.. |
I'm stuck on this issue with an update from 15.0.12 to 16.0.5. I've tried fixing it by linking to |
I haven't been able to fix this in any clean way. On IRC there was a suggestion to test this method: #145 However I worked around it by commenting out the deleteOldFiles() call after the files were removed (confirmed by looking at the directory via ssh) and restarted the
The update completed. |
Got the error when trying to update 17.0.0 → 17.0.1. @sankasan's workaround got the update past this file but the "Delete old files" step is now reporting the following:
|
for me this happens from 17.02->18.02 had to reinstall nextcloud and install the new version, console upgrade hasn't worked - also with restarting from the beginning (data/upgrade-folder-rename), got stuck >>case 6 |
Same problem for me: 18.0.4->18.0.6. |
I've experienced the same problems as others in this thread, which goes back to 11 April 2019 without any resolution. I'm stuck at: I think I'll just delete NextCloud until the team works through some of the fundamental bugs. NextCloud certainly has potential -- it's clearly still a beta project, though. I'll try it again in 1-2 years; maybe this bug will be fixed by then. Edit: I was attempting to update from Nextcloud 19.0.0 to 19.0.4 (channel: "stable"). |
I upgraded from 16.something to the latest 20 the other day and this has been an issue with every single upgrade step.
Whether the two issues are connected or whether they even have the same root cause I can't assess. However, as this has happened to me with every single upgrade ever since I first installed NC (version 12 or so) it looks like the process runs wild. |
The issue is most likely a duplicate of #158 |
Duplicate of #131 |
This is quite old and hasn't been fixed:
NC updater 15.0.2 still fails on Delete old files (core/shipped.json is not available)
I see that I am not the only one. The Updater index.php needs some MAJOR overhaul.
Snipped from updater log. (domain name changed)
2019-04-11T21:06:48+0000 DQkRuGYe3N [info] rollbackChanges("9")
2019-04-11T21:06:48+0000 DQkRuGYe3N [info] unlink .step
2019-04-11T21:06:48+0000 DQkRuGYe3N [info] rollbackChanges - step >= 7
2019-04-11T21:06:48+0000 DQkRuGYe3N [info] end of rollbackChanges()
2019-04-11T21:06:48+0000 3q1nnwSQwU [info] request to updater
2019-04-11T21:06:48+0000 3q1nnwSQwU [info] currentStep()
2019-04-11T21:06:48+0000 3q1nnwSQwU [info] POST request for step "9"
2019-04-11T21:06:49+0000 3q1nnwSQwU [info] startStep("9")
2019-04-11T21:06:49+0000 3q1nnwSQwU [info] deleteOldFiles()
2019-04-11T21:06:49+0000 3q1nnwSQwU [error] POST request failed with other exception
2019-04-11T21:06:49+0000 3q1nnwSQwU [error] Exception: Exception
Message: core/shipped.json is not available
Code:0
Trace:
#0 /customers/2/3/6/mydomain.de/httpd.www/nextcloud/updater/index.php(1337): Updater->deleteOldFiles()
#1 {main}
File:/customers/2/3/6/mydomain.de/httpd.www/nextcloud/updater/index.php
Line:891
The text was updated successfully, but these errors were encountered: