Can’t get path correct for storage

I’m using a Mac and docker desktop. I changed the path on the .env file to /volumes/8tbHDD/immich. I copied this path from a mounted HDD i have connected via a DAS I started uploading and come to find out it’s uploading the photos to my internal ssd where i have docker desktop downloaded. And it created the path in my docker path /Users/okayguysdan/docker/immich-app/Volumes/8tbHDD/immich. This path did not exist until i started uploading files.
20 Replies
Immich
Immich4mo ago
:wave: Hey @okayguysdan, 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. :blue_square: read applicable release notes. 3. :blue_square: reviewed the FAQs for known issues. 4. :blue_square: reviewed Github for known issues. 5. :blue_square: tried accessing Immich via local ip (without a custom reverse proxy). 6. :blue_square: uploaded the relevant information (see below). 7. :blue_square: 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.
Zeus
Zeus4mo ago
I am 99.9% sure that you did not set your path to /volumes/8tbHDD/immich you probably set it to ./volumes/8tbHDD/immich
okayguysdan
okayguysdanOP4mo ago
let me check i do have ./volumes/8tbHDD/immich ill try to change it
Zeus
Zeus4mo ago
you can't change it now
okayguysdan
okayguysdanOP4mo ago
why
Zeus
Zeus4mo ago
you either need to blow away the whole install and start over, or shut down immich, move all the files, set the variable, and start back up otherwise immich will be missing tons of files
okayguysdan
okayguysdanOP4mo ago
well it was only like 2k photos can i shut it down, delete those photos change it and then turn it on again?
Zeus
Zeus4mo ago
if you reset the DB_DATA_LOCATION also, then yes
okayguysdan
okayguysdanOP4mo ago
do i delete the DB_DATA_LOCATION also?
Zeus
Zeus4mo ago
sure
okayguysdan
okayguysdanOP4mo ago
thanks for the info let me try yea that broke it haha. im going to delete it all and try again.
okayguysdan
okayguysdanOP4mo ago
Error response from daemon: Mounts denied: The path /volumes/8tbHDD/database is not shared from the host and is not known to Docker. You can configure shared paths from Docker -> Preferences... -> Resources -> File Sharing. See https://docs.docker.com/desktop/settings/mac/#file-sharing for more info. okayguysdan@Mac-mini immich-app %
Docker Documentation
Change settings
Learn about and change Docker Desktop's settings
okayguysdan
okayguysdanOP4mo ago
i went to docker and added the file sharing and restarted docker but its not keeping the file share
Zeus
Zeus4mo ago
This is a docker desktop issue, sorry. We recommend Linux for this reason I’d try rebooting, google for solutions etc
okayguysdan
okayguysdanOP4mo ago
im using a mac dang so come to find out docker app has been changed to where that feature has been turned off. ive been told i need to bind the mount but thats where im confused. if i try to just edit the .env file and it doesnt work but then im told i need to edit the docker-compose.yml file but in the docker-compose.yml it says dont change it here. make the change on the .env file
Zeus
Zeus4mo ago
that's correct, if you're using our setup you should only need to change the UPLOAD_LOCATION in the .env
okayguysdan
okayguysdanOP4mo ago
But when i change the .env file it doesn’t work. Apparently because i don’t have the mounted HDD bound to docker. But im told that i have to bind the HDD in the docker-compose.yml if i were to set immich on the same drive that docker is downloaded and then change the .env to go to my HDD and then provide the logs would that be helpful?
okayguysdan
okayguysdanOP4mo ago
Pastebin
ormation."2025-01-06 16:32:56 microservices worker exited with code...
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
okayguysdan
okayguysdanOP4mo ago
i figured it out by removing the .env

Did you find this page helpful?