Alex
IImmich
•Created by Alex on 10/4/2023 in #help-desk-support
v1.81 ECONNREFUSED 172.18.0.6:3001
Win 10, docker v4.24.2 . Docker subnet 192.168.65.0/24, local server 192.168.39.10. Local PostgreSQL v15.2. pg_hba is:
local replication all scram-sha-256
host replication all 127.0.0.1/32 scram-sha-256
host replication all ::1/128 scram-sha-256
host all all 192.168.39.1/24 scram-sha-256
host all all 192.168.65.1/24 scram-sha-256
Tried different configs of ENV/docker compose:
1. when try to use my local postgre sql
DB_PASSWORD=somepass
DB_HOSTNAME=host.docker.internal
DB_PORT=5432
DB_USERNAME=immich
DB_DATABASE_NAME=immich
remove database service(container) section, remove depends_on:- database for immich-microservices, immich-server
2. when use "your" database service
DB_PASSWORD=somepass
DB_USERNAME=postgres
DB_DATABASE_NAME=immich
add ports: - 5433:5432
19 replies
IImmich
•Created by Alex on 10/4/2023 in #help-desk-support
v1.81 ECONNREFUSED 172.18.0.6:3001
Also I tried to publish container postgres with ports: - 5433:5432. And I can't connect from my local server to container postgres with login set in enf file. So my idea was that somewhere login pass is not loaded. Or may be permissions in postgres container doesn't allow to connect over published port.
19 replies
IImmich
•Created by Alex on 10/4/2023 in #help-desk-support
v1.81 ECONNREFUSED 172.18.0.6:3001
I want to return to my local postgres because of backup/restore pain in container. I can backup but restore don't work. Script in backup file not executes. So I tried to setup env to my local postgres. I set all params in env and see that something changed: intead of econnrefused from my first messsage for 1.81 now i get athorization error on 1.82.1. In same time I can login with this credetials locally. But if I comment all that DB variable in env file, I acpect that according to docementation defaults are used. But in this case I get Error: Config validation error: "DB_USERNAME" is required. "DB_DATABASE_NAME" is required
2023-10-21 21:41:24 at ConfigModule.forRoot (/usr/src/app/node_modules/@nestjs/config/dist/config.module.js:78:23)
2023-10-21 21:41:24 at Object.<anonymous> (/usr/src/app/dist/infra/infra.module.js:45:27)
19 replies
IImmich
•Created by Alex on 10/4/2023 in #help-desk-support
v1.81 ECONNREFUSED 172.18.0.6:3001
Hello @Alex. Could you please check if DB_USERNAME, DB_PASSWORD, DB_DATABASE_NAME are actually taken from ENV file and not some defaults hardcoded for microservice and server?
19 replies
IImmich
•Created by harrisc on 9/30/2023 in #help-desk-support
Backup on Windows 10
By the way, gunzip < "/mnt/media/backups/immich.backup" | psql -U postgres -d immich doesn't work: gunzip: invalid magic
8 replies
IImmich
•Created by harrisc on 9/30/2023 in #help-desk-support
Backup on Windows 10
pg_dumpall -c -U postgres | gzip > inside container works, but have to mount disk to be able to write to local folder. Want to konw if some easier solution is available.
8 replies
IImmich
•Created by harrisc on 9/30/2023 in #help-desk-support
Backup on Windows 10
Have same issue. Have you find solution?
8 replies
IImmich
•Created by Alex on 10/11/2023 in #help-desk-support
Transcode only some albums
Thanks for quick response.
3 replies
IImmich
•Created by Alex on 10/6/2023 in #help-desk-support
External Library Albums
Nice. Any ETA?
13 replies
IImmich
•Created by Alex on 10/4/2023 in #help-desk-support
v1.81 ECONNREFUSED 172.18.0.6:3001

19 replies
IImmich
•Created by Alex on 10/4/2023 in #help-desk-support
v1.81 ECONNREFUSED 172.18.0.6:3001
It worked 1.77-1.80. Seems docker failed. WSL crashed and I have to reset to factory defaults. Need som time to restore prev settings.
19 replies
IImmich
•Created by Alex on 10/4/2023 in #help-desk-support
v1.81 ECONNREFUSED 172.18.0.6:3001
As far as I understand host.docker.internal is not available by default. Also I changed env file for this DB_HOSTNAME=host.docker.internal.
19 replies
IImmich
•Created by Alex on 10/4/2023 in #help-desk-support
v1.81 ECONNREFUSED 172.18.0.6:3001
I have this in compose. extra_hosts:
- "host.docker.internal:host-gateway". Ping shouldf return my local ip, but return default docker network ip
19 replies
IImmich
•Created by Alex on 10/4/2023 in #help-desk-support
v1.81 ECONNREFUSED 172.18.0.6:3001
Right now I suspect that problem is in docker, not immich. ping host.docker.internal returns invalid IP.
19 replies
IImmich
•Created by Alex on 10/4/2023 in #help-desk-support
v1.81 ECONNREFUSED 172.18.0.6:3001
15.2.
19 replies