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.

I Broke Immich! Help Please!

Featured Replies

Hi all, I followed Space Invader One's excellent t guide for how to setup Immich with a cloudflare tunnel on Unraid.

It worked perfectly for 5 months until I decided to upgrade my server.

In the process the server ended up with a new IP, and instead of just going into settings and putting it back, I went into the Immich container and updated it to the new one. I then did the same for my Cloudflare tunnel and it all seemed to work fine. I even backed up some photos from my phone.

The next day I tried to search for a photo using my phone app and got nothing. I went home and tried to log into the Web UI for my Immich container... which failed with...

"The site cannot be reached"

So in a panic, I changed it all back, then went into settings and changed my IP back to the old one. For good measure I went into my router's DHCP settings and made sure the IP was reserved.

But it's still broken.

Wtf have I done? 😨😭

Edited by StoneFalcon

Solved by bmartino1

  • Author

Thank you. Here is a snippet of the immich log. This is looping.

Error: connect EHOSTUNREACH 192.168.1.178:5433
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1634:16) {
errno: -113,
code: 'EHOSTUNREACH',
syscall: 'connect',
address: '192.168.1.178',
port: 5433
}

Node.js v22.14.0
api worker exited with code 1
Starting api worker
[32m[Nest] 15728 - [39m05/28/2025, 3:27:02 PM [32m LOG[39m [33m[Api:EventRepository][39m [32mInitialized websocket server[39m
/app/immich/server/node_modules/postgres/cjs/src/connection.js:388
if (!query || typeof query !== 'object' || !query.reject) throw err
^

Error: connect EHOSTUNREACH 192.168.1.178:5433

tiberius-diagnostics-20250528-2321.zip

  • Community Expert
  • Solution

the erro your getting is that immich can't talk and conect to your postgress docker:

Error: connect EHOSTUNREACH 192.168.1.178:5433
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1634:16) {
errno: -113,
code: 'EHOSTUNREACH',
syscall: 'connect',
address: '192.168.1.178',
port: 5433
}

what is your postgres docker connection settings?

default Postgres port is 5432

?is Postgres running in what network mode?

is it running host mode (it will be at your unriads ip address) usiung port 5432

is it in bridge mode?

ther is a know tempate issue with teh continer port being a typo of 5433
in bridge mode it will still be unriad ip but you can move the port with the template setting...


custom br0/eth0/bopnd0 at a static ip of 192.168.1.178

?is unraid the 192.168.1.178


Please edit the Postgres docker and corect or gather the docker network type and port.

Then edit teh immich docker to correctly talk to the Postgres docker.

  • Author

Hi! Thank you very much.

Ok so Postgres is on 5433, which I set it to following the Space Invader One tutorial. Immich is set to 5433 as well for the PostgreSQL port.

Postgres is set to bridge mode.

NEVER MIND! Thanks to your pointer, I discovered a typo in the IP address in Immich. I thought I'd fixed it... but looking at the logs should have been my first port of call. Thankyou for your help.

Edited by StoneFalcon

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.