Proxmox + Immich + Debian 12 VM - Immich becomes unreachable

Hey All! I am trying to install the latest Immich with default docker compose and .env files on a debian 12 VM hosted on proxmox. I am able to get the service to launch and work, but after 5-10 min the service is unreachable from another host. But if i curl 127.0.0.1:2283 i am able to get index.html. I have completly turned off my firewall, reinstalled 3 seperate times on full new VMs same symptoms. No errors in the logs, and the services appear to all be functional. Just not accessible from another host. If i reboot the immich docker instance I will regain access from an external host for 5-10m and then it does it again
18 Replies
Immich
Immich4d ago
:wave: Hey @zire720, 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 - Container Logs: docker compose logs docs - Container Status: docker ps -a docs - Reverse Proxy: https://immich.app/docs/administration/reverse-proxy - Code Formatting https://support.discord.com/hc/en-us/articles/210298617-Markdown-Text-101-Chat-Formatting-Bold-Italic-Underline#h_01GY0DAKGXDEHE263BCAYEGFJA 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.
zire720
zire720OP4d ago
Troubleshooting Installed 3 different VMs Ensured IPv4 routing was working flushed all firewall rules Added host info to .env Downgraded versions Changed where it looked for postgres Worked with AI to validate Permissions on files Changed interfaces from paravirtualized, e1000, and e1000e Validated VM RAM and CPU against reqs Watched all logs for any errors Immich version 1.38 and 1.39.4 Proxmox 8.11 Debian 12 VM 8 CPU Cores 16GB RAM e1000e virtual nic
df -h
Filesystem Size Used Avail Use% Mounted on
udev 3.9G 0 3.9G 0% /dev
tmpfs 793M 1.2M 791M 1% /run
/dev/sda1 99G 9.2G 86G 10% /
tmpfs 3.9G 0 3.9G 0% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
/dev/sda15 124M 12M 113M 10% /boot/efi
tmpfs 568M 0 568M 0% /run/user/1002
overlay 99G 9.2G 86G 10% /var/lib/docker/overlay2/3c91fbe15309c81e6c46c75a7e5f1ca94dbb21c09395ab6f5b25dfee07e35e34/merged
overlay 99G 9.2G 86G 10% /var/lib/docker/overlay2/9cd54fead99e9ce9c1820057268a742168951a513a50ced2f93187b764750008/merged
overlay 99G 9.2G 86G 10% /var/lib/docker/overlay2/d2db234927d5a4c0b5cf790aeef92a5164b68f45dff910f8d2282ccfafd8a61c/merged
overlay 99G 9.2G 86G 10% /var/lib/docker/overlay2/790cb87e9cf81283673406cb5e9dc157f545f449786fbcb519f3acccf1134222/merged
df -h
Filesystem Size Used Avail Use% Mounted on
udev 3.9G 0 3.9G 0% /dev
tmpfs 793M 1.2M 791M 1% /run
/dev/sda1 99G 9.2G 86G 10% /
tmpfs 3.9G 0 3.9G 0% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
/dev/sda15 124M 12M 113M 10% /boot/efi
tmpfs 568M 0 568M 0% /run/user/1002
overlay 99G 9.2G 86G 10% /var/lib/docker/overlay2/3c91fbe15309c81e6c46c75a7e5f1ca94dbb21c09395ab6f5b25dfee07e35e34/merged
overlay 99G 9.2G 86G 10% /var/lib/docker/overlay2/9cd54fead99e9ce9c1820057268a742168951a513a50ced2f93187b764750008/merged
overlay 99G 9.2G 86G 10% /var/lib/docker/overlay2/d2db234927d5a4c0b5cf790aeef92a5164b68f45dff910f8d2282ccfafd8a61c/merged
overlay 99G 9.2G 86G 10% /var/lib/docker/overlay2/790cb87e9cf81283673406cb5e9dc157f545f449786fbcb519f3acccf1134222/merged
docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
6b794e7cf6be ghcr.io/immich-app/immich-server:v1.138.0 "tini -- /bin/bash -…" 23 minutes ago Up 23 minutes (healthy) 0.0.0.0:2283->2283/tcp immich_server
9e7cef692d55 ghcr.io/immich-app/postgres:14-vectorchord0.4.3-pgvectors0.2.0 "/usr/local/bin/immi…" 23 minutes ago Up 23 minutes (healthy) 5432/tcp immich_postgres
8f8b0c789f68 ghcr.io/immich-app/immich-machine-learning:v1.138.0 "tini -- python -m i…" 23 minutes ago Up 23 minutes (healthy) immich_machine_learning
33ec2ba93f3f valkey/valkey:8-bookworm "docker-entrypoint.s…" 23 minutes ago Up 23 minutes (healthy) 6379/tcp immich_redis
docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
6b794e7cf6be ghcr.io/immich-app/immich-server:v1.138.0 "tini -- /bin/bash -…" 23 minutes ago Up 23 minutes (healthy) 0.0.0.0:2283->2283/tcp immich_server
9e7cef692d55 ghcr.io/immich-app/postgres:14-vectorchord0.4.3-pgvectors0.2.0 "/usr/local/bin/immi…" 23 minutes ago Up 23 minutes (healthy) 5432/tcp immich_postgres
8f8b0c789f68 ghcr.io/immich-app/immich-machine-learning:v1.138.0 "tini -- python -m i…" 23 minutes ago Up 23 minutes (healthy) immich_machine_learning
33ec2ba93f3f valkey/valkey:8-bookworm "docker-entrypoint.s…" 23 minutes ago Up 23 minutes (healthy) 6379/tcp immich_redis
Immich
Immich4d ago
Successfully submitted, a tag has been added to inform contributors. :white_check_mark:
Zeus
Zeus4d ago
Hello. this is likely a firewall or networking related issue as you say you can still reach the container locally there is nothing wrong with the immich instance I think you are focused on issues within the VM I would search for further issues such as on your LAN or the hypervisor.
zire720
zire720OP4d ago
There are 26 other VMS running on that proxmox. I uninstalled ufw and flushed up tables. Additionally why was I able to access immich just fine for 5-10 min then it goes away Seems strange if it's just a firewall rule
Zeus
Zeus4d ago
It could be a lot of things other than just a firewall, but since it works local to the VM that confirms that immich is working IMO We don’t have any ip based auth or restrictions Easily could be a firewall policy that’s getting set then purged, or a rule that’s allowing ESTABLISHED traffic Or something else entirely I guess the next step would be to confirm the immich homepage actually loads in that VM. So you’d need a browser for that You could also check the logs if it’s just curl that might not mean the instance is alive
zire720
zire720OP4d ago
It also works from another host though. But only for 5-10 min. I literally change nothing I can get to the admin initial setup page from an external host but only for 5-10m. After that only localhost can Yes it's the full page based on the text. Can get a full index.html on localhost anytime, an external host only 5-10m
Zeus
Zeus4d ago
The page doesnt tell you much because its not necessarily loading the timeline. Its client side rendered
zire720
zire720OP4d ago
If I shutdown docker I can't pull the html anymore
Zeus
Zeus4d ago
Yep, thats normal
zire720
zire720OP4d ago
Ok I'm confused as to your goal with this statement
Zeus
Zeus4d ago
I guess if you cant even pull the index from another host thats info enough, but just pulling the index doesnt fully confirm immich is working Either way, the html not loading from another client, really there is no way that immich could cause that, sorry I have never heard of that being a thing and we have no mechanism for that in our code
zire720
zire720OP4d ago
Brand new VM only followed your install guide Literally everything else works including my snmp config
Zeus
Zeus4d ago
Idk what to tell you mate unless you can provide some actual logs or evidence with an issue in immich I am not sure what you expect us to be able to do the fact that it works locally basically completely rules out an issue with immich. I understand you have other VMs but somethign must be different here
zire720
zire720OP4d ago
Literally nothing VMs are built via IAC with terraform. And only immich is unavailable Any other logs I can pull
Mraedis
Mraedis4d ago
@zire720 check the bot post, within the VM you can use docker compose logs for instance

Did you find this page helpful?