#[Nest] 7 - ERROR [TypeOrmModule] Unable to connect to the database.

1 messages · Page 1 of 1 (latest)

misty swan
#

I'm trying to set up immich for the first time on my Raspberry Pi 4, i use docker and Dockge. It seems, i don't get past this error on the immich-server:

[Nest] 7 - 03/31/2024, 10:36:31 AM ERROR [TypeOrmModule] Unable to connect to the database. Retrying (1)... AggregateError at internalConnectMultiple (node:net:1114:18) at afterConnectMultiple (node:net:1667:5)

I searched a lot but did not find any solution. Here my docker compose:

What am i missing? Since i'm pretty new to this, probably something trivial 🫣

lime compassBOT
#

:wave: Hey @misty swan,

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

References

Checklist

  1. :blue_square: I have verified I'm on the latest release(note that mobile app releases may take some time).
  2. :blue_square: I have read applicable release notes.
  3. :blue_square: I have reviewed the FAQs for known issues.
  4. :blue_square: I have reviewed Github for known issues.
  5. :blue_square: I have tried accessing Immich via local ip (without a custom reverse proxy).
  6. :blue_square: I have uploaded the relevant logs, docker compose, and .env files using the buttons below or the /upload command.
  7. :blue_square: I have 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)

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

whole mason
#

Is that you actual env file or did you blank out some entries?

misty swan
#

it was my acutal env file... but i looked at this part of the installation again and copied the .evn file from immich/docker again.
Seems to do the trick 🙂
Sorry for the stupid question and the quick help!