Nextcloud restore fails - out of memory
-
My Nextcloud was not running today, and I could see that there was an upgrade (5.3.0) yesterday. I tried to restore to that previous state (5.2.0), and it fails (Task Error: Task 15381 crashed as it ran out of memory).
I worry that the issue is likely due to my Nextcloud storage being filled up (out of space). When trying to restore, there is not enough space. I can't seem to get it started again.
What are my next steps? Restoring the backup also seems to be restoring the files that are filling up my drive.
I do have my data on a separate volume. I would be willing to migrate my data to a larger drive, but I need to get the instance up and stable first. -
If the task ran out of memory, then this is RAM related, not disk related. You can try to increase the memory limit for the app, also increase it for the postgres service, just in case, as Nextcloud is using that. Further if that doesn't help, does the system itself run out of memory maybe? If so try to stop some apps temporarily to give the restore more headroom or in the long term maybe add more memory to the server itself.
-
According to the app event log, I was able to restore to a working copy with 5.1.2, and an overnight update initiated automaticaly the next morning setting it to 5.2 at which point the app was listed as 'not responding'. I've disabled auto-update and started another restore to a 5.1.2 image to see what happens.