Immich - Selfhosted Google Photos - Using Your Own Directory Structure

  Рет қаралды 15,985

somedaysoon

somedaysoon

Күн бұрын

Пікірлер: 43
@iStig34
@iStig34 10 ай бұрын
Thank you for making this! It helped me finally get Immich setup with external libraries, I had a hard time wrapping my head around the volumes in the compose file & the external library setup in Immich.
@somedaysoon33
@somedaysoon33 10 ай бұрын
Great! Glad this helped, thanks for commenting.
@tuliogrin
@tuliogrin 9 ай бұрын
Amazing work. I was following your steps since the begining of OMV installation :D . I will start over again, just to follow every single thing that you have made :D. Safety and helpful
@somedaysoon33
@somedaysoon33 9 ай бұрын
Thank you for the comment, always enjoy hearing from people that find these videos helpful!
@Hydro-MK
@Hydro-MK 10 ай бұрын
Nice guide, thank you!
@rafapozo
@rafapozo 2 күн бұрын
Thank you for this video guide >>>>>> I have one question. How do you know your path to connect a shared folder of a NAS through SMB??. It is necessary to have your media in your home server to include the path to a external library in Immich??
@somedaysoon33
@somedaysoon33 2 күн бұрын
These folders are on the same server that the immich container is running. If you want to do this with files shared through SMB from another server or another computer then you would want to mount them to the server running the immich container. You can do this by setting those smb mounts in /etc/fstab of the server, have them mount into /mnt and then pass those directories to the immich container.
@iamhyrumharris
@iamhyrumharris 10 ай бұрын
At 6:53 is /import/tony/camera an actual location or do you make these up? I'm not sure if im supposed to create a /import folder
@somedaysoon33
@somedaysoon33 10 ай бұрын
You can pick any location you want to mount your pictures inside the container, just as long as you know to reference it in the application correctly. The left side of the colon is where the pictures actually are on your server and the right side of the colon is where those pictures are going to be mounted inside of the container and where the application is going to see them when you give it that location. You do not need to make any directories; your pictures will just be there when the container spins up.
@iamhyrumharris
@iamhyrumharris 10 ай бұрын
Dude awesome, thank you! Definitely subscribed
@ownerdirector4168
@ownerdirector4168 9 ай бұрын
Hey, does it create copies from the extarnal storage? Will it duplicate files?
@somedaysoon33
@somedaysoon33 9 ай бұрын
@@ownerdirector4168 No, it just reads the files from that location; however, it will generate thumbnails and video previews. The thumbnails and video previews will end up somewhere inside the /photos location.
@ownerdirector4168
@ownerdirector4168 9 ай бұрын
@@somedaysoon33 Got it. Thanks. I was confused from their docs. So "assets" are thumbnails.
@Eikonic_
@Eikonic_ 3 ай бұрын
Im not having any luck on this unfortunately. I have a shared folder mounted which is where im storing everything. Its accessible to my PCs and such thru Samda. Id like Immich to just pickup everything in this folder. So in the .yml, i added "-/srv/dev-disk-by-uuid-...../Share/Photos" and then " :/import/Photos:ro". When i launch Immich, it recognizes the path "/import/photos" when I enter it in extrenal libraries (green checkmark), but when I do a scan, nothing shows up. I have 1 image and 1 video in the shared folder, as well as a subfolder with more images, just for testing, but the external library entry says 0 assets, and which i switch over to the main Photos tab, it shows nothing. Any ideas what Iv gotten wrong? Note: im doing this thru OMV's Compose tool, so I have not followed your steps exactly. But i figured if its telling me it can see the external folder, it should be able to import from it.
@android-user
@android-user 3 ай бұрын
Yeah this video is way to confusing and a weird way to set up Immich too
@6713G
@6713G 3 ай бұрын
@Eikonic_ did you make it work?\
@Eikonic_
@Eikonic_ 3 ай бұрын
@@6713G yes, in my case I had a typo. In the yml file I'd written "import/photos", but the actual directory on disk was capitalized... "Import/Photos". I think that's all it was. I ended up fiddling with it for a while longer and eventually it worked, reading sub folders as well. Check the Immich external library documentation. That's what I looked at and it's pretty straight forward. Just make sure you type things properly
@6713G
@6713G 3 ай бұрын
@@Eikonic_ thanks a lot, I didn’t add the external path in immich microservice container and voila it’s working perfectly Can I ask one more thing it’s takes too much time to buffer a video, have you come across that n how did u resolve it Ps I did use my hardware encoding integrated gpu vaapi
@HowDoYouUseSpaceBar
@HowDoYouUseSpaceBar 10 күн бұрын
​@@6713Gbuy rtx 4090
@senthilrajanr1
@senthilrajanr1 9 ай бұрын
Tailscale is giving me lot of headache. I think I need docker networking video. I tried to use the remote machine learning option provided by immich. I spin a docker container with immich machine learning in my laptop and connected to Tailscale and my raspberry pi connected to Tailscale which runs immich. So I tried to use the Tailscale ip of my laptop for remote machine learning but the docker container inside my raspberry pi is not able to connect to my laptop. If I curl the laptop immich ML url then I am able to get response but not inside from raspy docker container. Any idea?
@senthilrajanr1
@senthilrajanr1 9 ай бұрын
I need to somehow connect Tailscale network and docker network bridge
@senthilrajanr1
@senthilrajanr1 9 ай бұрын
Thank you so much, I have been following your guide and installed immich. I am seeing some machine learning related error in containter logs. [Nest] 186 - 04/01/2024, 10:16:15 PM ERROR [JobService] Unable to run job handler (faceDetection/face-detection): Error: Machine learning request for facial recognition failed with status 500: Internal Server Error [Nest] 186 - 04/01/2024, 10:16:15 PM ERROR [JobService] Error: Machine learning request for facial recognition failed with status 500: Internal Server Error at MachineLearningRepository.predict (/app/immich/server/dist/repositories/machine-learning.repository.js:23:19) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async PersonService.handleDetectFaces (/app/immich/server/dist/services/person.service.js:257:23) at async /app/immich/server/dist/services/job.service.js:147:36 at async Worker.processJob (/app/immich/server/node_modules/bullmq/dist/cjs/classes/worker.js:394:28) at async Worker.retryIfFailed (/app/immich/server/node_modules/bullmq/dist/cjs/classes/worker.js:581:24) I am wondering the docker image you have used in this video(github.com/imagegenius/docker-immich/pkgs/container/immich) has ML server? because when i looked the compose file given by immich , their docker compose looks entirey different and i see the machine learning section there in their docker compose file github.com/immich-app/immich/releases/latest/download/docker-compose.yml
@takchunghung3711
@takchunghung3711 2 ай бұрын
Please any one can help, how could i change the uploaded photo directory to real Windows 11 computer directory but not in the virtual "Docker Desktop Container"
@marcomoraschi3537
@marcomoraschi3537 7 ай бұрын
I saw almost every your video in this playlist. My hero! I like so much your architecture, is really straightforward. I've never seen any other videos about the structure of immich and for me as for you is crucial. And then the question. External library is so usefoul in particular if you have yet your own structure for your hundred of thousands of pic and vid. BUT the automated system of upload can manage duplication. There's some workflow that can achive all these features?
@somedaysoon33
@somedaysoon33 7 ай бұрын
That's a good question... I also suffer from having duplicate photos with external libraries and was thinking about fixing it. I do not know how right now, but I'll look into it and if I find a good solution, I will let you know.
@marcomoraschi3537
@marcomoraschi3537 7 ай бұрын
@@somedaysoon33 I'm testing immich CLI, it has hash calculation, but I'm afraid it will upload photos in his own strange kind of structure. As for now external libraries have rescan library, remove offline files, and free to use directories but no deduplication. internal libraries have deduplication, but not the others. Merge of features is absolutely needed, no rescan and no dedup LOL.
@marcomoraschi3537
@marcomoraschi3537 7 ай бұрын
... and I've just installed digikam (docker) working on the same volumes ... try and catch what's the limit that break the immich database.
@simon1234567ful
@simon1234567ful 5 ай бұрын
Weirdly, I do not get the "external path" field in immich... any idea if this is due to an update since then? don't know how to get all my photos in otherwise.
@somedaysoon33
@somedaysoon33 5 ай бұрын
Yeah, they changed it in more recent versions, it's no longer under the "Users" options. After you click into "Administration" you should see "External Libraries" in that left menu though, do you see that?
@simon1234567ful
@simon1234567ful 5 ай бұрын
@somedaysoon33 thanks a lot for the follow up! Figured it out as a newb :D for others: in truenas you have to add external storage, as a mount path select anything you like, e.g. /xyz and select the folder you want to add/parent folder. Then in immich under external libraries enter the path /xyz or /xyz/daughterfolder and everything should work
@RhettThompson-zf1uc
@RhettThompson-zf1uc 9 ай бұрын
Great videos, thank you! I was able to set up immich, but when it generates thumbnails and such, they seem to be being store on my OS drive, which is not where I have the docker container folder. I have the docker container folder with immich on a separate drive with more storage. Is there some other setting that I missed within the compose file to make sure that all of the data created within immich is actually stored within the ./docker/immich/?
@somedaysoon33
@somedaysoon33 9 ай бұрын
Without looking it up, I believe the thumbnails are stored inside the container in /photos so make sure to bind mount that like ./docker/immich/photos:/photos Hopefully that works for you.
@RhettThompson-zf1uc
@RhettThompson-zf1uc 9 ай бұрын
@@somedaysoon33 Thank you, this worked!
@v000000000000v
@v000000000000v 6 ай бұрын
1:33 what is that dog in the middle right lool
@somedaysoon33
@somedaysoon33 6 ай бұрын
😂😂😂
@jeenaparadies
@jeenaparadies 9 ай бұрын
Very cool, I'm thinking to mount my Synology folders via SMB or something to my server and let it work on my server. What I wonder is, do you reuse the same postgres for all your services? I have about 7 services running on my server which use postgres, and when I use docker then each of them wants to spin up it's own postgres instance, which seems really wrong to me.
@somedaysoon33
@somedaysoon33 9 ай бұрын
Yeah, that's how I do it, I only run a single mariadb and single postgres container to cover all my services that require those database types. That's actually the reason at the end of the video I separated the database and redis containers out into their own compose files.
@IbrahimYounes
@IbrahimYounes 10 ай бұрын
you already lost me at "ssh into our server and head to folder" Can you help us and show us an extreme biggenere step by step for window. pleaaaase !!
@AinzOoalG0wn
@AinzOoalG0wn 7 ай бұрын
"Using Your Own Directory Structure" not quite. Yes you can import from your own directory, BUT, it doesn't KEEP the same structure. Example. If you had a folder for cats and another for dogs, when you add the external libraries it will simply BUNDLE THEM altogether into 1 single big library. So they aren't keeping their original folder directory structure previously. If you want to make them in their separate folders (its called albums in immich), you have to create the a a new album then add the pictures MANUALLY for each and EVERY1. Basically if you had them already sorted in their own folders, you can scrap that since that gets ignored, and they expect you to redo it again but using albums in immich from scratch. But with photoprism, in the album creation they can import based on EXISTING folders to then create ALBUMS based on those quick and easy. That is much better than what Immich does. there are currently unofficial methods to do this with immich, but officialy? not yet afaik
@somedaysoon33
@somedaysoon33 7 ай бұрын
Yeah that is true, there is no directory view in immich like there is in PhotoPrism. Personally, I use immich for the timeline view, easy sharing between users, and the image detection and search features. If I want to find a file through my directory structure, I'm going to use my samba shares and actual file manager. And this can even be done with good file managers on a phone... well on Android anyway, I recommend Material Files. Not sure about iOS. But yeah, if a directory view is something that you want in this type of application, then PhotoPrism has it. I run both, but really haven't looked at PhotoPrism for a couple years. At the time it lacked features for users and easily sharing between users. Right now my PhotoPrism instance only holds the photos for my partners late father who was a photographer. It works great for that use case.
@AinzOoalG0wn
@AinzOoalG0wn 7 ай бұрын
@@somedaysoon33 agreed. to get around this would be to then use file explorer smb to view via the folder directories. but it still feels a waste. Would be nice to be able to do that from Immich as well because it has a nicer ui. but from a practical standpoint, that is the solution at least for now. Or to use photoprism. or, to use the unofficial immich method to achieve the same thing as what photoprism already supports. That is the situation. Like you said, you can then just limit what you use immich for to say, running smart search of facial search. But as for directory sorting, you would just simply fallback to file explorer smb in windows 11 for that purpose. Setting up albums in immich is just too much trouble for me x-x;
@reesewilson
@reesewilson 10 ай бұрын
1:32 One scary dog
Polaris - Selfhosted Music Solution
12:11
somedaysoon
Рет қаралды 2,7 М.
Сестра обхитрила!
00:17
Victoria Portfolio
Рет қаралды 958 М.
Try this prank with your friends 😂 @karina-kola
00:18
Andrey Grechka
Рет қаралды 9 МЛН
Immich on TrueNAS Scale using Hostpath and External Libraries
5:29
Servers@Home
Рет қаралды 4,1 М.
This Folder Structure Makes Me 100% More Productive
24:36
Web Dev Simplified
Рет қаралды 113 М.
Enter the Void if you Dare! Installing Minimal Void Linux.
23:08
Colby Braden
Рет қаралды 1,1 М.
OpenAI's o1 just hacked the system
26:31
AI Search
Рет қаралды 80 М.
build your own cloud
47:13
NetworkChuck
Рет қаралды 2,1 МЛН
Syncthing - Syncing Files from Our Phone to the Server
16:02
somedaysoon
Рет қаралды 1,5 М.
This Docker Compose UI is amazing! // Dockge
13:08
Christian Lempa
Рет қаралды 114 М.
Turning Proxmox Into a Pretty Good NAS
18:31
apalrd's adventures
Рет қаралды 269 М.