I don’t think I made this clear enough in the video, but if you will be uploading photos and videos directly from the immich app, feel free to put the photos directory wherever you want. In the video I just typed “./photos” meaning all of the photos would be stored in the same drive and place as the docker compose file. But you can put this anywhere you like. If you had another drive you wanted to put it on like a external hard drive you can just out the path to that there. Example: “/mnt/drive/photos:/photos”. And if you were on windows and wanted to access another drive it could be like “/mnt/z/photos:/photos”
Great video! Can you make a video on how to backup the Immich photos and database? One thing is to get it running, but would hate for something to go wrong and lose all your photos.
It’s very simple since its set up in docker. You just need to transfer the config folders with something like rsync just to be in case and then you update the paths in the docker compost file. Then it should work exactly the same
The recommended docker compose method is 100x easier than the method you just showed. So much more to edit and you have to create the files yourself. Have you tried the recommended way?
I have tried the recommended way and theres a lot more things that need to be downloaded. What other files did I create? I just created one compose file and only edited that. The recommended way has a lot of things that need to he edited
The recommended docker compose method kept crashing at startup of the postgresql database. This method took 15 minutes and I was up and running. Even got hw accelerated machine learning set up.
Hey important question, is it possible to use my AMD rx 5700 for this and if so how? If not, does that mean I can't use immich's recognition features anymore? Also does the computer hosting the immich server have to always be on 24/7? Im guessing no and whenever its on you can start syncing again.
You can use these features without a gpu it just wont be as fast. I don’t think immich supports amd just yet but I know they support nvidia and intel. You don’t have to run immich 24/7 but you will only able to see all of your photos when it’s on. It’s meant to be run 24/7
i did everything what was said in the video, I just can't seem to access the webpage - ERR_CONNECTION_REFUSED Any idea how to solve this problem? Thank you in advance. It was a great video, not from a computer background so a bit difficult to go through these. the internet, proxy are fine btw.
Thanks so much for the video. Everything went along exactly as you described until I initiated the library scan. Then nothing happened. No errors, no messages in the log, no activity - just silence. What did I do wrong?
I appreciate the support! Did you confirm that the path to the external library is correct? In the docker compose file make sure you put the correct directory where it is located on ur actual system on the left of the colon and where you want it to be inside of the container to the right. And when you added the external library you put that path on the right of the colon right? You could check if the path is correctly shared by doing “docker exec {immich container name} ls /path/to/share/inside/container” and replace that path accordingly
@@MadhuKraft Thanks for the response. Am I ever red in the face. While I did enter everything correctly, after adding the library I thought that was it and moved on to start a scan. Well...I didn't actually save the library settings! What a dufus. So sorry for the pushback. Totally and completely operator error. The scan is now progressing just fine.
@@MadhuKraft I am facing a similar issue. I have my pictures stored on NAS and I have installed immich (have tried photoprism as well but same issue) on my windows 10 machine using wsl2 and docker desktop. My Nas folder is accessible from my windows 10 machine directly as a network path and I have also mapped a network drive. I have been trying to create volumes using many different variations but the mapped folder inside the container is always empty. If I directly mount the folder in WSL then I can see the files inside the mapped folder. Following are my current 3 volume lines - /mnt/n/Photos:/usr/src/app/externalphotos:ro - /mnt/wsl2:/usr/src/app/externalphotos2:ro (/mnt/wsl2 is the mounted nas folder in wsl and shows all pictures when checked directly but not inside container) - //nas/home/Photos:/usr/src/app/externalphotos3:ro When I check these folders in docker desktop, these are empty. When I add any of these as external library path and start a scan, nothing happens. Any idea?
I am getting this error whe I am trying to use the gpu Error response from daemon: could not select device driver "nvidia" with capabilities: [[]] its rtx 3060, ruuning docker on windows without the gpu it running but I want to utilezed the gpu appreciate the help
Did you install the nvidia driver from the geforce experience app or their website? Even if you have before it doesn’t hurt to reinstall it. After that make sure you restart your computer for docker to get access to your nvidia gpu
@@MadhuKraft i update the driver still the same error in WSL it see the GPU and seems to work fine also when i ran docker run --rm --gpus all nvidia/cuda:11.6.2-base-ubuntu20.04 nvidia-smi it also see the gpu
If the gpu works fine in docker containers the only thing I can think of is the compose.yaml file being formatted incorrectly. Is everything properly indented? Could you possibly paste it here? Only the part where you pass in the gpu
THANK YOU!!!! This dum dum dum linux folder structuring under a million different directories under anoter milion directories and ofcourse docker follows the idiotic structuring and finaly you said how to simply use the path to drive /mnt/drive letter... Simple as that drive and folder i want to use no billion different mounts upoun mounts upon random letrering its sooo annyoing! Thank you for this!
I don’t think I made this clear enough in the video, but if you will be uploading photos and videos directly from the immich app, feel free to put the photos directory wherever you want. In the video I just typed “./photos” meaning all of the photos would be stored in the same drive and place as the docker compose file. But you can put this anywhere you like. If you had another drive you wanted to put it on like a external hard drive you can just out the path to that there. Example: “/mnt/drive/photos:/photos”. And if you were on windows and wanted to access another drive it could be like “/mnt/z/photos:/photos”
one of the best guides for anything I've ever seen. Thanks.
Your voice is so soothing omg 😂
Holy flip this is amazing!!!!!!!! THANKS MADHU! Your my hero!
banned
I’ve been looking for this everywhere and finally found one that worked 😭😭😭 TYSM
bud
Great video! Can you make a video on how to backup the Immich photos and database? One thing is to get it running, but would hate for something to go wrong and lose all your photos.
Holy shit, this is exactly what I was looking for!
Can you explain how to setup a Backup for the AppData on the Host System?
Links to timezones is off
Thanks for letting me know. I’ve updated it now
Thank you. Can you make a tutorial on how to migrate immich server?
It’s very simple since its set up in docker. You just need to transfer the config folders with something like rsync just to be in case and then you update the paths in the docker compost file. Then it should work exactly the same
awesome sauce!
freak
How to import bulk photos? I need to import about 80,000 photos that I got from Google takeout.
for that it would be best to use the external library feature instead which i show in the video
The recommended docker compose method is 100x easier than the method you just showed. So much more to edit and you have to create the files yourself. Have you tried the recommended way?
I have tried the recommended way and theres a lot more things that need to be downloaded. What other files did I create? I just created one compose file and only edited that. The recommended way has a lot of things that need to he edited
The recommended docker compose method kept crashing at startup of the postgresql database. This method took 15 minutes and I was up and running. Even got hw accelerated machine learning set up.
Hey important question, is it possible to use my AMD rx 5700 for this and if so how? If not, does that mean I can't use immich's recognition features anymore? Also does the computer hosting the immich server have to always be on 24/7? Im guessing no and whenever its on you can start syncing again.
You can use these features without a gpu it just wont be as fast. I don’t think immich supports amd just yet but I know they support nvidia and intel. You don’t have to run immich 24/7 but you will only able to see all of your photos when it’s on. It’s meant to be run 24/7
@@MadhuKraftbut keeping your pc running 24/7 isn't recommended that's the issue
i did everything what was said in the video, I just can't seem to access the webpage - ERR_CONNECTION_REFUSED
Any idea how to solve this problem? Thank you in advance. It was a great video, not from a computer background so a bit difficult to go through these. the internet, proxy are fine btw.
Thanks so much for the video. Everything went along exactly as you described until I initiated the library scan. Then nothing happened. No errors, no messages in the log, no activity - just silence. What did I do wrong?
I appreciate the support! Did you confirm that the path to the external library is correct? In the docker compose file make sure you put the correct directory where it is located on ur actual system on the left of the colon and where you want it to be inside of the container to the right. And when you added the external library you put that path on the right of the colon right? You could check if the path is correctly shared by doing “docker exec {immich container name} ls /path/to/share/inside/container” and replace that path accordingly
@@MadhuKraft Thanks for the response. Am I ever red in the face. While I did enter everything correctly, after adding the library I thought that was it and moved on to start a scan. Well...I didn't actually save the library settings! What a dufus. So sorry for the pushback. Totally and completely operator error. The scan is now progressing just fine.
No worries 😂 I’m glad you figured it out
@@MadhuKraft I am facing a similar issue. I have my pictures stored on NAS and I have installed immich (have tried photoprism as well but same issue) on my windows 10 machine using wsl2 and docker desktop. My Nas folder is accessible from my windows 10 machine directly as a network path and I have also mapped a network drive. I have been trying to create volumes using many different variations but the mapped folder inside the container is always empty. If I directly mount the folder in WSL then I can see the files inside the mapped folder. Following are my current 3 volume lines
- /mnt/n/Photos:/usr/src/app/externalphotos:ro
- /mnt/wsl2:/usr/src/app/externalphotos2:ro (/mnt/wsl2 is the mounted nas folder in wsl and shows all pictures when checked directly but not inside container)
- //nas/home/Photos:/usr/src/app/externalphotos3:ro
When I check these folders in docker desktop, these are empty. When I add any of these as external library path and start a scan, nothing happens.
Any idea?
I am getting this error whe I am trying to use the gpu
Error response from daemon: could not select device driver "nvidia" with capabilities: [[]]
its rtx 3060, ruuning docker on windows
without the gpu it running but I want to utilezed the gpu
appreciate the help
Did you install the nvidia driver from the geforce experience app or their website? Even if you have before it doesn’t hurt to reinstall it. After that make sure you restart your computer for docker to get access to your nvidia gpu
you can check whether your gpu is present in the vm by typing “nvidia-smi” in the linux environment on your windows machine
@@MadhuKraft
i update the driver still the same error
in WSL it see the GPU and seems to work fine
also when i ran docker run --rm --gpus all nvidia/cuda:11.6.2-base-ubuntu20.04 nvidia-smi it also see the gpu
If the gpu works fine in docker containers the only thing I can think of is the compose.yaml file being formatted incorrectly. Is everything properly indented? Could you possibly paste it here? Only the part where you pass in the gpu
@eli2798 i see the error, only the driver line should have the dash in front of it. None of the other lines should have a dash in front of them
THANK YOU!!!! This dum dum dum linux folder structuring under a million different directories under anoter milion directories and ofcourse docker follows the idiotic structuring and finaly you said how to simply use the path to drive /mnt/drive letter... Simple as that drive and folder i want to use no billion different mounts upoun mounts upon random letrering its sooo annyoing! Thank you for this!
i use it on synology but i got stock on path. /volume1/photo i want to put this path but i dont know where to add it