-
-
Notifications
You must be signed in to change notification settings - Fork 297
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
backup abort because of chown #1011
Comments
Thanks for repoting. I don't see why changing the group would not be permitted, as long as it is not a windows filesystem, which is not supported. |
I had the same issue doing backups on an ZFS share I have mounted to my NextcloudPi. The problem is since ZFS on Linux 0.8.3 the no_root_squash is not set as default anymore. All files were created as nobody:nogroup and chown wasn't possible anymore. Enabling no_root_squash again fixed it: As alternative use /etc/exports/ |
Tried that and found out, that without the chown you get trouble, when restoring.
|
Stumbled on this issue also. Thx @RayCulp, exFat was the problem in my case. |
Bug-Report
When I perform a backup with ncp-backup, the process is aborted with the following error message:
chown: changing group of '/media/USBdrive/ncp-backups/nextcloud-bkp_20191003_1570136572.tar': Operation not permitted Abort...
By deleting the following line in the ncp-backup script, the backup function works fine again (I don't know why the user group has to be changed for the backup):
chown :www-data "$destfile"
System information
NextCloudPi version v1.17.1
NextCloudPi image NextCloudPi_07-21-19
distribution Raspbian GNU/Linux 10 \n \l
automount yes
USB devices sdb sdc
datadir /media/myCloudDrive/ncdata
data in SD no
data filesystem btrfs
data disk usage 1.2G/120G
rootfs usage 2.1G/7.1G
swapfile /swap
dbdir /var/lib/mysql
Nextcloud check ok
Nextcloud version 16.0.5.1
HTTPD service up
PHP service up
MariaDB service up
Redis service up
Postfix service up
internet check ok
port check 80 closed
port check 443 open
IP REMOVED SENSITIVE VALUE
gateway REMOVED SENSITIVE VALUE
interface eth0
certificates REMOVED SENSITIVE VALUE
NAT loopback no
uptime 2:01
The text was updated successfully, but these errors were encountered: