#.env file custom location path problem, can't use window physical path
1 messages · Page 1 of 1 (latest)
:wave: Hey @hushed copper,
Thanks for reaching out to us. Please follow the recommended actions below; this will help us be more effective in our support effort and leave more time for building Immich
.
References
- Container Logs:
docker compose logsdocs - Container Status:
docker compose psdocs - Reverse Proxy: https://immich.app/docs/administration/reverse-proxy
Checklist
- :blue_square: I have verified I'm on the latest release(note that mobile app releases may take some time).
- :blue_square: I have read applicable release notes.
- :blue_square: I have reviewed the FAQs for known issues.
- :blue_square: I have reviewed Github for known issues.
- :blue_square: I have tried accessing Immich via local ip (without a custom reverse proxy).
- :blue_square: I have uploaded the relevant logs, docker compose, and .env files using the buttons below or the
/uploadcommand. - :blue_square: I have 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)
If this ticket can be closed you can use the /close command, and re-open it later if needed.
@hushed copper uploaded
@hushed copper uploaded
The pth of the immich C:\Users\nasho.docker\immich-app
I want change to X:\immich-app
What have you tried so far?
You should be able to just docker compose down, move the entire folder, then docker compose up
I've searched all over and either the file doesn't work or immich is broken by me.
You'll need to post more detail than this for me to help you
What have you tried exactly, what error messages and such are you getting?
I see you're also still posting more threads and comments elsewhere, please don't do that
Sorry it's a bit hard to understand since I'm not familiar with Docker, but I did follow the guide and the only changes I made were to modify the .env and docker-compose.yml but I'm not sure how to modify my path into the format it needs.
The file says this:
You can find documentation for all supported environment variables at here.
Customize the storage location for uploaded, thumbnail and transcoded video files
- UPLOAD_LOCATION=. /library
- UPLOAD_LOCATION=/custom/location/on/your/system/immich/immich_files
- THUMB_LOCATION=/custom/location/on/your/system/immich/thumbs
- ENCODED_VIDEO_LOCATION=/custom/location/on/your/system/immich/encoded-video
- PROFILE_LOCATION=/custom/location/on/your/system/immich/profile
But what does the path /custom/location/on/your/system/immich/profile mean? I can't find her in the window.
file UPLOAD_LOCATION=/custom/location/on/your/system/immich/immich_files
This paragraph /custom/location/on/your/system/immich/immich_files
I can't figure out how to type
I can't find this path in window.
So how do I translate the address I want to the address the file needs?
I think you can just write X:\immich-app
so I can write like this ?
You can find documentation for all the supported env variables here
Custom location where your uploaded, thumbnails, and transcoded video files are stored
- UPLOAD_LOCATION=./library
- UPLOAD_LOCATION=X:\immich-app
- THUMB_LOCATION=X:\immich-app
- ENCODED_VIDEO_LOCATION=X:\immich-app
- PROFILE_LOCATION=X:\immich-app
You don't need all the extra ones, just UPLOAD_LOCATION, unless you're trying to separate things out in which case they need to be different paths
So I just need to change UPLOAD_LOCATION= this path other like:
PROFILE_LOCATION=
ENCODED_VIDEO_LOCATION=
THUMB_LOCATION=
Don't need to chande right?
But somebody say need to change docker-compose.yml too right?
I don't know exactly what you're trying to do or what you're looking at
But I think you can just forget about all those extra _LOCATION vars, all you need is the default one
change where media is stored because there is no space for media in my Docker storage.
I can try to see if I can get back to you later, I hope you can continue to help me, thank you!
Right, so just change UPLOAD_LOCATION to where you want it and copy the files over
So it's a change in .env.
Docker-compose.yml does not need to be changed?
Will there be no problem with the Server? (Synchronization problem)
Yes
Indeed
You need to copy the files to the new folder of course
The location where your uploaded files are stored
UPLOAD_LOCATION=./library
So I just change to
The location where your uploaded files are stored
UPLOAD_LOCATION=X:\immich-app
like this? But does the fact that his symbols are oriented differently cause the formatting to be out of order? (, /)
Failed, the file was not transferred to X:\immich-app after restart.
You need to copy the files yourself
Currently the media is still stored where it was, and after testing and restarting it is still the same.
Our Windows path is C:\Users\asus\Anaconda3 and its corresponding Linux path is /mnt/c/Users/asus/Anaconda3, you need to do the following to convert the Windows path to Linux path:
Remove the colon from the win path.
Change the C in the win path to a lowercase c;
Add /mnt/ in front of the win path;
You need to replace the backslash \ with a slash /;
I followed the above rules to make the changes
I'm really sorry to take so long.
Have you considered a more detailed guide?
If you change the path from /a/ to /b/ then you need to manually copy the files from /a/ to /b/ as well. What part is not clear?
Unfortunately, I've reinstalled it twice and failed in both attempts.
Could you please find some time for me to do a live broadcast and let you teach me?