ImmichI
Immich5mo ago
Cipix

Don't use right UPLOAD_LOCATION

When i start my container, i have this error with the immich server :

ERROR [Microservices:StorageService] Failed to read (/data/encoded-video/.immich): Error: ENOENT: no such file or directory, open '/data/encoded-video/.immich'

it tells me it cannot read /data which is normal because it doesn't exist, the problem is that my UPLOAD_LOCATION variable is set to /mnt/immich_storage, i thought it was permission issues so i tried chmod 777 on /mnt/immich_storage but it didn't solve the problem

this is my .env file :
# You can find documentation for all the supported env variables at https://immich.app/docs/install/environment-variables

# The location where your uploaded files are stored
UPLOAD_LOCATION=/mnt/immich_storage

# The location where your database files are stored. Network shares are not supported for the database
DB_DATA_LOCATION=./postgres

# To set a timezone, uncomment the next line and change Etc/UTC to a TZ identifier from this list: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List
TZ=Europe/Paris

# The Immich version to use. You can pin this to a specific version like "v1.71.0"
IMMICH_VERSION=release

# Connection secret for postgres. You should change it to a random password
# Please use only the characters `A-Za-z0-9`, without special characters or spaces
DB_PASSWORD=

# The values below this line do not need to be changed
###################################################################################
DB_USERNAME=postgres
DB_DATABASE_NAME=immich


i didn't change anything in the my docker-compose.yml file
Was this page helpful?