Windows 11 lost access to docker directory
I basically need to know if there's a way to force access to what used to be there or if I need to just delete them from docker and attempt to restore what I have. Is the automatic DB backup enough to do that? At worst I'll start fresh but I'd really prefer not to.
So I set up Immich via docker a while back. Not sure what happened but during a Windows update at some point the Linux directory just stopped being an option. 😐 I didn't notice for some time as Immich and my other Docker apps continued to run just fine. Fast forward to when I have some time to update my apps and I can't run my scripts because the directory is inaccessible. I updated docker on another day (quite some time later) and Linux became an option again...... except all of my files are still not there.... Help?
15 Replies
:wave: Hey @Cryos,
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. :blue_square: 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. :blue_square: 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.I can't upgrade to the latest version without access to the file directory. Current version is 1.126.1
This isn't really an immich question, and basically all of our staff hosts on linux so no deep WSL experience
you configured your mount points inside the WSL disk image ??
The only reason this unit runs windows is because it's used for a few other programs that have been set up for years. I've been fighting this for months and though maybe someone would know an answer here since I don't have a lot of experience with Docker until I installed Immich last year.
I did nothing with the WSL settings. When I installed Docker it automatically set it up
We don’t have much windows experience here, sorry
Fair. Sorry to be the microsoft pain. XD One of my main questions though was if the auto DB backups would be enough to restore from if I were to reinstall. I think the guide says they're not likely to be but I can't do a manual backup x_x
Well. We have enough experience to know it doesn’t usually work well 😅
The backup? In theory it should work if it all worked well. No real way to check without doing a test
That's kind of where I'm at if I want to be able to update. It's wild how it's still running but I can't access the files. I need to some day break down and install Linux on this thing but I've had it set up for windows so long that I really don't have the time to reinstall and set up everything. MS is a PITA and this has got me close but been too busy fixing problems at work to fix my own. X3 Thanks for the input. I at least have all of my pictures, if I need to start over with the facial recognition and settings then so be it.
so what you are trying to restore is your .env and compose files?
I've lost access to the linux side files. So yes I'm pretty sure. I had it set up so I could easily access them before and just run my commands. QnQ
does returns anything ?
Yes I can see the docker images via a command or even the UI but I can't get into the files
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
25c7145406d5 ghcr.io/immich-app/immich-machine-learning:release "tini -- ./start.sh" 2 months ago Up 52 seconds (healthy) immich_machine_learning
dea6c1f0307f ghcr.io/immich-app/immich-server:release "tini -- /bin/bash s…" 2 months ago Up 52 seconds (healthy) 0.0.0.0:2283->2283/tcp immich_server
17c8c8dc0faf redis:6.2-alpine "docker-entrypoint.s…" 3 months ago Up 52 seconds (healthy) 6379/tcp immich_redis
9ec503eac524 tensorchord/pgvecto-rs:pg14-v0.2.0 "docker-entrypoint.s…" 3 months ago Up 52 seconds (healthy) 5432/tcp immich_postgres
it won't be the same, but you can get all your current configuration using inspect. That can help you configure a new instance using the default compose file
as per the facial recognition, if you have access to the DB backups, a restore will be enough.
if your problem is accessing the DB backups, paste the result of and we can try to copy the files to your host
I can at least see the automatic backups. I wonder if I remake the files if I can update using them? 🧐 Thank you for the commands! They at least give me something to work with instead of remaking them from scratch and trying to remember. X3
I have to go to work for now but I'll mess with this more when I'm home later. Thank you so much for the help!