errors occur when setting the upload location to my windows D drive
Errors:
from terminal
from docker desktop
.yaml - using the standard .yaml file with the added at the bottom
My .env
39 Replies
:wave: Hey @OOF,
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. :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.
Successfully submitted, a tag has been added to inform contributors. :white_check_mark:have tried changing the directory formatting in a bunch of different ways. This used to work but since deleting and starting again it does not work
it works when i allow the default paths. i think it might be an issue of the container accessing the host system but this has worked before
ok it has now just started working for some reason
i have not changed a thing
and the terminal error has gone
the wsl error in docker is still there though
I get the error when i do but not when i start it throught the docker desktop gui
using ubuntu for wsl
Successfully submitted, a tag has been added to inform contributors. :white_check_mark:
I'm not experienced with windows, but shouldn't you use / to separate paths? even on Windows?
Also you didn't define a valid path for DB_DATA_LOCATION, unless you are already using a previously created volume
doesn't work with / or \ sadly
even with a proper postgres path it doesn't work
Ah here we are
lol
Are you doing docker bla bla in the windows terminal
in my terminal with ubuntu
as in docker compose up -d you mean?
yeah exactly
- D:\New-Immich-Files\library:/usr/src/app/upload:rw
seems to be the right specification
not 100% sure there 🙃for some reason it works fine when i run it through the docker desktop ui. I'm thinking maybe i need to give access or a permission that i have missed but i honestly dk
You could set it all up through WSL 🤔
all drives are mounted at /mnt so it'd be
/mnt/d/new...
as in change the .env file to that directory?
i tried that at some point and it didn't work either
the postgres just never starts
but no errors in the terminal

assuming this is correct anyway
Yeah but this is windows
That sounds like your postgres is on windows
which is NTFS
which won't work
For windows you'll want a docker volume
See: https://immich.app/docs/install/requirements#special-requirements-for-windows-users
oh yea mb
even when i have the postgres in ./ it doesn't work
./ is not the same as on a volume
oh
it works when i leave that paths as default
Maybe for now, but it will fail in mysterious ways in the future
oh
i see
ok
oh my good lord
there is no way
just did a fresh install. did the special requirements for windows users. and set my library as /mnt/d/New-Immich-Files/library
and it now works
i swear i have done this before
ty sir
👍
now i just set my upload location to my old immich folder which already has photos on it. Nothing is displayed. any way to resolve this?
you need to restore the old database. you can't just point it at the old folder
ty

would this be the correct way to mount the backup?
You don't mount backups 👀
I mean I guess you could
oh
i was just following the thing
and it said to mount it
i think
Oh did we change that
Sorry I did not see that update 😛
looks good 👍
bro is trying to terrify me
👻
boo
mfw it didn't work 💀
This thread has been closed. To re-open, use the button below.