Cannot restore backup Nextcloud
-
Description
Trying to restore a backup of Nextcloud since the last update broke the installation
Steps to reproduce
Trying to restore from the pre upgrade backup of 14-12-2025
Logs
Dec 15 15:56:48 box:backupformat/rsync Recreating empty directories in {"localRoot":"/home/yellowtent/appsdata/f0c8b5e3-1bc6-4ecc-a34b-36e47bb8dcf2","layout":[]} > Dec 15 15:56:48 box:apptask run: app error for state pending_restore: BoxError: unable to chmod: ENOENT: no such file or directory, chmod '/home/yellowtent/appsdata/f0c8b5e3-1bc6-4ecc-a34b-36e47bb8dcf2/data/apps/spreed/js/talk-JitsiEncryptionWorker.worker.worker.js' at restoreFsMetadata (/home/yellowtent/box/src/backupformat/rsync.js:199:31) at async Object.download (/home/yellowtent/box/src/backupformat/rsync.js:290:5) at async download (/home/yellowtent/box/src/backuptask.js:129:5) at async Object.downloadApp (/home/yellowtent/box/src/backuptask.js:169:5) at async installCommand (/home/yellowtent/box/src/apptask.js:350:9) { reason: 'FileSystem Error', details: {} } > Dec 15 15:56:51 box:tasks setCompleted - 598: {"result":null,"error":{"message":"unable to chmod: ENOENT: no such file or directory, chmod '/home/yellowtent/appsdata/f0c8b5e3-1bc6-4ecc-a34b-36e47bb8dcf2/data/apps/spreed/js/talk-JitsiEncryptionWorker.worker.worker.js'","reason":"FileSystem Error"},"percent":100} > Dec 15 15:56:51 box:tasks updating task 598 with: {"completed":true,"result":null,"error":{"message":"unable to chmod: ENOENT: no such file or directory, chmod '/home/yellowtent/appsdata/f0c8b5e3-1bc6-4ecc-a34b-36e47bb8dcf2/data/apps/spreed/js/talk-JitsiEncryptionWorker.worker.worker.js'","reason":"FileSystem Error"},"percent":100} > Dec 15 15:56:51 Exiting with code 0 > Dec 15 15:56:51 box:taskworker Task took 233.289 seconds > Dec 15 15:56:51 BoxError: unable to chmod: ENOENT: no such file or directory, chmod '/home/yellowtent/appsdata/f0c8b5e3-1bc6-4ecc-a34b-36e47bb8dcf2/data/apps/spreed/js/talk-JitsiEncryptionWorker.worker.worker.js'Troubleshooting Already Performed
Tried to add the missing folder without luck
System Details
Cloudron version:
9.0.13Running in VMwareGenerate Diagnostics Data
-
Hello @brambuijs and welcome to the Cloudron forum
Can you please share with us what type of backup you are using
TGZorRSYNCand what Backup Provider is used?
We recently published a lot of fixes forSSHFSand the latest Cloudron Version9.0.14and9.0.15and since you are still on version9.0.13a Cloudron update might already fix your issue. -
It looks like rsync.
@brambuijs if you use the File browser, do you see the rest of your files? The error comes from this line - https://git.cloudron.io/platform/box/-/blob/master/src/backupformat/rsync.js?ref_type=heads#L199 . Can you comment out that line and try a restore again? The file on the server is
/home/yellowtent/box/src/backupformat/rsync.js. Just put a "//" at the beginning of the line 199 to comment that error out. -
Hey @joseph I've ended up doing a manual restore of the database and the files.
Tried commenting it out but there where many files missing especially from spreed@brambuijs said in Cannot restore backup Nextcloud:
Tried commenting it out but there where many files missing especially from spreed
Are the files missing in the backup itself? i.e check for the files in your backup provider. Wondering if this is some problem in the backup or restore (or maybe both) .
If you can write to support@cloudron.io referencing this thread, I can take a look to see where the problem is. Thanks!