Immich Pt 2 - Easy Setup- Install, Connect, and Upload in Minutes!
HTML-код
- Опубликовано: 7 фев 2025
- In Part 2, we're getting hands-on, walking you through the entire setup process of Immich, from installing the container on your server to seamlessly uploading your memories via CLI. But that's not all - I'll also show you how to link Immich to your own domain for easy access and connect it with a mobile app for uploading and managing photos on the go.
Please, if you can and want to support the channel and donate you can do so by Paypal here goo.gl/dw6MLW or check my patreon page / spaceinvaderone
----------------------------------------------------------------------------------------------------------------
The Uncast Show / @uncastshow
----------------------------------------------------------------------------------------------------------------
Need to buy something from amazon? Then please use my link to help the channel :)
USA - amzn.to/3kCikfU
UK - amzn.to/2UsYb1f
Sas cables amzn.to/49M0BgI
Mini SAS 26-Pin SFF-8088 Male to Mini SAS 26-Pin SFF-8088
amzn.to/2V4x9kT USA
amzn.to/3xfkxEl UK
HighPoint RocketStor 6414S amzn.to/3fiXv9s
----------------------------------------------------------------------------------------------------------------
Need a VPN?
PIA is popular with Unraid users as its easy to setup with various vpn download containers - www.privateint...
Torguard is also an excellent VPN again with both openvpn and wireguard protocls supported.
Get 50% off for life using code spaceinvaderone torguard.net/a...
----------------------------------------------------------------------------------------------------------------
Need a cheap windows 10 licence for around $10
consogame.com/...
----------------------------------------------------------------------------------------------------------------
You're a patient, hardworking and nice man. Thank you for this video series
Home network tour video needed ASAP! That wall looked sick!!
Yeah some videos soon on things new in my server room/office soon :)
I recommend using an external library with the import path set to /import to upload an already exiting photo library. At the moment you cannot delete photos from an external library but if you're not worried about sorting through a photo library and more enamored with searching or sorting them like I am, this can be a easier solution.
I appreciate the time and effort you put into these videos!
but can you help me how to set this up?
You didn't end up covering GPU acceleration at the end of the video.
Still a great tutorial and I'm looking forward to getting immich setup on my server!
=Adding GPU CUDA Support for ML=
Extra Parameters (Advanced View): --runtime=nvidia
MACHINE_LEARNING_GPU_ACCELERATION (Variable): cuda
MACHINE_LEARNING_WORKERS (Variable): 1 (I left at default)
NVIDIA_VISIBLE_DEVICES (Variable): all
NVIDIA_DRIVER_CAPABILITIES (Variable): all
My GPU is now showing an active task and my Facial Recognition jobs are going super fast now.
Note: For ML I did NOT enable anything in Immich Admin Settings, BUT for Video Transcoding I DID have to go enable that in Admin Settings under "Video Transcoding Settings"
Disclaimer: I am by no means an expert, these are the steps I did to get it to work, your mileage may vary.
@@hunterclipper4798 thanks for figuring that out for us!
I have a separate video on gpu machine learning (final part 4) after easter that also shows how to use intel or nvidia. It will also show how to run the machine learning on a separate server if wanted too.
@@SpaceinvaderOneFantastic, thank you! I found a reddit post for Intel iGPU but couldn't make much sense of it on first glance. Now I can stop digging deeper and wait for part 4. 🙂
@@hunterclipper4798 This fixed it for me and got Face Detection working! Thank you.
Did you forget to put that redis variable in the description? Perhaps I'm being blind but I couldn't see it. Great video as usual though.
imagegenius/mods:universal-redis
whew, that was a lot more simple than the rigamarole I had to go through! I hope this continues to be as simple as it is for you in this video.
I fought with this for a few hours, I kept getting "Crawling for assets.... No files found, exiting" So I started doing research on immich-go, started the 8 hour process of zipping my files so I could import. Nothing was working, so I pulled up the docker container to double check everything and found that /import has been renamed to /libraries. Changed my command in and it started importing right away. It is really frustrating to have an awesome guide put out, but 4 months later the dev changed something simple and confused me. I love learning all this, but readying a Github page sends me down a rabbit-hole to learn everything I can to do what I want to do. But I never really learn anything, because I have to go 15 pages deep and 7 videos to figure out something as simple as editing a docker container file.... which I never figured out.
Glad I found this comment, thanks! I tried a couple different things and nothing. Started comparing my screen to the video and noticed I didn't have an "/import" listed on the docker. Figured the youtube comments may have some help, thanks again!
@jqcalderon3352 glad I could help. I absolutely love using my server to fix problems I didn't know I had.
I had this exact same issue and was going crazy, great catch!!!!!
legend nice catch! can always trust the comments to come through!
Thank you!! This comment should be pinned.
Thanks for another great video, Ed. I pulled a proper donut move setting this up. I had to change the webui port because it was conflicting with something else, for the life of me I couldn't get it to connect. Then after rewatching the instructions for the 4th time. I realised I spelt that variable wrong. I was putting immichgenius and not imagegenius... think I need to get the old peepers tested lol.
saved me
Your channel has been such a help to someone like me! It is perfect for those venturing out, learning new technologies, and deploying them ourselves. Can't thank you enough!
Thank you for everything you have done for the open-source community. I have followed your videos for quite some time now, and in the beginning of my Unraid days I needed to re-watch your videos about nginx quite a few times. This morning my wife heard your voice coming from my computer and I heard her yell from across the house: "Is that the subdomain guy?!"🤣
Thank you so much for making the postgressSQL docker! It was the only missing piece for me!
Your welcome. Thanks for watching :)
Thank you for this tutorial. I'm pretty new to Unraid and was getting frustrated trying to setup Immich. It was so easy on Trunas Scale, but was way more confusing on Unraid. This video made it work! Awesome job.
After the update today to immich version 1.100.0 it stopped working.
Checked the logs and it was not able to connect to Redis.
Not sure if the internal Redis has been deleted or not in this version, but I installed the official Redis container, changed the IP of Redis from "localhost" to the Redis container IP in the immich template/container and then it was back up running :)
Thank you so much for intoducing me to this app. I klicked on the vid thanks to the aggresive thumbnail on the first vid. And i finally have a good soolution for my images.
Great video as usual. Just one thing, I think the wait time in the docker list specifies how long to wait after the container is started, not before. So you'd need to change it on the Postgre docker instead of the Immich docker.
Spot on, you're absolutely right. Cheers for pointing that out. I was under the impression there was a delay before the container kicked off, but after having a read, I see you're 100% correct. Thanks for sharing that ;)
Thanks!
you are amazing!!!!!!!!!!!!!!!!! Now I can backup my phone photos automatically while I sleep. And share family/kids pics with my extended family. I have this setup with dropbox but since they are doing away with unlimited space this will now be the next best thing. Thank you so much! Subscribed!
I wanted to thank you for all the effort you are putting into all your videos about unraid! Immich is such an amazing tool and your guid combined with the tunneling video made my life a thousand times easier!
Congrats on passing 70k.
I am very interested in running this at some point, but I think I'll keep holding off for now. I really want my image hosting to be pain free and reliable because when I decide to go and tackle the monolith of images everywhere, tagging and location fixing... I want it to be good to go for the future as well, regardless of if I end up having to import the library to another program at some point.
I do have an N100 mini PC that I'm not really using for anything so maybe I can go get my feet wet with testing some things out on that.
I am in the same boat. Seems like it needs to cook in the oven a little longer to get some of the kinks ironed out to make it a bit more hassle free. I don't want to be fighting with settings when going through the backlog of photos
Thanks for the great video!!
I had to change the Postgres version from:
tensorchord/pgvecto-rs:pg16-v0.2.0
to
tensorchord/pgvecto-rs:pg14-v0.2.0
to get it working on my Server.
Maybe i downloaded a old immich version, or your postgres container is a little bit ahead of its time.
pg16 works for me, I’ve been using it for a few weeks now
i had to turn my to 14 as well to get it to work, thanks
Thank you so much for such detailed tutorial
Always enjoy your videos and implementing them as I watch. Thank you for all that you do and please keep doing it!
NOT FIRST! But still happy the video is here. TYTY for this video. I always look forward to your content Ed.
Been looking forward to this! Thank you for doing this!!
Why does the new version of PostgreSQL have 3.0 written in it?
"This container (based on PostgreSQL 16) is specifically configured for seamless integration with the Immich container, which requires PostgreSQL equipped with pgvecto a robust Postgres extension enabling vector similarity search functions. The specific version used is tensorchord/pgvecto-rs:pg16-v0.3.0"
Immich still has 2.0 versions listed in Docker.
I was wondering the same thing.
same here, im just going to use what he has changed it too, maybe to future proof it, if it works day one
@@therealbinchicken did you update and got it going? I updated do v.0.3.0 (because I am stupid) and restarted Immich, which stopped working. So I reverted to v0.2.0 and now PostgreSQL_Immich is returning "PostgreSQL Database directory appears to contain a database; Skipping initialization" in the log.
Finally Part 2! Thank you!
Many thanks for this video... was very helpful.
Thanks for creating content that has been helping me with my home Unraid server for 6+ years!
I followed your instructions and I am now working on migrating away from Google photos as I write this comment. Amazing and useful.
Do you have any advice on best practices for updating Immich using your installation method? After I tried updating within Unraids Docker tab, The server remained at its previous version -1.114.0.
Thanks!
You can import photos without using the CLI. You’d instead use the “external libraries” and you’d pick your watch folder and it’ll import them
Does it import into images own storage or just index the files to view them?
@@SpaceinvaderOne It just indexes, and I would really rather it importing the photos
@@SpaceinvaderOne yeah it just indexes them but if you wanted a copy you’d just copy them to the watch folder where you’d have your second copy.
This feature seems much more useful than an actual import. Why would I want a second copy of my photos taking up more space on my server? Am I missing some downside here?
@@dansushi Same question, what am I missing? Why would I want a duplicated copy of all my photos/videos? I don't see a reason.
Thanks for the video! Regards from Chile!
Thanks for the direction, works great
Thank you so very much - your tutorials are so valuable!
Good video Ed! Thanks for always sharing with us!💖👍😎JP
My pleasure!!
@@SpaceinvaderOne 😎
OH! Thank you for the video. I really thought that you were going to teach how to reverse proxy immich, and I was really excited as you shouw in the video that you are using SWAG.
I cant make it work.
With every other docker container, I use the swag autoproxy methoud without any trouble, but with immich I cant make it work. It just gives me "bad gateway" in cloudflare
Commenting because same issue, hoping to follow.
The truth is that the tunnel is REALLY simple, but I would have liked to know why I cant reverse proxy it with swag.
Thanks again for the video!
@@benfleming9941 Same, I've been banging my head on the wall with this!
You are using the proxy conf supplied in the swag container, correct?
In immich.subdomain.conf - you have to change the upstram port from 3001 to 8080 under both location directories.
You're using the swag supplied immich.subdomain.conf right?
you have to change the set $upstream_port from 3001 to 8080 in both instances of the conf file.
I’ve seen people mention that Cloudflare has something like a 100mb file size limit. Is there anything in the phone app that can be set to chunk files if necessary? Thinking mainly videos taken on your phone.
Hey Ed, thanks for the video! It looks like video is missing the GPU section, Google Takeout import info, and machine learning info. Look forward to getting this all setup!
Yep. Got Immich working and uploading from my phone now, which is teriffic, but would love the Takeout import, machine learning, and also a backup scheme.
So you guys also cannot find a Google Takeout video?
See my comment on the top liked comment for GPU settings for ML.
Part 3 is out with google takeout. I have a separate video on gpu machine learning (final part 4) after easter that also shows how to use intel or nvidia. It will also show how to run the machine learning on a separate server if wanted too.
@@SpaceinvaderOne Hey Ed, didn't mean to jump the gun! Great videos as always! My apologies :)
Eres un crack, saludos abrazos desde España, soy fiel seguidor tuyo desde que tengo UnRaid. Sigue así, estoy aprendiendo mucho con todo lo que haces. Tienes mi super like.
Thanks as ever for the great tutorial Ed - Immich is fantasic. The image recognition alone is really impressive in my setup.
Would be great to see a video about how to backup/restore immich files & db to the array (isay if its on a pool). Perhaps Unraid 7 makes things easier here..
Other thing to note about Immich is that the user profiles do separate libraries and whilst you can share, you wont be able to share the library, some features (eg people’s names) arent shared at the moment. As a result my family uses a single admin user, which isnt ideal but gives us the solution we want.
can you share how you got face detection working?
FINALLY!!!!!!! 😁
Ed - great tutorial as always!
Now that I have this up and running, although great, it is a tough ask to sacrifice basic crop and rotate edit functionality.
Totally agree. Its very early days for immich so i am sure it is something that will be coming in the future.
I set up as per video can access immich on local network but the external access through reverse proxy i get 502 bad gateway error. all my other reverse proxies work fine and if i point my new sub domain for immich to one of those it works so the domain is set fine but immich isnt allowing it.
Awesome, love your videos. Can we have a part 3 on how to backup?
Gorgeous, best in the business, cheers
This was a huge help and way easier (for me) than the docker compose official path. The only thing I'm struggling with is the external libraries function. I'd prefer to not have Immich copy stuff... instead I'd like it to just interact with the folders I already have. Is this possible?
You forgot the GPU config section...
=Adding GPU CUDA Support for ML=
Extra Parameters (Advanced View): --runtime=nvidia
MACHINE_LEARNING_GPU_ACCELERATION (Variable): cuda
MACHINE_LEARNING_WORKERS (Variable): 1 (I left at default)
NVIDIA_VISIBLE_DEVICES (Variable): all
NVIDIA_DRIVER_CAPABILITIES (Variable): all
My GPU is now showing an active task and my Facial Recognition jobs are going super fast now.
Note: For ML I did NOT enable anything in Immich Admin Settings, BUT for Video Transcoding I DID have to go enable that in Admin Settings under "Video Transcoding Settings"
Disclaimer: I am by no means an expert, these are the steps I did to get it to work, your mileage may vary.
I have a separate video on gpu machine learning (final part 4) after easter that also shows how to use intel or nvidia. It will also show how to run the machine learning on a separate server if wanted too.
Will immich for ios 12?@@SpaceinvaderOne
@@SpaceinvaderOneSeparate server would be cool! If you can include how to multi-use that server for e.g. ollama etc for homeassistant, even better!
@@SpaceinvaderOne Any Eta on this?
Hello!
I just started using unraid a few months ago. As a new user your videos are very informative. Thank you for all your hard work.
My main goal of using unraid is to have a way to stop paying monthly fees for additional cloud storage for photos from my phone company.
I do not need to access/store photos while I am away from home. Is it necessary to pay for a domain in order to use immich?
My plan is to have the photos and videos on the phones of my family members save to my unraid server when they connect to the home wifi. Not including the cost of the server hardware, is there a way to back up my photos to immich in a way that is free or as cheap as possible yet secure? I am trying to escape monthly/yearly fees.
Thank you.
I’m enjoying using this now, thanks !! I’ve seen others asking about a good way to back this up. Any chance of a follow up on backing up the database AND images/videos??
Is there any chance you can make a video on backing up the Immich database? Turns out that is a complicated mess to do, need a tutorial.
wouldnt Appdata Backup work withit? i havnt yet installed it but if it doesnt fully back it up then yes please make a video!
@@droopie good question, not sure. if you check Immich documentation there are complicated steps they recommend
@@engin3ar thanks ill read it after finishing this install of immich. i do feel that if appdata backup is working like say photoprism and mariadb, it would prob back everything up too.
Any plans on going over the backup / restore method you're using?
Hello! I follow it and works nice! My doubt: when I import my main photos folder to Immich, should I delete the main photos folder after? Seems that my photo folder and immesh have the same size.... Help !!!!
Did you cover what has to be done for using an Nvidia GPU? I don't recall seeing the all the steps for that
I've been waiting patiently... Ty
Brilliant tutorial!, I must have done something wrong though. When i get to the part where you type in immich upload --recursive /import. I get the message, crawling for assets....., no files found exiting. What have i done?
Hi Ed, I love you mate!
Thank you for all your videos.
Your very welcome. Thanks for your kind comment :)
Always the best 🔥🔥🔥🔥🔥
how do you set up automation for all photos to get uploaded from the /libraries command line tht uses the API key. or should I just use external libraries in the immich UI?
I don’t want to create a third Postgres container. Please provide a video in how to setup with an existing Postgres container, I spent some time on it, and got nowhere.
I'm using a really easy method to upload from my old server or from unraid itself,
I map a drive on my laptop to the old repo of pics
create an album
in the album, click upload then select From my Computer
navigate to the mapped drive and select all the photos in click go!
super easy! and fast since I'm on the same network
Not sure if this will be seen, but have tried a few installs / reinstalls and followed the instructions per another video and this one as well. Am not able to get the webui to go anywhere, keeps telling me "this site can't be reached" Thoughts?
same issue here
Did you check the logs, for me it was taking a lot because it was installing the mods, but after some patience it started.
@@octavian4305 how long of a wait are we talking? I've retried everything, and uninstalled/reinstalled today and still having the same issue
Thank you so much ive been waiting for this! Does anyone know what video hes referring to where he goes over Google Takeout and immich go?
Same question. He also forgot the GPU acceleration and could have done a tutorial on machine learning face detection. I smell a Part 3 looming!
@@diedrichg I actually just went to the immich-go repo and was able to do it all just from the README! let me know if you have any questions since it was pretty simple
@@diedrichg I actually just went straight to the immich-go repo and was able to import my entire Google Takeout .zip extremely easily! Its as easy as "./immich-go -server= -key= upload -create-albums -google-photos /path/to/takeout*.zip"
ah hah ... a part 3 might be here !! :) ruclips.net/video/tCylg2AHA8c/видео.htmlsi=NIL0u939R4ljnbg8
Thanks Ed, I got it working but the issue I have is that the thumbnails are not showing and when I click on them no image is displayed.
Were you able to get this working? I am having the same problem
@@anthony.boyington same problem did anyone get this to work?
After update to Immich new version. Nothing shows on port 8080. It seems broken. Can you make an updating video on that. Thanks a lot for your videos, very useful and detailed.
Tried following these instructions, but it said it couldn't connect to the server when I try to open immich. Going to delete both containers and then retry from the beginning. GOt photoprism to work, but need multiple users so I thought this might be better.
This just left with an error message "this site cannot be reached" when trying to visit the web UI
What's the non cli way of importing photos? What if you put more photos in the import folder later, will Immich see them or do you manually have to import again?
Yea, that's also confusing for me... Surely there is an automated way to import photos and does it 'remember' previous imports?
If you see my part 3 video on immich-go. You could easily put the command in a userscript and set it to run every night. then whenever there are new photos in the location it would import them.
I love your videos and whoever recommended you to teach me about Unraid is amazing.
Now I always have to ask.
Wouldn't docker compose just be easier. Run one update command not worry about all this?
I am very ignorant to unraid so please be kind.
Great video. How would I go about storing the image thumbnails on the cache and everything else on the array?
I went through process and it says it won't connect to site. I followed instructions as posted and it did not work
Is there a way to set up the EXTERNAL PATH so that immich just adds your photos from where they are without copying them? I have my photos meticulously organized and would love to continue doing that without immich duplicating my photos elsewhere and hogging up more space.
I found the help article for external, but it's not helpful on the unraid side of things
This is what I want to know aswell, I have tens of gigabytes of pictures and don't want to have it duplicated just for Immich...
There is, just go to Administration, then External Libraries. Add external library and the path you want to use is /import (to align with the import folder created in the setup above). This will simply add all those photos and videos to the metadata and not import the actual photos/library.
thx for the good tutorial, works great. So I'm new to Unraid and Immich - a quick question: now, there is an Immich docker container update --> can I do an update or will I break something ? Do any special dependencies need to be taken into account here? THX
can anybody help me with that ?
Still watching for the first time, but I'll ask anyway. Can this be setup and told to use a network "share" from another machine/location. Say i want the photos to stay on my truenas box, or a synology box, or something like that, but immach needs to run on unraid.
I did exactly as the video and what I now see is that the Cash is filled with thumbs and other stuff... What have I done wrong?
hi, how did u end up fixing cloudflare s upload limit?
I used the installs from CA. HEIC imports aren't working. Did I do something wrong?
Thanks Ed, I got it working.
Is the current path: /libraries same as the path: /import in this video?
good question. i am currently struggling what libraries mean now
Is there a way to back a immich server up? Like the docker container to move to different unraid server?
I feel dumb that this took me this long to solve, but for those who also fall into this. I was getting this error which caused the second script (main Immich install) to fail. "docker: invalid spec: :/libraries:rw: empty section between colons." I realized it was because I didn't have an existing backup to be moved, which meant I was skipping this variable. Cannot skip, need to remove it if there isn't an existing library, otherwise it is looking for one where we've given an empty response.
Thanks for a great video. I’m curious of your opinion on using Immich versus Nextcloud for photo backup. Also does Immitch store the photo in original resolution?
That's my thought too - I'm wondering if you could somehow let them work together. I could import the pictures out of the Nextcloud storage, but then I have them two times on the server. I don't want to replace one with the other, as they both have their strengths.
Hi all,
quick question, how do I backup my immich instance along with the PG database? I am trying to use regular process for the DB but I am stuck in the PG console, saying that root user does not exist, any ideas?
During install I see the Unraid server docker is using "The specific version used is tensorchord/pgvecto-rs:pg16-v0.3.0" but the github version is older (same as ths video version). What to do?
Thank you for the instructions as always! Would it be possible to use the mobile app uploading through a local network address? I have a vpn client set up on my router and would prefer tunneling in to my home network and moving away from having services accesible from the internet.
They just released a new version of the docker container which contains version 2.1.0 of the CLI. Unraid didn't show it, but force update updated the container to the new version :)
yeah I saw that this morning. great to see that is fixed now :)
How did you force update it?
Thank you for the great setup video. I don't remember seeing the ML setup, did I miss it? I am trying to setup a 7 gen intel GPU.
what have I done wrong, I can't uoloate pictures, neither one way nor the other? neither from a website, ios app or the program you use for takeout?
Thanks for the video. I installed the immich docker on my unraid server and after I was done I got a popup message saying something along the line of "The password you just used has been identified in a data breah and Google recommends you change it. My guess is that it was related to the default postgres password and I assume that won't matter since it is safe on our server but I did want to ask here to make sure that it isn't something else I should be concerned with. Thanks.
I have been adding through the gui, I did this on one computer and it was working fine. when I did a install on another server I seen that there was a update and everything seem to work the same but now it will not load any of my .jpg photos installing from the gui, only my raw photos. It acted like it was uploading the .jpg files but all the icons for the photo said couldnt load. (using latest unraid, latest immich following your directions up to logging into immich where I just uploaded with gui. I am at a loss and open to any suggestions.
is there a way to scan a folder to not include the previously imported photos?
External libraries will add photos to your immich instance where they currently reside without making a copy of them.
Now to add external libraries is not working with /import anymore. It has to be inside the app but not working with unraid for me.
as a workaround i added a path /import into the current immich version. und used your immich upload --recursive /import command. Its currentlry importing
EDIT 2: Under Admin and external libraries i added /libraries as the path, so its now indexing.
Question: Is it not possible if i delete the image inside immich that it is also deleted in my external library?
Thanks for the tutorial but I have a question. Is there a way to block http requests via the cloudflare tunnel? At the moment both https and http requests are allowed
imagegenius/mods:universal-redis
I think... since he didnt put it in the description to copy and paste
thx a lot!
Immich docker compose file shows that they are using ps14 not ps16.
@SpaceinvaderOne what is the difference between using the cli to upload vs the external library gui from the admin panel?
Hi thank you for all the helpful tutorial videos you post. You've enabled me to build an Unraid server to host many self hosted apps!
I was looking the other day for some help with Immich and a tutorial on the process to backup and restore, specifically backup Server A and restore on Server B? (Migrating to a new server)
Would you be willing to assist or create a tutorial video on the process to do so for Unraid users?
I'm using the standard PostgreSQL_Immich and Immich containers for the deployment.
Much appreciated!
Ente Photos server having been made available for self-hosting, I'm wondering if it would be worth running that, just for something that is less heavily in development, and less likely to have breaking updates.
Is this an option you would consider covering?
very cool.. im looking to create a dev environment for me and co workers on my unraid server where we can all collaborate on projects we work on. Maybe thats something you can be interested in building. either a vm or docker.. which every is best/fastest
Okay, so I've already got a PostgreSQL15 container and a number of DBs for other services (Netbox & Vikunja mainly), do I really need to spin up the PostgreSQL16 container you provided? Or how can I make my existing PostgreSQL15 container work?