Immich isn't working any more and is giving me a “bad gateway” error

Hi @mrmarkuz

The Immich app on my NS 8 has stopped working. Attempts to reconfigure it fail with the message

Job for immich.service failed because the control process exited with error code.
See “systemctl --user status immich.service” and “journalctl --user -xeu immich.service” for details

What do I need to do to get Immich working again?

Hi Uwe,

good question!

There was a recent update (to ns8-immich 1.2.3) 2 days ago, which version do you have installed?
You can check it at the application page.

Please check the immich service status:

runagent -m immich1 systemctl --user status immich -l --no-pager
1 Like

× immich.service - Podman immich.service
Loaded: loaded (/home/immich1/.config/systemd/user/immich.service; enabled; preset: disabled)
Active: failed (Result: exit-code) since Fri 2026-07-17 17:11:26 CEST; 2h 5 3min ago
Process: 161142 ExecStartPre=/bin/rm -f /run/user/1013/immich.pid /run/user/ 1013/immich.pod-id (code=exited, status=0/SUCCESS)
Process: 161143 ExecStartPre=/usr/bin/podman pod create --infra-conmon-pidfi le /run/user/1013/immich.pid --pod-id-file /run/user/1013/immich.pod-id --name i mmich --network=slirp4netns:allow_host_loopback=true --publish 127.0.0.1:${TCP_P ORT}:2283 --replace (code=exited, status=125)
Process: 161161 ExecStopPost=/usr/bin/podman pod rm --ignore -f --pod-id-fil e /run/user/1013/immich.pod-id (code=exited, status=125)
CPU: 110ms

The version of immich is 1.2.3

Following processes have errors:

Maybe the disk is full, you can check it at the nodes page.

Let’s check if the port is used already.

Get the port:

[root@node1 ~]# runagent -m immich1 grep TCP_PORT environment
TCP_PORT=20010
TCP_PORTS=20010

Check if it’s in use: (in this example port 20010 is checked)

[root@node1 ~]# ss -tulpn | grep 20010

If there’s no result, please open the log viewer in NS8 and follow the logs for the immich app.
Then restart the service and check the logs for errors:

runagent -m immich1 systemctl --user restart immich
1 Like

The disc is not full. After resetting the settings again.
it seems to be working properly again. At least I can access the page.

Thank you…

1 Like