immich-kiosk - configuration file - cannot get use of it #834
Replies: 4 comments 4 replies
|
The useful part of that error is the empty filename: Inside the container it only looks in docker exec immich-kiosk ls -la /configMy guess is the file won't be there. On QNAP, if the container was first created in Container Station's UI, the UI keeps its own volume list and editing docker-compose.yml afterwards doesn't change what's mounted. Recreating it rather than restarting picks up the compose file: docker compose up -d --force-recreate immich-kioskIf |
|
Pretty much what @darekwojciechowski said. I would add that you should probably make the directory and config file yourself, rather than letting docker create them for you. |
|
Ran into the same issue (as usual with Docker on my QNAP 😆) The problem isn't the config file path or permissions mode, it is a UID mismatch. Root Cause:
Note: Normally with docker-compose you can disable the user namespace remapping at service level with The Fix:Change the file ownership to UID 65532: chown 65532:65532 /share/Container/immich/immich-kiosk-Config/config.yaml
chmod 644 /share/Container/immich/immich-kiosk-Config/config.yamlThen restart the container via Container Station, Portainer, whatever you use or shell: Why this works:Now when the container's Note: The Hint: Maybe just mount only the config.yaml file and not the whole config directory e.g., Hope this helps! |
|
It works. I additionally changed config line to: Regards, |
Uh oh!
There was an error while loading. Please reload this page.
Hi,
I have immich-kiosk on QNAP NAS in docker. It works fine.
The only I cannot get use of config file. I'd like to use weather, but it's configuration is available only in config file config.yaml.
I have the following setting in docker-compose.yml:
immich-kiosk:
container_name: immich-kiosk
image: ghcr.io/damongolding/immich-kiosk:latest
...
volumes:
- /share/Container/immich/immich-kiosk-Config:/config
Directory is like this:
immich
immich-kiosk-Config
config.yaml
Directory immich-kiosk-Config was created by immich-kiosk.
When I run:
docker logs immich-kiosk
I get:
12:08:41 ERRO Failed to initialize config state err="getting initial file mTime: stat : no such file or directory"
I have settings in config.yaml file to display clock like:
show_time: true
time_format: 12 # 12 or 24
But no clock.
If I turn on clock through env variables or command line, clock shows.
Thanks for help!
All reactions