Keyakinan
IImmich
•Created by Keyakinan on 1/27/2023 in #help-desk-support
server error : connect ECONNREFUSED 172.18.0.7:3001
So after being busy I've decided to just purge everything , change nfs permission on host. Mount directly to lxc container. I've just started from scratch and it worked straight away!
I'm pretty sure it was the NFS permissions but I can't say for sure. Hopefully this is stable and I can just start back-up completely of all pictures!
135 replies
IImmich
•Created by Keyakinan on 1/27/2023 in #help-desk-support
server error : connect ECONNREFUSED 172.18.0.7:3001
Does it need to come up first?
135 replies
IImmich
•Created by Keyakinan on 1/27/2023 in #help-desk-support
server error : connect ECONNREFUSED 172.18.0.7:3001

135 replies
IImmich
•Created by Keyakinan on 1/27/2023 in #help-desk-support
server error : connect ECONNREFUSED 172.18.0.7:3001
I am indeed
135 replies
IImmich
•Created by Keyakinan on 1/27/2023 in #help-desk-support
server error : connect ECONNREFUSED 172.18.0.7:3001
yes this error is very usefull!
135 replies
IImmich
•Created by Keyakinan on 1/27/2023 in #help-desk-support
server error : connect ECONNREFUSED 172.18.0.7:3001
seems like I either checked the wrong log or at the wrong time.
postgresql : 2023-01-27 18:55:24.581 UTC [43] FATAL: no pg_hba.conf entry for host "172.21.0.6", user "postgres", database "immich", no encryption
server: [Nest] 1 - 01/27/2023, 6:56:51 PM ERROR [ExceptionHandler] no pg_hba.conf entry for host "172.21.0.7", user "postgres", database "immich", no encryption
error: no pg_hba.conf entry for host "172.21.0.7", user "postgres", database "immich", no encryption
at Parser.parseErrorMessage (/usr/src/app/node_modules/pg-protocol/dist/parser.js:287:98)
at Parser.handlePacket (/usr/src/app/node_modules/pg-protocol/dist/parser.js:126:29)
at Parser.parse (/usr/src/app/node_modules/pg-protocol/dist/parser.js:39:38)
at Socket.<anonymous> (/usr/src/app/node_modules/pg-protocol/dist/index.js:11:42)
at Socket.emit (node:events:527:28)
at addChunk (node:internal/streams/readable:315:12)
at readableAddChunk (node:internal/streams/readable:289:9)
at Socket.Readable.push (node:internal/streams/readable:228:10)
at TCP.onStreamRead (node:internal/stream_base_commons:190:23)
135 replies
IImmich
•Created by Keyakinan on 1/27/2023 in #help-desk-support
server error : connect ECONNREFUSED 172.18.0.7:3001
I will check the logs again, I didn't see anything but maybe didn't look at the right location. I will look into permissions, have to go right now. Thank you for all your help so far 🙏
135 replies
IImmich
•Created by Keyakinan on 1/27/2023 in #help-desk-support
server error : connect ECONNREFUSED 172.18.0.7:3001
The thing that puzzles me is that I can CRUD stuff from the containers in nfs share but when I change location to non nfs it seems to work
135 replies
IImmich
•Created by Keyakinan on 1/27/2023 in #help-desk-support
server error : connect ECONNREFUSED 172.18.0.7:3001

135 replies
IImmich
•Created by Keyakinan on 1/27/2023 in #help-desk-support
server error : connect ECONNREFUSED 172.18.0.7:3001
haha yeah oke thought so
135 replies
IImmich
•Created by Keyakinan on 1/27/2023 in #help-desk-support
server error : connect ECONNREFUSED 172.18.0.7:3001
Allright will do that. pvc = pve right?
135 replies
IImmich
•Created by Keyakinan on 1/27/2023 in #help-desk-support
server error : connect ECONNREFUSED 172.18.0.7:3001
I can chance that, I just chance UPLOAD_LOCATION to something else and hardcode the nfs location for database
135 replies
IImmich
•Created by Keyakinan on 1/27/2023 in #help-desk-support
server error : connect ECONNREFUSED 172.18.0.7:3001
Yeah that's kinda ugly, but that shouldn't be a problem right?
135 replies
IImmich
•Created by Keyakinan on 1/27/2023 in #help-desk-support
server error : connect ECONNREFUSED 172.18.0.7:3001
yes exactly!
135 replies
IImmich
•Created by Keyakinan on 1/27/2023 in #help-desk-support
server error : connect ECONNREFUSED 172.18.0.7:3001
The server container of immich
135 replies
IImmich
•Created by Keyakinan on 1/27/2023 in #help-desk-support
server error : connect ECONNREFUSED 172.18.0.7:3001
I'm not sure how I can check that? I haven't deployed anything else other then portainer with immich.
It is the first time for this volume yes. But when I go into the container with sh I can create a folder and that works perfectly, I can see it on my nfs share
135 replies
IImmich
•Created by Keyakinan on 1/27/2023 in #help-desk-support
server error : connect ECONNREFUSED 172.18.0.7:3001
oke it is def my mounted nfs share that doesn't work (but does on host)
135 replies
IImmich
•Created by Keyakinan on 1/27/2023 in #help-desk-support
server error : connect ECONNREFUSED 172.18.0.7:3001

135 replies
IImmich
•Created by Keyakinan on 1/27/2023 in #help-desk-support
server error : connect ECONNREFUSED 172.18.0.7:3001
version: "3.8"
services:
immich-server:
container_name: immich_server
image: altran1502/immich-server:release
entrypoint: ["/bin/sh", "./start-server.sh"]
volumes:
- ${UPLOAD_LOCATION}:/usr/src/app/upload
env_file:
- stack.env
environment:
- NODE_ENV=production
depends_on:
- redis
- database
restart: always
immich-microservices:
container_name: immich_microservices
image: altran1502/immich-server:release
entrypoint: ["/bin/sh", "./start-microservices.sh"]
volumes:
- ${UPLOAD_LOCATION}:/usr/src/app/upload
env_file:
- stack.env
environment:
- NODE_ENV=production
depends_on:
- redis
- database
restart: always
immich-machine-learning:
container_name: immich_machine_learning
image: altran1502/immich-machine-learning:release
entrypoint: ["/bin/sh", "./entrypoint.sh"]
volumes:
- ${UPLOAD_LOCATION}:/usr/src/app/upload
env_file:
- stack.env
environment:
- NODE_ENV=production
depends_on:
- database
restart: always
immich-web:
container_name: immich_web
image: altran1502/immich-web:release
entrypoint: ["/bin/sh", "./entrypoint.sh"]
env_file:
- stack.env
restart: always
redis:
container_name: immich_redis
image: redis:6.2
restart: always
database:
container_name: immich_postgres
image: postgres:14
env_file:
- stack.env
environment:
POSTGRES_PASSWORD: ${DB_PASSWORD}
POSTGRES_USER: ${DB_USERNAME}
POSTGRES_DB: ${DB_DATABASE_NAME}
PG_DATA: /var/lib/postgresql/data
volumes:
- ${UPLOAD_LOCATION}/data:/var/lib/postgresql/data
restart: always
135 replies