Nc-backup to NAS fails - tar: Unexpected EOF in archive

[/details]

Nextcloud version : latest
Operating system and version (eg, Ubuntu 17.04): Nextcloudpi

The issue you are facing:
I ran in the past successfully a manual nc-backup to NAS. Now when running int again the nc-update output says:


[ nc-backup ]
check free spaceā€¦
Maintenance mode enabled
backup databaseā€¦
backup base filesā€¦
backup data filesā€¦
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now
error generating backup
Nextcloud is in maintenance mode - no apps have been loaded

Maintenance mode disabled


My backup should be a 12gb file but failed nc-backup created two files:
nextcloud-bkp_20180609_ā€¦tar File Size: 131kb
nextcloud-bkp_20180609_1528534374_DiskStation_Jun-09-1055-2018_Conflict.tar File Size: 292.5MB

Is this an issue with the files on nextcloudpi or on DiskStation?

Thanks for any ideasā€¦

Pete

Looks like it is a user right issue. The backup that failed was run via the webinterface (user ncp). Now when running the backup via terminal: sudo nextcloupi-config the backup is succesful.

Update:
It just works if you first export the configuration file, otherwise backup keeps on failingā€¦when first exporting configuration file also the export of data is successful