App update to latest version failed with ERROR
I just tried to update Moodle to the latest version and it ended up in a broke site and the app status in "starting", error message at front end app URL:
(Fout = ERROR and Uitzondering = Exception)
As you see I use the Moove theme (very nice BTW).
I restored it quickly to the latest backup.
What can I do to make the update successful?
@imc67 Is that theme part of standard moodle?
I have revoked the latest release, until we get this sorted out.
@imc67 I have fixed the bug in the new package. Can you check? (1.1.2-1)
@girish after update it doesn’t start and in the logs it says:
==> Creating symlinks for temp files
Mar 09 07:39:57 /app/pkg/start.sh: line 16: /usr/bin/rm: Argument list too long
luckow last edited by luckow
@imc67 my workaround:
from inside the terminal change directory to
rm -rf *Restart the app and the update magic will happen.
rm -rf /app/data/moodledata/sessions/*quits with an Argument list too long error? I don't know.
@luckow Indeed, that seems to be the issue, thanks for debugging! Making a new package.
@imc67 pushed a new package now.
@girish got it, went to Cloudron - settings - updates - check updates
@imc67 Yes, correct. That "refreshes" the updates by fetching latest from server.
about the update. I did test the update manually with the moove plugin. But the rm logic was wrong, I guess you do have a lot of session files.
@girish update went fine!!! Thanks!
Indeed there where 40K+ session files, they are all gone now.
I do see a new folder “Moodle-prev-do-not-touch”