EXTERNAL_PATH don't find #2283

Closed
opened 2026-02-05 05:55:51 +03:00 by OVERLORD · 0 comments
Owner

Originally created by @oekomat on GitHub (Feb 27, 2024).

The bug

I cannot include an EXTERNAL PATH in the libraries. I use unraid and immich as Docker - selfhosted.

02/27/2024, 9:37:56 AM ERROR [LibraryService] Skipping invalid import path: /mnt/user/Multimedia/xyz/. Reason: Path does not exist (ENOENT)

I have an additional container variable EXTERNAL-PATH was created.

image

The OS that Immich Server is running on

unraid 6.126

Version of Immich Server

ghcr.io/imagegenius/immich

Version of Immich Mobile App

1,95

Platform with the issue

  • Server
  • Web
  • Mobile

Your docker-compose.yml content

docker run
  -d
  --name='immich'
  --net='br0'
  --ip='192.168.10.64'
  -e TZ="Europe/Berlin"
  -e HOST_OS="Unraid"
  -e HOST_HOSTNAME="Tower"
  -e HOST_CONTAINERNAME="immich"
  -e 'TCP_PORT_8080'='8080'
  -e 'DB_HOSTNAME'='192.168.10.20'
  -e 'DB_USERNAME'='postgres'
  -e 'DB_PASSWORD'='---'
  -e 'DB_DATABASE_NAME'='postgres'
  -e 'REDIS_HOSTNAME'='192.168.10.20'
  -e 'DB_PORT'='5432'
  -e 'REDIS_PORT'='6379'
  -e 'REDIS_PASSWORD'=''
  -e 'MACHINE_LEARNING_GPU_ACCELERATION'=''
  -e 'MACHINE_LEARNING_WORKERS'='1'
  -e 'MACHINE_LEARNING_WORKER_TIMEOUT'='120'
  -e 'EXTERNAL_PATH'='/mnt/user/Multimedia/xyz/'
  -e 'PUID'='99'
  -e 'PGID'='100'
  -e 'UMASK'='022'
  -l net.unraid.docker.managed=dockerman
  -l net.unraid.docker.webui='http://[IP]:[PORT:8080]'
  -l net.unraid.docker.icon='https://raw.githubusercontent.com/imagegenius/templates/main/unraid/img/immich.png'
  -v '/mnt/user/Multimedia/xyz/':'/photos':'rw'
  -v '/mnt/user/Multimedia/xyz/import/':'/import':'ro'
  -v '/mnt/user/appdata/immich':'/config':'rw' 'ghcr.io/imagegenius/immich'

Your .env content

docker run
  -d
  --name='immich'
  --net='br0'
  --ip='192.168.10.64'
  -e TZ="Europe/Berlin"
  -e HOST_OS="Unraid"
  -e HOST_HOSTNAME="Tower"
  -e HOST_CONTAINERNAME="immich"
  -e 'TCP_PORT_8080'='8080'
  -e 'DB_HOSTNAME'='192.168.10.20'
  -e 'DB_USERNAME'='postgres'
  -e 'DB_PASSWORD'='---'
  -e 'DB_DATABASE_NAME'='postgres'
  -e 'REDIS_HOSTNAME'='192.168.10.20'
  -e 'DB_PORT'='5432'
  -e 'REDIS_PORT'='6379'
  -e 'REDIS_PASSWORD'=''
  -e 'MACHINE_LEARNING_GPU_ACCELERATION'=''
  -e 'MACHINE_LEARNING_WORKERS'='1'
  -e 'MACHINE_LEARNING_WORKER_TIMEOUT'='120'
  -e 'EXTERNAL_PATH'='/mnt/user/Multimedia/xyz/'
  -e 'PUID'='99'
  -e 'PGID'='100'
  -e 'UMASK'='022'
  -l net.unraid.docker.managed=dockerman
  -l net.unraid.docker.webui='http://[IP]:[PORT:8080]'
  -l net.unraid.docker.icon='https://raw.githubusercontent.com/imagegenius/templates/main/unraid/img/immich.png'
  -v '/mnt/user/Multimedia/xyz/':'/photos':'rw'
  -v '/mnt/user/Multimedia/xyz/import/':'/import':'ro'
  -v '/mnt/user/appdata/immich':'/config':'rw' 'ghcr.io/imagegenius/immich'

Reproduction steps

I have https://immich.app/docs/guides/external-library/ follow steps

Additional information

No response

Originally created by @oekomat on GitHub (Feb 27, 2024). ### The bug I cannot include an EXTERNAL PATH in the libraries. I use unraid and immich as Docker - selfhosted. `02/27/2024, 9:37:56 AM ERROR [LibraryService] Skipping invalid import path: /mnt/user/Multimedia/xyz/. Reason: Path does not exist (ENOENT)` I have an additional container variable EXTERNAL-PATH was created. ![image](https://github.com/immich-app/immich/assets/96077384/4954278e-899c-4ce9-b066-b60743a31e19) ### The OS that Immich Server is running on unraid 6.126 ### Version of Immich Server ghcr.io/imagegenius/immich ### Version of Immich Mobile App 1,95 ### Platform with the issue - [X] Server - [ ] Web - [ ] Mobile ### Your docker-compose.yml content ```YAML docker run -d --name='immich' --net='br0' --ip='192.168.10.64' -e TZ="Europe/Berlin" -e HOST_OS="Unraid" -e HOST_HOSTNAME="Tower" -e HOST_CONTAINERNAME="immich" -e 'TCP_PORT_8080'='8080' -e 'DB_HOSTNAME'='192.168.10.20' -e 'DB_USERNAME'='postgres' -e 'DB_PASSWORD'='---' -e 'DB_DATABASE_NAME'='postgres' -e 'REDIS_HOSTNAME'='192.168.10.20' -e 'DB_PORT'='5432' -e 'REDIS_PORT'='6379' -e 'REDIS_PASSWORD'='' -e 'MACHINE_LEARNING_GPU_ACCELERATION'='' -e 'MACHINE_LEARNING_WORKERS'='1' -e 'MACHINE_LEARNING_WORKER_TIMEOUT'='120' -e 'EXTERNAL_PATH'='/mnt/user/Multimedia/xyz/' -e 'PUID'='99' -e 'PGID'='100' -e 'UMASK'='022' -l net.unraid.docker.managed=dockerman -l net.unraid.docker.webui='http://[IP]:[PORT:8080]' -l net.unraid.docker.icon='https://raw.githubusercontent.com/imagegenius/templates/main/unraid/img/immich.png' -v '/mnt/user/Multimedia/xyz/':'/photos':'rw' -v '/mnt/user/Multimedia/xyz/import/':'/import':'ro' -v '/mnt/user/appdata/immich':'/config':'rw' 'ghcr.io/imagegenius/immich' ``` ### Your .env content ```Shell docker run -d --name='immich' --net='br0' --ip='192.168.10.64' -e TZ="Europe/Berlin" -e HOST_OS="Unraid" -e HOST_HOSTNAME="Tower" -e HOST_CONTAINERNAME="immich" -e 'TCP_PORT_8080'='8080' -e 'DB_HOSTNAME'='192.168.10.20' -e 'DB_USERNAME'='postgres' -e 'DB_PASSWORD'='---' -e 'DB_DATABASE_NAME'='postgres' -e 'REDIS_HOSTNAME'='192.168.10.20' -e 'DB_PORT'='5432' -e 'REDIS_PORT'='6379' -e 'REDIS_PASSWORD'='' -e 'MACHINE_LEARNING_GPU_ACCELERATION'='' -e 'MACHINE_LEARNING_WORKERS'='1' -e 'MACHINE_LEARNING_WORKER_TIMEOUT'='120' -e 'EXTERNAL_PATH'='/mnt/user/Multimedia/xyz/' -e 'PUID'='99' -e 'PGID'='100' -e 'UMASK'='022' -l net.unraid.docker.managed=dockerman -l net.unraid.docker.webui='http://[IP]:[PORT:8080]' -l net.unraid.docker.icon='https://raw.githubusercontent.com/imagegenius/templates/main/unraid/img/immich.png' -v '/mnt/user/Multimedia/xyz/':'/photos':'rw' -v '/mnt/user/Multimedia/xyz/import/':'/import':'ro' -v '/mnt/user/appdata/immich':'/config':'rw' 'ghcr.io/imagegenius/immich' ``` ### Reproduction steps ```bash I have https://immich.app/docs/guides/external-library/ follow steps ``` ### Additional information _No response_
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#2283