I
Immich16h ago
ludo

Removing external library but not media

Hi everyone, sorry for the newbie question, but im trying to import files from a temporary directory in immich, and delete said directory afterwards. But removing the external library removes the media from immich, and keeps the original directory intact. Is there any way to achieve my goal? Thank you
15 Replies
Immich
Immich16h ago
:wave: Hey @ludo, 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.
SuitablyMysterious
I don't think external libraries is the correct feature for this...
ludo
ludoOP16h ago
I went that way purely because the files were already on the server, and they kept the right subfolder hierarchy. Then, would adding them through the web GUI be the better option? Since they are all stored in subfolders, is there any way to import all recursively?
SuitablyMysterious
Why do you need to delete those folders after - It would be easier to keep the external library and mark it as read/write so it can be edited by immich?
ludo
ludoOP16h ago
i wanted it to be managed fully by immich in its internal folder structure, ideally
SuitablyMysterious
Hmmm... Im not an expert in this - I don't have a solution at the moment... maybe someone else has a better way
goalie2002
goalie200216h ago
for "managed fully by immich" you'd want the files uploaded to immich so they are stored in immich's internal library. If you want them stored in a specific way inside the internal library you'll want to enable the storage template
ludo
ludoOP15h ago
i think the way it stores them when i scan the external folder is okay i just want that, but by using its internal library, without adding each picture singularly
goalie2002
goalie200215h ago
well it doesn't store them at all when you use an external library store as in "store on the filesystem", not what you see in immich (the timeline) so what you want is to upload those photos you have, so immich stores the photos in its internal library (which is located at the UPLOAD_LOCATION you defined in your .env file). then you can delete your temporary directory
ludo
ludoOP15h ago
right, but to do so, would i have to select each picture by hand? what if they are stored across folders? in that regard, the external library does read it recursively, but uploading it does not afaik?
goalie2002
goalie200215h ago
what do you mean "across libraries"? like different sub folders inside your temporary directory? or do you mean that you want certain things uploaded to different users?
ludo
ludoOP15h ago
yeah different subfolders, my apologies
goalie2002
goalie200215h ago
for uploading there are multiple options. you can just drag and drop into the website, or you can use something like immich-go or immich-cli to handle more cleanly. I would generally advise against just dragging and dropping into web idk about drag and drop, but both immich-go and immich-cli handle sub folders just fine
ludo
ludoOP15h ago
oh they do what was throwing me off is how clicking on the "+" icon you're not able to upload a folder, but you can through drag and drop that was silly, thank you
goalie2002
goalie200215h ago
np

Did you find this page helpful?