Replies: 2 comments
|
I would check three separate things here: rendered compose, UID inside the container, and host filesystem permissions. First verify what Docker Compose is actually using: docker compose configIn particular, make sure these become real absolute host paths: /home/your-user:/local:rw
/mnt/CoreStorage/immich:/immich:rwAlso keep your DATA_DIR=/mnt/CoreStorage/borgui/data
BORG_CACHE_DIR=/mnt/CoreStorage/borgui/cache
LOCAL_MOUNT_POINTS=/local,/immich
LOCAL_STORAGE_PATH=/home/your-user
LOCAL_STORAGE_IMMICH=/mnt/CoreStorage/immich
PUID=1000
PGID=1000Then check what the container can really see: docker exec -it borg-web-ui id
docker exec -it borg-web-ui sh -lc 'ls -ld /local /immich; touch /local/.borgui-test; rm /local/.borgui-test'If For bind mounts, Docker does not bypass Linux permissions. The UID/GID inside the container must be able to traverse and read/write the host directories. Check on the host: ls -ld /home/your-user /mnt/CoreStorage/immich
namei -l /home/your-user
namei -l /mnt/CoreStorage/immichEvery parent directory needs execute ( sudo chown -R 1000:1000 /mnt/CoreStorage/borgui /mnt/CoreStorage/immich
# or, less broad:
sudo setfacl -m u:1000:rwx /mnt/CoreStorage/immichOne more detail: these two lines do not mount host folders into - borg_data:${DATA_DIR:-/data}
- borg_cache:${BORG_CACHE_DIR:-/home/borg/.cache/borg}If your intention is to store BorgUI data on the host under - ${DATA_DIR:-/mnt/CoreStorage/borgui/data}:/data
- ${BORG_CACHE_DIR:-/mnt/CoreStorage/borgui/cache}:/home/borg/.cache/borgSo I would start with |
|
I am facing a similar issue, when trying to import an existing repo I get: However, the file |
Uh oh!
There was an error while loading. Please reload this page.
I would like to setup BorgUI. So far so good. But somehow I'm not able to mount folders from the machine i run the docker.
What am I missing? The information on BorgUI Docs sounds clear but somehow I don not manage to get it working.
Compose File:
Environment:
Checking for the PUID and PGID is used
Thanks for all hints :-D


All reactions