IIRC nextcloud docker image uses UID 33 instead of 1000.
Comment on [Help] Backing up Nextcloud with Duplicati (Docker)
skilltheamps@feddit.de 1 year agoBut it should not need write access to those files.
I bet it is due to different UID. Nextcloud runs with the www-data user, and UID 1000 is likely whatever user OP set up on the host machine. Make Duplicati run with the same UID as nextcloud and it will have the permission to read the files.
redcalcium@lemmy.institute 1 year ago
__init__@programming.dev 1 year ago
I just went through dockerizing my nextcloud installation. The www-data user on my host had uid 33, but the one inside the container uses uid 82, which had me scratching my head for a minute. You can confirm the actual uid by running
id www-data
inside the nextcloud container.redcalcium@lemmy.institute 1 year ago
I have two instances on two separate servers running and all of them use uid:gid 33:33 inside the container. I use the
nextcloud:26-apache
docker image.__init__@programming.dev 1 year ago
Ah yep I bet that’s it, I’m using the alpine fpm image.
GlitzyArmrest@lemmy.world 1 year ago
You are probably correct! I always forget about the UID…