I
Immich•3w ago
fuzzy

Help setting up External Library

Hello all, I've come here after failing to find any instructions on how to setup a folder inside my external hard drive as a external library in Immich on macOS. I've added lines to both docker-compose and the env file but when I go to immich administration and add an external library path, the path isn't validated by Immich at all. It would mean the world to me as I am trying to move around 500 GBs of my old google photos over to Immich. Happy to send/paste any information needed to solve this issue. Thank you.
44 Replies
Immich
Immich•3w ago
:wave: Hey @fuzzy, 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.
fuzzy
fuzzyOP•3w ago
Disk: Seagate Expansion Formatted with exFAT.
Mraedis
Mraedis•3w ago
First and foremost, the right hand side of the mount is completely free to choose (apart from internal map conflicts), so you can go for something much simpler like - ${EXTERNAL_PATH}:/mnt/gbackup
fuzzy
fuzzyOP•3w ago
in my docker compose?
Mraedis
Mraedis•3w ago
yes and then in the gui you put /mnt/gbackup or whatever it is you choose Second, on MacOS I believe you have to create a volume mount in docker desktop for it to be able to access it
fuzzy
fuzzyOP•3w ago
Oh I heard about this creating a volume mount Can't figure out how to though Do I have to do anything on the env file? is my env file okay?
Mraedis
Mraedis•3w ago
Are the files getting properly uploaded to /Volumes/Seagate 5TB/immich-uploads ?
fuzzy
fuzzyOP•3w ago
Yes I've been using my external hard drive as immich storage only the postgres, docker compose and env files are on my macbook internal storage wouldn't doing docker compose while running immich create a volume itself?
Mraedis
Mraedis•3w ago
No, it's all a bit confusingly named I guess If your disk is exFAT formatted you'll want to use https://docs.immich.app/install/requirements/#special-requirements-for-windows-users though You can do a database backup-restore or start fresh Because you will run into DB corruption sooner or later
fuzzy
fuzzyOP•3w ago
but my database is on APFS Apple native filesystem
Mraedis
Mraedis•3w ago
ah right 🤔
fuzzy
fuzzyOP•3w ago
not on exFAT
Mraedis
Mraedis•3w ago
Anyway if the uploads folder works, then so should the external path one @fuzzy , the only thing I can think of is it being fussy about the ( or . in the name
fuzzy
fuzzyOP•3w ago
This has been spinning my head since the past week 😭
Mraedis
Mraedis•3w ago
it shouldn't be an issue but yeah
fuzzy
fuzzyOP•3w ago
hmmm Could you check the env file I uploaded?
Mraedis
Mraedis•3w ago
Yes, looks good
fuzzy
fuzzyOP•3w ago
I'll simplify the path and check back in again with you here
Mraedis
Mraedis•3w ago
So to make life easier, I'd just rename the folder something easier, no spaces, no . no () and make the internal path super simple
fuzzy
fuzzyOP•3w ago
yeah sure
Mraedis
Mraedis•3w ago
compose up after that and it should recreate the container just fine If it still refuses to see the images, you can verify it at least mounted correctly with docker exec -i immich_server ls -la /right/handed/path
fuzzy
fuzzyOP•3w ago
what is the right handed path? the path to ? sorry I'm new to this
Mraedis
Mraedis•3w ago
in ${EXTERNAL_PATH}:/mnt/gbackup ${EXTERNAL_PATH} is left hand /mnt/gbackup is right hand Left and right of the :
fuzzy
fuzzyOP•3w ago
validated holy shit inside of immich at least I have 50k sidecar metadata now inside of jobs, does that mean it's working? Looks like it is 🙂
fuzzy
fuzzyOP•3w ago
No description
Mraedis
Mraedis•3w ago
When in doubt, just keep it simple 👀
fuzzy
fuzzyOP•3w ago
Yessirrrr One last question
fuzzy
fuzzyOP•3w ago
My photos are like this in folders, these are extracted takeout files. Now that the external library works, would uploading these also upload the relevant metadata contained within the pictures?
No description
Mraedis
Mraedis•3w ago
Unfortunately no, I don't know any third party solution for metadata in a gphotos takeout for external libraries eithes The issue is that Immich supports XMP sidecars, but the takout metadata is in a library-wide JSON if I recall correctly
fuzzy
fuzzyOP•3w ago
What if I use immich-go to add it to immich? Would that retain metadata somewhat?
Mraedis
Mraedis•3w ago
Yes, but that will upload to the internal library
fuzzy
fuzzyOP•3w ago
Ah okay, my internal library is on the external hard drive so I think I'll try that Thank you so much for all the help!
Mraedis
Mraedis•3w ago
No problem, feel free to come back with any questions
fuzzy
fuzzyOP•3w ago
I will, soon 🤣
Mraedis
Mraedis•3w ago
As a word of warning, with your setup, if your external disk loses connection Immich will keep running and will not know it disconnected
fuzzy
fuzzyOP•3w ago
Yes, understood. I'll soon move everything over to a PC 🙂
Mraedis
Mraedis•3w ago
PC? Or server? Because Windows is terrible for this 😛
fuzzy
fuzzyOP•3w ago
Well, I can run Linux on it dual boot no? My macbook only has 500 gigs of internal storage, that's why I've made my external hard drive as the storage for immich uploads On a PC, I can just have a bigger size hard drive and put all my photos there. Macbook currently limits me with the storage.
Mraedis
Mraedis•3w ago
Yeah dual boot is fine of course Just warning about Windows
VladTol
VladTol•3d ago
Any chance someone can help with similar issue? That's what I have in the docker and webUI. Same path but it not recognized.
No description
No description
Mraedis
Mraedis•3d ago
the GUI part should probably be /libraries so not /mnt/uesr/Storage ...
VladTol
VladTol•2d ago
Thank you. Yes, I did tried /libraries as well. Still, same results. Also, buy some reason, today, when one WebUI, nothing is happening. Nothing can be clicked on. But still have an access to Immich app on mobile and looks like it work just fine.
VladTol
VladTol•2d ago
No description

Did you find this page helpful?