#getaddrinfo ENOTFOUND immich-server (ENOTFOUND)

1 messages · Page 1 of 1 (latest)

fathom sunBOT
#

:wave: Hey @broken sonnet,

Thanks for reaching out to us. Please carefully read this message and follow the recommended actions. This will help us be more effective in our support effort and leave more time for building Immich immich.

References

#

Checklist

I have...

  1. :ballot_box_with_check: verified I'm on the latest release(note that mobile app releases may take some time).
  2. :ballot_box_with_check: read applicable release notes.
  3. :ballot_box_with_check: reviewed the FAQs for known issues.
  4. :ballot_box_with_check: reviewed Github for known issues.
  5. :ballot_box_with_check: tried accessing Immich via local ip (without a custom reverse proxy).
  6. :ballot_box_with_check: uploaded the relevant information (see below).
  7. :ballot_box_with_check: tried an incognito window, disabled extensions, cleared mobile app cache, logged out and back in, different browsers, etc. as applicable

(an item can be marked as "complete" by reacting with the appropriate number)

Information

In order to be able to effectively help you, we need you to provide clear information to show what the problem is. The exact details needed vary per case, but here is a list of things to consider:

  • Your docker-compose.yml and .env files.
  • Logs from all the containers and their status (see above).
  • All the troubleshooting steps you've tried so far.
  • Any recent changes you've made to Immich or your system.
  • Details about your system (both software/OS and hardware).
  • Details about your storage (filesystems, type of disks, output of commands like fdisk -l and df -h).
  • The version of the Immich server, mobile app, and other relevant pieces.
  • Any other information that you think might be relevant.

Please paste files and logs with proper code formatting, and especially avoid blurry screenshots.
Without the right information we can't work out what the problem is. Help us help you ;)

If this ticket can be closed you can use the /close command, and re-open it later if needed.

broken sonnet
#

vi docker-compose.yml
- "3001"
restart: unless-stopped

immich_microservices:
image: ghcr.io/immich-app/immich-server:release
container_name: immich_microservices
command: ['start.sh', 'microservices']
env_file: [ .env ]
depends_on:
- database
- redis
volumes:
- /share/Container/immich/upload:/usr/src/app/upload
- /etc/localtime:/etc/localtime:ro
restart: unless-stopped

immich_machine_learning:
image: ghcr.io/immich-app/immich-machine-learning:release
container_name: immich_machine_learning
env_file: [ .env ]
volumes:
- /share/Container/immich/app:/cache
restart: unless-stopped

redis:
image: redis:6.2-alpine
container_name: immich_redis
restart: unless-stopped

database:
image: tensorchord/pgvecto-rs:pg14-v0.2.0
container_name: immich_postgres
env_file: [ .env ]
environment:
POSTGRES_USER: ${DB_USERNAME}
POSTGRES_PASSWORD: ${DB_PASSWORD}
POSTGRES_DB: ${DB_DATABASE_NAME}
volumes:
- /share/Container/immich/db:/var/lib/postgresql/data
restart: unless-stopped

immich_web:
image: ghcr.io/immich-app/immich-web:release
container_name: immich_web
env_file: [ .env ]
restart: unless-stopped

immich_proxy:
image: ghcr.io/immich-app/immich-proxy:release
container_name: immich_proxy
environment:
IMMICH_SERVER_URL: http://immich_server:3001
IMMICH_WEB_URL: http://immich_web:3000
depends_on:
- immich_server
- immich_web
ports:
- "2283:8080"
restart: unless-stopped

#

Datenbank

DB_HOSTNAME=database
DB_USERNAME=postgres
DB_PASSWORD=ImmichSecure123!
DB_DATABASE_NAME=immich

Redis

REDIS_HOSTNAME=redis

Uploadpfad (wird von Server/Microservices genutzt)

UPLOAD_LOCATION=/usr/src/app/upload

Version / Region (optional, harmless)

IMMICH_VERSION=release
TZ=Europe/Berlin

eager hill
#

Your compose file is unbelievably outdated

fathom sunBOT
broken sonnet
#

It hurts and gives me hope 😄 - where do I check for latest?

#

Ah I see

#

I am a big newbie here and I try my best - maybe you can help me a bit further pls?

eager hill
#

For how long have you been running immich?

broken sonnet
eager hill
broken sonnet
#

sigh ChatGPT

#

but it is purely desperation

#

so I did it but my connection failed in my browser by using NAS-IP:2283

#

[jayjay@JaysNAS immich-app]$ docker compose up -d
[+] Running 6/6
✔ Network immich_default Created 1.9s
✔ Volume "immich_model-cache" Created 0.1s
✔ Container immich_postgres Started 6.2s
✔ Container immich_machine_learning Started 7.1s
✔ Container immich_redis Started 5.3s
✔ Container immich_server Started

#

vi .env

--- Immich .env (nach Doku, Pfade für QNAP) ---

UPLOAD_LOCATION=/share/Container/immich-app/library
DB_DATA_LOCATION=/share/Container/immich-app/postgres
TZ=Europe/Berlin
IMMICH_VERSION=release

Postgres (Zeichen: A▒~@~SZ a▒~@~Sz 0▒~@~S9)

DB_PASSWORD=ImmichSecure123!

unverändert laut Doku

DB_USERNAME=postgres
DB_DATABASE_NAME=immich

#

docker ps --format "table {{.Names}}\t{{.Ports}}"
NAMES PORTS
immich_server 0.0.0.0:2283->2283/tcp
immich_postgres 5432/tcp
immich_machine_learning
immich_redis 6379/tcp

eager hill
#

Don't rely on LLMs for this stuff, sooner or later they're gonna send you down a bad path that results in nuking all your important files

eager hill