#Can't get new Windows 11 install to work, suspect issue with database container

1 messages · Page 1 of 1 (latest)

heady canopy
#

I'm trying to install Immich in Windows 11. I read the post about using a Docker volume bind mount since Immich cannot use NTFS. During the docker compose up -d command, everything starts. But the database and server containers keep restarting. It appears the problem starts with the database container. I keep getting connection reset and broken pipe errors. I've attached my env & docker compose files, and my docker log for the database container.

Any ideas what I can try to get this to run? I've turned my firewall off just to make sure that isn't interfering.

echo scarabBOT
#

:wave: Hey @heady canopy,

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

#

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.

echo scarabBOT
heady canopy
#

Can't get new Windows 11 install to work, suspect issue with database container

dusky palm
#

Firewall shouldn't be interfering between docker containers like this (I say shouldn't but you never know...)

#

Compose looks OK, except that you put ../Our Memories as the storage location, which will work but it's kind of odd to put your compose file inside of a mounted location

#

When's the last time you restarted win11? 😛

heady canopy
dusky palm
#

Should be a fresh docker desktop then as well

#

Try restarting or updating DD just in case

#

And because you're mounting the file that controls the config inside a volatile container, that's just bad manners. It shouldn't be of concern with the way we work but you never know

heady canopy
#

Thank you for taking a stab at this with me! It's almost 1AM for me now and I have an early morning. I will restart everything and try again tomorrow. I did update WSL today (I think it's on 2.6 now?) JIC.

#

What's the alternative to my storage location? I thought I was following the instructions when I set that up

dusky palm
#

.. Means "the folder above"

#

So just any folder that is not the one that also contains the compose is fine

heady canopy
#

So I have storage in 'U:/Our Memories' and the compose in U:/immich, unless I am misunderstanding. I can't separate them any more unless I put them on different drives. Which I can do if that will make a difference.

dusky palm
#

Ah right, I was being silly and assumed hte compose was also in Our Memories

heady canopy
#

I watched a tutorial online and he put his compose file nested inside the docker desktop folder. Is that necessary?

heady canopy
#

Well this is really discouraging. I can't for the life of me get this to run. I'm out of ideas. I have tried this countless times with different iterations. I don't know enough about Docker to really troubleshoot this, but it seems that the database container is not able to communicate with the other containers. I don't know why.

hollow palm
#

We’d recommend using Linux. You can probably run it in a VM if you want

heady canopy
#

What kind of a resource hit would that be? i9-14900K, Nvidia 4070 Ti Super, 32GB RAM

#

Is this something I could do in WSL, or I'd be looking for a different way to run Linux?

hollow palm
#

You CAN run immich with docker and WSL but if it’s not working you’d have to do a real VM with hyper V , virtualbox etc

#

Perf hit isn’t that big

heady canopy
#

I just upgraded to win pro so I can utilize hyper V. Must people I've seen that run immich on windows needed pro. 🤞🏼

heady canopy
#

Well, that worked. For whatever reason, Windows 11 Home and WSL 2 just doesn't play nicely with Immich. Windows 11 Pro and WSL 2 worked like a charm. Didn't need to setup a VM or anything.

#

I did the basic installation just to see if I could get it running. I would like to enable hardware acceleration for ML. I will look at the instructions to get the appropriate yml file, etc., but do I need to rebuild Immich after I make those changes, or just relaunch?

dusky palm
#

There are no config / asset wipes if that is what you're asking. A couple of container restarts for sure but no deletes

heady canopy
#

Got the hardware acceleration working, I think. I processed some jobs and didn't see any errors.