Open ronnicek opened 7 years ago
Hi, since there is no answer I will revert it back to 11.0.4 tomorrow so I cannot be able to provide more info about this issue if needed :) [need my nextcloud up and running]
Hi,
Tried update to 12.0.3 and it went well.. :) so I dont know if you want to close this or not..
My guess is that due to the timeout it already deleted the core/shipped.json and complained that it could not find it on the second run then. I guess the updater should ignore such errors on retry situations.
Could be.. timeout is biggest pain of updater I think. When I was trying run updater from commandline I didnt get any response (php7 updater.phar) and it just ended.. So I extend nginx timeout and run updater from web :)
@juliushaertl yes, that's exactly what just happened to me. upgrading from 12.0.3 to 13.0.0
devs may consider making the updater fail from various causes and see what happens then. it gets rough pretty quick. i have my own backups and am not dependent on the web gui or i might have been in trouble. it's not like the web updater is going to be able to use it's backup while it's completely borked. i had my max_execution_time set to 120 then 720 and it still got hung up in a few different stages. maybe because i have system() disabled? maybe the updater needs to check more stuff before it tries to run? i kept having to edit the .step files and restart php and the second nextcloud instance never would cooperate.
i'll be using the console updater from now on. i didn't know it was so fancy now. It worked just fine, though it complained about system() at the end.
I experience this problem since years. I'm on a shared hosting environment but don't know the file system. My solution is to copy core/shipped.json to the installation folder with my FTP client, every time the updated complains, it's missing. I just don't understand, why the failure of deleting a file which is no longer present causes the updater to throw an error. Why not simply continiue?
Hi,
so I finally get some time to get new version, but update failed (again :)).
Here is the log:
But file is here:
/owncloud/data/updater-ocn0mgjslvwm/backups/nextcloud-11.0.4.1/core
.Files in /var/www listed (don't worry about rights, it's running in docker container):