Arki
Arki
IImmich
Created by Arki on 12/21/2024 in #help-desk-support
Setting up immich as non-root
Hi ! I try to setup immich as non-root, I follow the FAQ, but i struggle a bit with
You may need to add mount points or docker volumes for the following internal container paths:
"immich-machine-learning:/.config
immich-machine-learning:/.cache
redis:/data".
You may need to add mount points or docker volumes for the following internal container paths:
"immich-machine-learning:/.config
immich-machine-learning:/.cache
redis:/data".
everything starts up but postgress, the logs says
"initdb: error: directory "/var/lib/postgresql/data" exists but is not empty".
"initdb: error: directory "/var/lib/postgresql/data" exists but is not empty".
I added this to my docker-compose.yml :
- /data/appdb/immichdb/redis-data:/data
- /data/appdb/immichdb/redis-data:/data
What I tried : - Made sure everything woirks without any user changes - removed the whole immichdb folder, chown -R 1000:1000, chmod 755 The ML part also says
[12/21/24 12:09:25] WARNING Matplotlib created a temporary cache directory at
/tmp/matplotlib-16ixy51s because the default path
(/.config/matplotlib) is not a writable directory;
it is highly recommended to set the MPLCONFIGDIR
environment variable to a writable directory, in
particular to speed up the import of Matplotlib and
to better support multiprocessing.
[12/21/24 12:09:25] WARNING Matplotlib created a temporary cache directory at
/tmp/matplotlib-16ixy51s because the default path
(/.config/matplotlib) is not a writable directory;
it is highly recommended to set the MPLCONFIGDIR
environment variable to a writable directory, in
particular to speed up the import of Matplotlib and
to better support multiprocessing.
It seems like I messed up with permissions somewhere. Here's my full compose.yml : https://pastebin.com/PktzRuav And my .env : https://pastebin.com/b8jwzREB Thanks !!
7 replies