-
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
Update to 20.0.2 fails at integrity check #316
Comments
@MorrisJobke transfered from the Android repo since this is not related to the Android App. |
@MorrisJobke we saw it today on a demo instance, alas there was nothing logged. I restarted by removing data/updater-$INSTANCEID/.step and running the updater again, this time it went through without issue. |
Without logs there isn't much we can do. Best would be the updater.log inside the nextcloud data directory. |
I don't see anything useful there. It just stops after
Ha, but now looking into the web server error logs, it seems we died for RAM
And looking at the server conf, the memory limit is too low, 128M only. So, PEBCAK. |
@dh3wr you may want to check whether this is what you ran into as well ^ |
How can I stop the updating process? |
|
Deleting data/updater-$INSTANCEID/.step and running the updater again resulted in update without errors. Still interesting it failed the first time. This ticket can be closed form my point-of-view, if you don't want to investigate more or mitigate the cause of failure from the first attemp. |
@dh3wr did you check your web server's error log? And/or are there any warnings in your settings overview? |
I did not change anything but calling the updated from the bash instead of the webinterface. |
You're memory_limit in PHP settings is set to 128MB, which is below the recommendation and this is where the updates trips on. IIRC the recommended value is 512 MB. But you should also see a warning about it in the admin settings. |
Hi all, I've had the same issue (mentioned in the forums here. Raising PHP's Some observations gathered from debugging seems to agree as well - the updater crashes somewhere in this call (The log entry |
it's not a bug in the updater when the necessary resources are not provided. The solution is to have the PHP configured accordingly and pay attention to the warnings on the admin page. |
I would agree with your opinion. Could it be a good idea to raise the notification level for min. memory limit on the admin page from info (I believe it is) to something that would indicate a harder necessity? Or alternatively rephrase that the risk of unpredictable behavior becomes more apparent? As it currently stands, I'm mostly interpreting a soft degradation of performance into the notice, but not necessarily a risk of hard crashes. |
Well, if it would not matter, it would not have been listed there at all. So, yes, it can have effects if it is ignored: Nevertheless we can make it more red, if it helps… |
Or remove the ability to update via web ;) |
something else might break |
Good idea I think. Having the notice communicate a stronger degree of necessity and clearly point out that dismissal could have side-effects would help draw a more consistent picture. |
I just tried to update from 19.0.13 to 20.0.14 and ran in to this problem. |
@horrokotoj , i know this is over 4 months old but for anyone else in the future, the also |
Steps to reproduce
Expected behaviour
Actual behaviour
Environment data
Nextcloud server version: 20.0.1
The text was updated successfully, but these errors were encountered: