Immich on Docker (Windows 10 WSL2) Failing After Update to v1.122.2

I run Immich on Docker on Windows 10 with WSL2 (Kali Linux integration). A few days ago, I updated Immich from v1.122.1 to v1.122.2. Here's what happened: Update Process:
- I updated Immich to v1.122.2 post-midnight and restarted the containers using docker-compose up -d.
- Everything worked fine at that time. Next Morning:
- I booted my PC (Docker Desktop is set to start automatically).
- Docker Desktop displayed a message saying "WSL integration failed." This happens occasionally, so I clicked "Restart WSL Integration". Issue:
- Later that day, when I tried to access Immich via localhost:2283 or internal-IP:2283, it didn’t load.
- I attempted restarting the container with docker-compose down and docker-compose up -d, but it still didn’t work. Debugging Attempts:
- I checked the logs but couldn’t understand much. After some back-and-forth with ChatGPT, I learned that the issue seems related to the PostgreSQL server.
- The logs mention something like "already exists, skipped initiating" and seem to indicate a connection issue with PostgreSQL.
This issue came up suddenly after the update, and I’ve been stuck for two days trying to fix it. Any advice or guidance would be greatly appreciated!
38 Replies
Immich
Immich6mo ago
:wave: Hey @Death Traveller, 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. Successfully submitted, a tag has been added to inform contributors. :white_check_mark:
Zeus
Zeus6mo ago
you haven’t submitted any of the info the bot asks for
Death Traveller
Death TravellerOP6mo ago
which logs do i give?
Zeus
Zeus6mo ago
all of them
Death Traveller
Death TravellerOP6mo ago
do i need to provide anything else? i think i have provided the stuff bot asked
Zeus
Zeus6mo ago
There have been a lot of windows related massive issues lately. To the point where we have re factored our requirements to strongly discourage windows I don’t see anything obviously wrong here but it could be 100 different things. The Postgres server seems to start up
Death Traveller
Death TravellerOP6mo ago
yeah but then it is saying it alrdy exists and rsarts it was not happening before latest update even after updating it mainly occured after i restarted the pc
Zeus
Zeus6mo ago
Can you post just the Postgres lots? Logs?
Death Traveller
Death TravellerOP6mo ago
sure wait a second
Zeus
Zeus6mo ago
Yeah I have no idea why it’s doing that Sorry. You will have a much better experience on Linux
Death Traveller
Death TravellerOP6mo ago
lmao 😭 i mean i run it in background on my home pc do u think if any other mod/helper could be able to understand the issue
Death Traveller
Death TravellerOP6mo ago
there seems to be some error in immich_server logs as well
Zeus
Zeus6mo ago
Maybe, but it’s been up for a day and no one seems to see anything. Obvious Windows just sucks. We had a whole chat on it today
Death Traveller
Death TravellerOP6mo ago
i would have installed debian if i had another setup lying around
Mraedis
Mraedis6mo ago
I think I'm one of the only windows users on the team and I just have a linux server like everyone else 👀 A cheap $50 second hand (mini)pc with some storage will get you a long long way fyi
Zeus
Zeus6mo ago
Hey I use windows on my desktop and laptop.. no complaints Anything remotely important (for data integrity or uptime), goes on a Debian VM on proxmox (Linux)
Death Traveller
Death TravellerOP6mo ago
yes i know that very well but i am school student and my parents dont like me doing this stuff so i dont have any options until i get into college my inital plan was to use linux as my main os but idk some weird amd graphics issue, the resolution is very bad and it works only on safe graphics mode so i had to stick with win10
Mraedis
Mraedis6mo ago
Classic
Zeus
Zeus6mo ago
Perhaps you would be better with a true Linux VM in windows
Mraedis
Mraedis6mo ago
I was going to suggest this lol This will also run fine in the background, with a little more overhead
Death Traveller
Death TravellerOP6mo ago
my pc has 2 cores and 8gb ram 🥲
Mraedis
Mraedis6mo ago
The docker containers aren't exactly lightweight themselves...
Death Traveller
Death TravellerOP6mo ago
they are pretty lightweight tbh it was only heavy while immich indexing then it was pretty consistent and low can you confirm what you meant by that?
Zeus
Zeus6mo ago
Virtualbox But 2 cores and 8 GB is super low
Death Traveller
Death TravellerOP6mo ago
hmm i do have it installed used to use it with 2 cores 4gb wont even try tho
Mraedis
Mraedis6mo ago
If you just want to experiment, there's (free) online stuff 👀
Death Traveller
Death TravellerOP6mo ago
suppose i have a pc just for home server stuff will it be good with 2 cores 8gb
Mraedis
Mraedis6mo ago
I used to run all my services on a pretty old 4 cores NUC with 8GB
Death Traveller
Death TravellerOP6mo ago
nah i wanted immich as a solution to gphotos it was working fine before the update ig 2 cores will be fine npm, immich, kuma, and some other random stuff how do u access it btw? like have you bought a separate domain or something like duckdns or serveo.net i used immich with serveo.net but serveo randomly gets down and my wifi has double NAT so it issues with duck
Zeus
Zeus6mo ago
Domain, double NAT you can use Tailscale or some other options
Death Traveller
Death TravellerOP6mo ago
tailscale is a bit weird it cuts off internet connection what are those "other options"
Zeus
Zeus6mo ago
Get your own VPS (oracle has free) , setup a WireGuard server with your home server as a client and either proxy in the VPS or use iptables to route TCP traffic to home server
Death Traveller
Death TravellerOP6mo ago
hmm will try in future thanks

Did you find this page helpful?