backup icon indicating copy to clipboard operation
backup copied to clipboard

The given affected user is invalid

Open FarisZR opened this issue 2 years ago • 1 comments

Hi, I have been trying to get nextcloud backup to work.

Creating a restore point from the UI never works. As it gets stuck at “the creation of a restoring point as been requested and will be initiated soon.” #160 So I did it from CLI. And it stops with this error. Which i can't find any resource about its cause.

> maintenance mode: off

In Event.php line 148:
                                      
  The given affected user is invalid  
                                      

backup:point:create [--output [OUTPUT]] [--generate-log] [--differential] [--] [<comment>]

This issue happens with or without an external storage setup.

Related logs

[PHP] Error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 8388616 bytes) at /var/www/html/apps/backup/lib/Service/ChunkService.php#477

at 2022-02-27T04:25:15+00:00


[PHP] Error: fopen(/mnt/data-disk/appdata_ddbed8621e78c/text/documents/625363): Failed to open stream: No such file or directory at /var/www/html/apps/backup/lib/Service/ChunkService.php#483

at 2022-02-27T03:22:47+00:00

FarisZR avatar Feb 27 '22 16:02 FarisZR

hi

I found that this issue is related to the 'app data' storage location. if I change it to any option that isn't the default 'local storage' option it fails with the same error

nc-backup-user-error

nc-backup-with-no-user-error

lroyb avatar Oct 04 '22 16:10 lroyb