unable to install immich on a non.ubuntu home folder
Hello. i have troube to successfully execute docker compose up -d. I get .env: permission denied. I guess the problem is my UPLOAD_LOCATION=. When i taget my home folder the installation process works but if i point at at my 2nd hdd than i get the permission denied message. So there is a permission issue...can someone point me in the right direction...many thanks in advance
.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=/media/MEDIA/config/immich/uploads
The Immich version to use. You can pin this to a specific version like "v1.71.0"
IMMICH_VERSION=release
Connection secrets for postgres and typesense. You should change these to random passwords
TYPESENSE_API_KEY=some-random-text
DB_PASSWORD=postgres
The values below this line do not need to be changed
###################################################################################
DB_HOSTNAME=immich_postgres
DB_USERNAME=postgres
DB_DATABASE_NAME=immich
REDIS_HOSTNAME=immich_redis
IMMICH_SERVER_URL=https://immich.yourdomain.com
IMMICH_WEB_URL=https://immich.yourdomain.com
Environment Variables | Immich
To change environment variables, you must recreate the Immich containers.
9 Replies
YOu don't need to change this one
you can revert it back to the default and it will work
i´ll give it a try
thanks
ah wait, sorry I didn't read the message carefully
well change those two values to the default one anyway
You have mount your hdd to
UPLOAD_LOCATION=/media/MEDIA/config/immich/uploads
, correct?yyes i did
i created all files an folders as root
but not sure how to fix the permission issue with .env
You you use
root
user and create a folder, in it you put docker-compose and .env there, correct?
then when you run docker-compose up
, it doesn't work?yes
ok, maybe try this, create a new folder, then download the new docker-compose and .env, then put in that folder
in .env, change the UPLOAD_LOCATION to the desired location on your hdd then try docker-compose up again
nope same result
could i install it in the home flolder and change the upload folder later, when immich is setup?
That should be fine
I am not sure what is going on with the server permission here