© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
ImmichI
Immich•2mo ago•
16 replies
Shogun Logan

immich_server stuck in restart loop

🚧Setup🗄️Server☑️Ready
Hi! I'm trying to get my immich server to run for the first time, but my immich_server and database containers keep restarting every few seconds.

============================

EDIT:


These commands fixed it for me
docker compose down immich-server
docker image prune -a
docker compose pull
docker compose up -d
docker compose down immich-server
docker image prune -a
docker compose pull
docker compose up -d

I believe I attempted to prune while troubleshooting something else earlier, but I forgot to include the
-a
-a
flag, which caused things to get wonky. Doing a full, proper uninstall and reinstall with the above commands got me back on the right track.
============================

Any pointers? I followed the Quick Start Guide I'm just using the default .env file and docker-compose.yml. Running on MacOS silicon.

Maybe some helpful context, I actually set up a working immich server on this machine a few months ago (v1.143.0). I wanted to upgrade to v2 recently, but ran into issues that I couldn't figure out. I have all my photos still elsewhere, so I decided to try deleting all my immich stuff and reinstalling it fresh. Now this is happening!

For future searchability, here's the main error I see:
Missing history for endpoint: Retrieve auth status

(node:6) ExperimentalWarning: WASI is an experimental feature and might change at any time

(Use `node --trace-warnings ...` to show where the warning was created)

node:internal/process/promises:394

    triggerUncaughtException(err, true /* fromPromise */);

    ^


Error: getaddrinfo ENOTFOUND database

    at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:122:26) {

  errno: -3008,

  code: 'ENOTFOUND',

  syscall: 'getaddrinfo',

  hostname: 'database'

}
Missing history for endpoint: Retrieve auth status

(node:6) ExperimentalWarning: WASI is an experimental feature and might change at any time

(Use `node --trace-warnings ...` to show where the warning was created)

node:internal/process/promises:394

    triggerUncaughtException(err, true /* fromPromise */);

    ^


Error: getaddrinfo ENOTFOUND database

    at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:122:26) {

  errno: -3008,

  code: 'ENOTFOUND',

  syscall: 'getaddrinfo',

  hostname: 'database'

}


Thanks all!
Screenshot_2025-12-19_at_10.40.46_PM.png
ImmichJoin
A place to hang out, get support, discuss Immich, get announcements about releases and anything else going on.
36,590Members
Resources
Was this page helpful?

Similar Threads

Recent Announcements

Similar Threads

Immich server docker restart loop
ImmichIImmich / help-desk-support
4mo ago
immich-server docker restart loop
ImmichIImmich / help-desk-support
4mo ago
immich server caught in a restart loop
ImmichIImmich / help-desk-support
4mo ago
immich-server in reboot loop
ImmichIImmich / help-desk-support
7mo ago