#PostgresError:

1 messages · Page 1 of 1 (latest)

green pagoda
#

Hello i am getting this error while installing immich and the posgres-immich on docker in Unraid:

I am not sure what this error means in the log as i have not changed the default password. I tried reinstalling immich to no avail. (this is a new installation).

croservices worker error: PostgresError: password authentication failed for user "postgres", stack: PostgresError: password authentication failed for user "postgres"

safe oliveBOT
#

:wave: Hey @green pagoda,

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.

safe oliveBOT
orchid ember
#

do you have komodo installed by any chance ?

green pagoda
#

nop should i?

orchid ember
green pagoda
#

i have these containers i do not think any of these have postgres

orchid ember
#

are you using the community image?

green pagoda
#

for immich?

#

i am using the community app on unraid. with this added variable for redis

orchid ember
#

ok, and how did you setup that PostgresSQL_immich container? did you use the same username and password ?

green pagoda
#

yeah everything is default

orchid ember
#

5433? can I see your Immich config?

green pagoda
#

wait i am seeing something here

#

port 8080 is used for webui and immich server port

#

is this correct?

orchid ember
#

yes, it's the default config for unraid

green pagoda
#

ok

orchid ember
#

in your postgres container change network to host and restart both containers

green pagoda
#

nope nothing

orchid ember
#

what's in the logs?

green pagoda
#

Error: connect ECONNREFUSED 10.0.0.199:5433
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1636:16) {
errno: -111,
code: 'ECONNREFUSED',
syscall: 'connect',
address: '10.0.0.199',
port: 5433

#

it keeps trying

#

continuously

orchid ember
#

if you set DB_HOSTNAME as localhost ?

green pagoda
#

i changed to local host now the error refused is comming from port 6379

orchid ember
#

ok great

#

now change your redis container, set network = host

green pagoda
#

it was already

#

or do you mean the immich one as well

orchid ember
#

no, just redis

#

is redis listening in 6379?

green pagoda
orchid ember
#

that's postgres

#

do you have a redis image running ?

green pagoda
#

i have it set to run within the immich container

green pagoda
orchid ember
#

humm, not really sure how that mod works, but from the logs it looks like there no redis service running

green pagoda
#

mm maybe i will try to install redis with straight docker

#

on a separate docker container?

orchid ember
green pagoda
#

do you recomend vanilla redis or immich_redis

orchid ember
#

or you may want to ask in #unraid how they are running it

green pagoda
#

let me try this

orchid ember
green pagoda
#

i will try that tomorrow and i will let you know !

#

thanks for your help