Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Immich “getaddrinfo ENOTFOUND database” Error

Featured Replies

Hello everyone,

I'm facing a critical issue with my self-hosted Immich setup (v1.141.1) running on Unraid via Docker Compose. The service starts up, but Immich remains unreachable and shows repeated, blocking errors in the logs:


Error: getaddrinfo ENOTFOUND database
    at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:122:26)
    at GetAddrInfoReqWrap.callbackTrampoline (node:internal/async_hooks:130:17)

I did a clean install using Docker Compose and then restored the database from an old installation (Postgres16) via the official site (link).

Everything worked fine for the first few hours, but then Immich became inaccessible with these errors (see logs).
I attached the logs and the docker compose files.

Thanks for the help !

Immich_log.txt Immich_Stack.txt Immich_Stack_env.txt

Edited by Jayce1781

  • 3 weeks later...

I think immich cannot communicate with your postgresql container because they are not in the same network.

As a side-note, you should not use disk-shares in your container paths. You use:

UPLOAD_LOCATION=/mnt/disk2/Photos/Immich/library and DB_DATA_LOCATION=/mnt/cache/appdata/postgres

Normally we use:

UPLOAD_LOCATION=/mnt/user/Photos/Immich/library and DB_DATA_LOCATION=/mnt/user/appdata/postgres

Edited by Aran

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.