netlex
netlex
IImmich
Created by netlex on 4/1/2023 in #help-desk-support
How to set different location for thumbs and library after recent update with docker
It helped. Thanks a lot for your time.
34 replies
IImmich
Created by netlex on 4/1/2023 in #help-desk-support
How to set different location for thumbs and library after recent update with docker
34 replies
IImmich
Created by netlex on 4/1/2023 in #help-desk-support
How to set different location for thumbs and library after recent update with docker
And in logs of immich_server it says that it cannot connect to database - [Nest] 1 - 04/02/2023, 12:30:30 AM ERROR [TypeOrmModule] Unable to connect to the database. Retrying (6)... Error: connect ECONNREFUSED 127.0.0.1:5432. I don't how but something has messed up. end of logs form immich-redis -> 1:M 02 Apr 2023 00:21:33.676 * Ready to accept connections end of logs form immich_postgress -> 2023-04-02 00:21:35.272 UTC [1] LOG: database system is ready to accept connections
34 replies
IImmich
Created by netlex on 4/1/2023 in #help-desk-support
How to set different location for thumbs and library after recent update with docker
Updated docker-compose and .env - https://pastebin.com/H6BHEZQL if you want to take a look.
34 replies
IImmich
Created by netlex on 4/1/2023 in #help-desk-support
How to set different location for thumbs and library after recent update with docker
So it doesnt connect to immich-server. I think that I had to make some other mistake.
34 replies
IImmich
Created by netlex on 4/1/2023 in #help-desk-support
How to set different location for thumbs and library after recent update with docker
So good news is that it deployed successfully. (At first I didn't change /usr/src/app/upload/ to /usr/src/app/upload/upload, but I figured it out.) Unfortunately, now when I'm trying to connect I'm getting this lovely message 500 connect ECONNREFUSED 192.168.240.8:3001
34 replies
IImmich
Created by netlex on 4/1/2023 in #help-desk-support
How to set different location for thumbs and library after recent update with docker
I guess, I will try that and report what happens.
34 replies
IImmich
Created by netlex on 4/1/2023 in #help-desk-support
How to set different location for thumbs and library after recent update with docker
If I completely remove - ${UPLOAD_LOCATION}:/usr/src/app/upload from docker-compose, stack deploys just fine.
34 replies
IImmich
Created by netlex on 4/1/2023 in #help-desk-support
How to set different location for thumbs and library after recent update with docker
Can try that in a second.
34 replies
IImmich
Created by netlex on 4/1/2023 in #help-desk-support
How to set different location for thumbs and library after recent update with docker
Do you mean removing parent folder in host machine and then creating all folders?
34 replies
IImmich
Created by netlex on 4/1/2023 in #help-desk-support
How to set different location for thumbs and library after recent update with docker
No, I haven't set gid and uid so it defaulted to root.
34 replies
IImmich
Created by netlex on 4/1/2023 in #help-desk-support
How to set different location for thumbs and library after recent update with docker
I already try to chmod -R 777 and chown to my user but it didnt change anything
34 replies
IImmich
Created by netlex on 4/1/2023 in #help-desk-support
How to set different location for thumbs and library after recent update with docker
Ok, thanks for replay. I will try to fix by myself in meantime.😄
34 replies
IImmich
Created by netlex on 4/1/2023 in #help-desk-support
How to set different location for thumbs and library after recent update with docker
Just to clarify - I deleted old stack and all accompanying files and I'm trying to create new one from scratch.
34 replies
IImmich
Created by netlex on 4/1/2023 in #help-desk-support
How to set different location for thumbs and library after recent update with docker
Is it possible that there is some mistake in this comment? Possibly with locations? Because when I try to deploy a stack (I'm using portainer) I get an error OCI runtime create failed: runc create failed: unable to start container process: error during container init: error mounting "/mnt/docs/immich/encoded-video" to rootfs at "/usr/src/app/upload/encoded-video": mkdir /var/lib/docker/overlay2/908f97d3409f75d7fabec0061503847a2bceea8899b43221d6511609c27586fa/merged/usr/src/app/upload/encoded-video: permission denied: unknown. When it comes to permission on host machine, I think everything is OK, because it worked previously. My docker compose - https://pastebin.com/54QnC6KJ My .env / stack.env - https://pastebin.com/WwiTTZpq
34 replies
IImmich
Created by netlex on 4/1/2023 in #help-desk-support
How to set different location for thumbs and library after recent update with docker
Oh, I didn't look at comments at all. I think that might explain everything. Thanks!
34 replies