Warn List Failure

I run duplicacy on unraid. I created a folder where I back up all my SQL databases, within that folder, there are subfolders for each database. When trying to back it all up, I get the following error. Any ideas?

2023-12-15 19:00:01.881 INFO BACKUP_INDEXING Indexing /dbs
2023-12-15 19:00:01.881 INFO SNAPSHOT_FILTER Parsing filter file /cache/localhost/1/.duplicacy/filters
2023-12-15 19:00:01.882 INFO SNAPSHOT_FILTER Loaded 8 include/exclude pattern(s)
2023-12-15 19:00:01.885 WARN LIST_FAILURE Failed to list subdirectory formbricks/: open /dbs/formbricks: permission denied
2023-12-15 19:00:01.885 WARN LIST_FAILURE Failed to list subdirectory homeassistant/: open /dbs/homeassistant: permission denied
2023-12-15 19:00:01.885 WARN LIST_FAILURE Failed to list subdirectory linkwarden/: open /dbs/linkwarden: permission denied
2023-12-15 19:00:01.885 WARN LIST_FAILURE Failed to list subdirectory mealie/: open /dbs/mealie: permission denied
2023-12-15 19:00:01.885 WARN LIST_FAILURE Failed to list subdirectory metabase/: open /dbs/metabase: permission denied
2023-12-15 19:00:01.885 WARN LIST_FAILURE Failed to list subdirectory nextcloud/: open /dbs/nextcloud: permission denied
2023-12-15 19:00:01.886 WARN LIST_FAILURE Failed to list subdirectory outline/: open /dbs/outline: permission denied
2023-12-15 19:00:01.886 WARN LIST_FAILURE Failed to list subdirectory postgres/: open /dbs/postgres: permission denied

As the logs say, the user that executed duplicacy does not have read access to the folder.

Thank you for the response. I figured as much but I’m not sure how to fix it. The directory is mounted to the container and from what I can tell, the container is running as root

Which container? Some containers allow you to specify user id and group id to use for duplicacy. Perhaps you can set that to the owner user of the files.

Show your full docker command, and also ssh to your unraid and show output of ls -al <folder than is mapped to /dbs>

I’m using a container by hotio. I have the PUID set as 99, PGID as 100, and UMASK as 002. The folder where Duplicay keeps its config is owned by “nobody” and I noticed that the files listed under the subdirectory are owned by “10000”

Great, you have found the problem!

Who owns data you try to backup?

another docker container I use to back up the postgres databases, not sure why it’s setting the owner of the backups as “10000”

Maybe it’s that container’s configuration.

Another possibility -1 I’m not familiar with unraid — does it have SELinux enabled? That could be the reason.

Yep, I think the other container is the issue. I need to figure out how to change the ownership that it assigns to the files it creates.