May 28, 20251 yr 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 May 28, 20251 yr by StoneFalcon
May 28, 20251 yr Community Expert Review the guide and make sure you have a postgress database backup...Reviewhttps://forums.unraid.net/topic/190531-guide-immich-docker-setup-unraid-caPlease post a unraid diag file.What is the docekr log on immich ?
May 28, 20251 yr Author Thank you. Here is a snippet of the immich log. This is looping. Error: connect EHOSTUNREACH 192.168.1.178:5433at 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.0api worker exited with code 1Starting 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:388if (!query || typeof query !== 'object' || !query.reject) throw err^Error: connect EHOSTUNREACH 192.168.1.178:5433 tiberius-diagnostics-20250528-2321.zip
May 28, 20251 yr 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:5433at 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 5432is it in bridge mode?ther is a know tempate issue with teh continer port being a typo of 5433in 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.178Please 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.
May 29, 20251 yr 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 May 29, 20251 yr 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.