kasra7
1
During update I got this error:
Start update? [y/N] y
Info: Pressing Ctrl-C will finish the currently running step and then stops the updater.
[] Check for expected files
[] Check for write permissions
[✘] Create backup failed
RecursiveDirectoryIterator::__construct(/cloud-disk/nextcloud/updater/…/data/lost+found): failed to open dir: Permission denied
Update failed. To resume or retry just execute the updater again.
tflidd
2
You didn’t show the permissions for that. For the lost+find folder:
kasra7
3
Thanks a lot for your help.
root@cloud2:/# ls -ltrh /cloud-disk/nextcloud/data/ | grep lost+found
drwx------ 2 root root 4.0K Sep 16 2021 lost+found
Resolved via this :
root@cloud2:/# chown www-data:www-data /cloud-disk/nextcloud/data/lost+found