Error restoring nextcloud from backup
Solved
Nextcloud
-
I recently moved my cloudron (temporarily) back to a VPS and everything was easy and smooth (thank you for the excellent restore/backup process, cloudron team!) with the exception of Nextcloud. I get "Task Error: Task 3005 crashed with code 255 and signal null" when trying to restore or clone from multiple backups. Any idea on what this is?
-
@girish this is the last few lines:
Jun 23 19:40:29 box:docker pullImage: {"status":"Extracting","progressDetail":{"current":75016789,"total":75016789},"progress":"[==================================================>] 75.02MB/75.02MB","id":"8d0a024b7269"} Jun 23 19:40:29 box:docker pullImage: {"status":"Pull complete","progressDetail":{},"id":"8d0a024b7269"} Jun 23 19:40:29 box:docker pullImage: {"status":"Digest: sha256:6bf5c351854d138450b679d052c8f20028e1413a9c823b882e24e77a6bfb33b6"} Jun 23 19:40:29 box:docker pullImage: {"status":"Status: Downloaded newer image for cloudron/com.nextcloud.cloudronapp:20210416-172129-15945f087"} Jun 23 19:40:29 box:docker downloaded image cloudron/com.nextcloud.cloudronapp:20210416-172129-15945f087 Jun 23 19:40:29 box:tasks 3010: {"percent":50,"message":"Creating app data directory"} Jun 23 19:40:30 box:tasks 3010: {"percent":65,"message":"Download backup and restoring addons"} Jun 23 19:40:30 box:services cloud.socialism.tools setupAddons: Setting up ["postgresql","sendmail","ldap","redis","localstorage","scheduler","turn"] Jun 23 19:40:30 box:services cloud.socialism.tools Setting up addon postgresql with options {} Jun 23 19:40:30 box:services cloud.socialism.tools Setting up postgresql Jun 23 19:40:30 box:services cloud.socialism.tools Setting postgresql addon config to [{"name":"CLOUDRON_POSTGRESQL_URL","value":"postgres://user9af7ec81ba6442ffb0f65451281112ff:c7b347f7f8ee9dd513c658f79b34e0690a3e2ddb6b6f228aedcb91dc48a011ec2178372b4b0102580e0600c9b513a2cbf91ac0cf93f670219c0ffbdd9165dc90@postgresql/db9af7ec81ba6442ffb0f65451281112ff"},{"name":"CLOUDRON_POSTGRESQL_USERNAME","value":"user9af7ec81ba6442ffb0f65451281112ff"},{"name":"CLOUDRON_POSTGRESQL_PASSWORD","value":"c7b347f7f8ee9dd513c658f79b34e0690a3e2ddb6b6f228aedcb91dc48a011ec2178372b4b0102580e0600c9b513a2cbf91ac0cf93f670219c0ffbdd9165dc90"},{"name":"CLOUDRON_POSTGRESQL_HOST","value":"postgresql"},{"name":"CLOUDRON_POSTGRESQL_PORT","value":"5432"},{"name":"CLOUDRON_POSTGRESQL_DATABASE","value":"db9af7ec81ba6442ffb0f65451281112ff"}] Jun 23 19:40:30 box:services cloud.socialism.tools Setting up addon sendmail with options {} Jun 23 19:40:30 box:services cloud.socialism.tools Setting up SendMail Jun 23 19:40:30 box:services cloud.socialism.tools Setting sendmail addon config to [{"name":"CLOUDRON_MAIL_SMTP_SERVER","value":"mail"},{"name":"CLOUDRON_MAIL_SMTP_PORT","value":"2525"},{"name":"CLOUDRON_MAIL_SMTPS_PORT","value":"2465"},{"name":"CLOUDRON_MAIL_SMTP_USERNAME","value":"nextcloud@socialism.tools"},{"name":"CLOUDRON_MAIL_SMTP_PASSWORD","value":"a8b9c899ec2f2c7c8942fe898ae06209378120a7846c4510"},{"name":"CLOUDRON_MAIL_FROM","value":"nextcloud@socialism.tools"},{"name":"CLOUDRON_MAIL_DOMAIN","value":"socialism.tools"}] Jun 23 19:40:30 box:services cloud.socialism.tools Setting up addon ldap with options {} Jun 23 19:40:30 box:services cloud.socialism.tools Setting up LDAP Jun 23 19:40:30 box:services cloud.socialism.tools Setting up addon redis with options {} Jun 23 19:40:30 box:services Re-using existing redis container with state: {"Status":"running","Running":true,"Paused":false,"Restarting":false,"OOMKilled":false,"Dead":false,"Pid":1898,"ExitCode":0,"Error":"","StartedAt":"2021-06-23T18:11:25.192535126Z","FinishedAt":"2021-06-23T18:11:17.215639608Z"} Jun 23 19:40:30 box:services Waiting for redis-9af7ec81-ba64-42ff-b0f6-5451281112ff Jun 23 19:40:30 box:services cloud.socialism.tools Setting up addon localstorage with options {} Jun 23 19:40:30 box:services cloud.socialism.tools setupLocalStorage Jun 23 19:40:30 box:shell createVolume spawn: /usr/bin/sudo -S /home/yellowtent/box/src/scripts/mkdirvolume.sh /home/yellowtent/appsdata/9af7ec81-ba64-42ff-b0f6-5451281112ff/data Jun 23 19:40:30 box:services cloud.socialism.tools Setting up addon scheduler with options {"housekeeping":{"schedule":"*/5 * * * *","command":"/app/pkg/cron.sh"}} Jun 23 19:40:30 box:services cloud.socialism.tools Setting up addon turn with options {} Jun 23 19:40:30 box:services cloud.socialism.tools Setting up TURN Jun 23 19:40:30 box:services cloud.socialism.tools clearAddons Jun 23 19:40:30 box:services cloud.socialism.tools clearAddons: clearing ["postgresql","sendmail","ldap","redis","localstorage","scheduler","turn"] Jun 23 19:40:30 box:services cloud.socialism.tools Clearing postgresql Jun 23 19:40:30 box:services cloud.socialism.tools Clearing redis Jun 23 19:40:30 box:services cloud.socialism.tools clearLocalStorage Jun 23 19:40:30 box:shell clearVolume spawn: /usr/bin/sudo -S /home/yellowtent/box/src/scripts/clearvolume.sh clear /home/yellowtent/appsdata/9af7ec81-ba64-42ff-b0f6-5451281112ff/data Jun 23 19:40:30 [GET] /healthcheck Jun 23 19:40:30 Warning: Using a password with '-a' or '-u' option on the command line interface may not be safe. Jun 23 19:40:30 [POST] /clear Jun 23 19:40:30 16:M 24 Jun 2021 00:40:30.587 * DB saved on disk Jun 23 19:40:30 Warning: Using a password with '-a' or '-u' option on the command line interface may not be safe. Jun 23 19:40:30 box:backups download: Downloading 2021-06-23-090000-627/app_9af7ec81-ba64-42ff-b0f6-5451281112ff_2021-06-23-092643-445_v4.9.0 of format tgz to {"localRoot":"/home/yellowtent/appsdata/9af7ec81-ba64-42ff-b0f6-5451281112ff","layout":[]} Jun 23 19:40:41 box:tasks 3010: {"percent":65,"message":"Downloading 128M@12MBps"}
-
@girish I ended up migrating back to my home server a lot faster than I thought and so this is no longer an issue but when I forgot I went from a machine with 32GB of RAM to a VPS with 2 so this was likely it. When I first installed Cloudron is was randomly shutting down and failing to restore becuase it was running out of RAM.