#.env file custom location path problem, can't use window physical path

1 messages · Page 1 of 1 (latest)

hushed copper
#

My Desktop Docker all files location is installed in C:\Users\nasho.docker\immich-app disk I want to move all media (only videos, photos) to X:\immich-app how do I change it?
Please help me please I've been working on this for a long time and it still doesn't work!

shrewd pumiceBOT
#

: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 immich.

References

Checklist

  1. :blue_square: I have verified I'm on the latest release(note that mobile app releases may take some time).
  2. :blue_square: I have read applicable release notes.
  3. :blue_square: I have reviewed the FAQs for known issues.
  4. :blue_square: I have reviewed Github for known issues.
  5. :blue_square: I have tried accessing Immich via local ip (without a custom reverse proxy).
  6. :blue_square: I have uploaded the relevant logs, docker compose, and .env files using the buttons below or the /upload command.
  7. :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
#

The pth of the immich C:\Users\nasho.docker\immich-app

#

I want change to X:\immich-app

torn bear
#

What have you tried so far?

#

You should be able to just docker compose down, move the entire folder, then docker compose up

hushed copper
#

I've searched all over and either the file doesn't work or immich is broken by me.

torn bear
#

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

hushed copper
#

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.
hushed copper
torn bear
#

I think you can just write X:\immich-app

hushed copper
#

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
torn bear
#

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

hushed copper
#

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?

torn bear
#

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

hushed copper
hushed copper
torn bear
hushed copper
torn bear
#

Yes
Indeed
You need to copy the files to the new folder of course

hushed copper
hushed copper
torn bear
#

You need to copy the files yourself

hushed copper
#

Please find time to take a look at it for me, please.

hushed copper
hushed copper
# torn bear Right, so just change UPLOAD_LOCATION to where you want it and copy the files ov...

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

hushed copper
hushed copper
torn bear
#

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?

hushed copper
#

Could you please find some time for me to do a live broadcast and let you teach me?