Don't Let Apple & Google Harvest Your Photos, Use Immich to Self-Host Your Own Cloud!

  Рет қаралды 52,487

Jim's Garage

Jim's Garage

Күн бұрын

Пікірлер: 116
@redbeardtree1776
@redbeardtree1776 Ай бұрын
its not simple for people who have never used dockor or set up anything like this before, i wish some would make a video for people new to all this
@Jims-Garage
@Jims-Garage Ай бұрын
@@redbeardtree1776 follow my earlier videos, I have a step to step series on setting everything up. I cannot cover all of this every time (most of my original videos are sequential)
@shivam_patel
@shivam_patel 27 күн бұрын
@@Jims-Garagefacts
@mtbdude641
@mtbdude641 Ай бұрын
can you do a follow up guide for how to properly back up immich ?
@Glatze603
@Glatze603 Жыл бұрын
Very cool Jim, thanks a lot! I have now seen almost all of your videos because those are exactly my interests. I hope you keep it up 🙂
@Jims-Garage
@Jims-Garage Жыл бұрын
Thanks 👍
@AlphaSphere
@AlphaSphere 6 ай бұрын
Jim! This is brilliant! I've been wanting to move away from Google Photos for some time now and see about hosting it myself as video takes up so much space so damn fast. Going to see if I can get a bunch of colleagues/friends together to host something like this together and have backups in the system, data but also a backup of people who can manage it. Don't want things to go down when I'm sick or something. Again, fantastic that you are sharing this and all the rest of the stuff on your channel. :)
@Jims-Garage
@Jims-Garage 6 ай бұрын
Thanks for the kind feedback. I need to update this video as there's no requirement for a web server. Check their docker repository for the latest compose, the rest of the video should still be valid.
@jim7smith
@jim7smith 3 ай бұрын
Well done, Jim! I will be setting up Immich in an incus container for self hosting.
@Jims-Garage
@Jims-Garage 3 ай бұрын
Awesome 😎
@jipiquittot
@jipiquittot 2 ай бұрын
The things I have not figured out how to do: 1-Backup photos from phone to a specific folder on immich (ex: "camera" photos to "camera" folder on immich and "whatsapp images" on phone to "whatsapp" folder on immich. 2- Have a several users set up (at the moment, my photos and my wife's photos are going to the same place).
@ArnabDas
@ArnabDas 10 ай бұрын
This was an amazing guide. Thank you so much!
@Jims-Garage
@Jims-Garage 10 ай бұрын
Glad you enjoyed it, thanks 👍
@AniruddhaThombare
@AniruddhaThombare 7 ай бұрын
Thanks a lot for these videos. Have been following your channel for quite some time. Respect!
@Jims-Garage
@Jims-Garage 7 ай бұрын
Really appreciate that, thank you
@plishboy15
@plishboy15 10 ай бұрын
Hey Jim thanks for this and all the tutorials you do! I finally was able to get this up and running. Looks like there are some changes from your install, the immich devs simplified the install but I imagine you already know that. Few questions: 1. Do you have plans to deploy this on k3s/helm? 2. How would you tackle making the upload folder a truenas nfs share vs local storage on the docker host? (I am new to linux world, old windows admin and tryinig to figure this out as I write this). 3. Did you get this up and running with traefik after the update? (I know you have been super busy with other content!)
@Jims-Garage
@Jims-Garage 10 ай бұрын
Hey, thanks for the feedback. I am aware of the changes, and the need to re-record. I'm hoping that the simpler installation helps many people. I might do the next video on deployment in Kubernetes with Traefik.
@plishboy15
@plishboy15 10 ай бұрын
@@Jims-Garage that would be sweet looking forward to seeing/deploying it
@jonathandoe7490
@jonathandoe7490 10 ай бұрын
​@@Jims-GarageWas also going to ask that this be re uploaded, the changes they made with your guide kind of make it a mixed bag for someone new to linux like myself and trying to follow along. lastly when you said the 500 error would be resolved by removing some variables please demonstrate that being done, dont just say it and move on. I hope this does not come off as rude or a demand it is only a request.
@Jims-Garage
@Jims-Garage 10 ай бұрын
@@jonathandoe7490 I'll put it on the list to cover again.
@lloydsmart1
@lloydsmart1 9 ай бұрын
Thanks for this video. I've just set up Immich based on this, and am in two minds about whether to expose it externally or not. I've got it working on my LAN and via Wireguard VPN, thinking of exposing it via HAProxy but not sure that's a good idea security-wise. Also doing so would necessitate moving Immich into my DMZ, which then means my photos would be in the DMZ too, and vulnerable to anything else in there that gets compromised. Hmm. 🤔
@Jims-Garage
@Jims-Garage 9 ай бұрын
A split tunnel VPN with WireGuard is likely the best option.
@AniruddhaThombare
@AniruddhaThombare 7 ай бұрын
Hi, have been using immich for quite some time now. Original Setup: Wait until go home for syncup. This had obvious major drawbacks. Moved to zerotier as I didn't have public IP available to run wg. Didn't like the hassles and speed. Finally, bit the bullet and got a VPS. Anyways, was doing shared hosting multiple domains. As you tightly highlighted, security was the most important concern. Hardened the VPS, added restrictive firewall rules, added crowdsec and relevant collections / scenarios. Now was the time to add wg and establish tunnel from home & other devices to the VPS. Note, home server doesn't trust anything in home either. Most services (even librespeed) were already protected by Authelia & 2FA. Ended up creating reverse proxies from publicly available FQDN VPS to home server via that tunnel. Authelia / crowdsec / sensible iptables rules in place. Even with two hop WG tunnel (device -> VPS -> home server), it fared way better than ZT. All of these services are on HTTPS (TLS 1.3) anyways. So, you know the tunneling overhead. Allowed my home server to get directed requests from VPS WG tunnel. VPS proxies configured to verify from WG tunneled Authelia. Got another speed boost. Moving from two hop to single hop VPN was such a boon. ZT didn't beat two hop WG, single hop WG did drown ZT by atleast 3.9x at its worst. Still protected (kind of), from known attacks , MITM, signatures etc by DMZ in the wild + untrusting server at home. But, this new setup is mostly hassle free. Either home or otherwise, you meet the same servers (split DNS, as James replied elsewhere). Now, to attempt to answer your original question: You don't need to expose immich or any other app. They can live in their own userland isolated from each other. Your DMZ is your DNS. As, you can control it, have it to be the published private IP. Let it be your first line of defence. I may edit or reply more, later.
@joshuaehoche
@joshuaehoche Ай бұрын
😅don’t understand a shitload of what you said here
@WaltBankes
@WaltBankes 5 ай бұрын
What are the possibilities for places to store your backup photo files? NAS? - USB external drive? other computer on your LAN? i have been looking at many intro (maybe intro) videos and no one seems to answer this question. Thanks for your help.
@Jims-Garage
@Jims-Garage 5 ай бұрын
It's docker, you can choose any of those storage options if you want. A NAS or locally makes the most sense. Simply change the left hand side of the : in the volumes section. It'll be stored there.
@therealsprint
@therealsprint 2 ай бұрын
I like to use immich but since the software gets updates very often, I have to constantly update the software with Docker update command. I have read Watchtower should be able to help automatically but I can't find any instructions for it to work, I can't get it to work. But having to constantly make manual updates so that software and app fit together on the smartphone, that bothers me and as much as I would like to use it, it's too cumbersome.
@Jims-Garage
@Jims-Garage 2 ай бұрын
@@therealsprint yeah, I recommend using watchtower, I might do a video on it shortly.
@therealsprint
@therealsprint 2 ай бұрын
@@Jims-Garage That's good, maybe then I'll understand how to set up watchtower correctly under Docker or portainer.
@Scranny
@Scranny 2 ай бұрын
I know Immich recently joined FUTO so their funding should boost the project. Also, how does this compare to other open source photo hosting projects like LibrePhotos?
@JPEO
@JPEO Жыл бұрын
Thanks, so far Im able to follow.
@GustavoBononi
@GustavoBononi 7 ай бұрын
Hi, thanks for the guide, I have two questions for you, I am currently using Photoprism, the performance is comparable with this, do you have any idea what it is like? I have the photos in a directory, separated by subdirectories where I have them organized, is Immich able to read them?
@Jims-Garage
@Jims-Garage 7 ай бұрын
No experience with photo prism but chose immich as it doesn't have weird paywalls. You can easily mount directories.
@vazquezjm
@vazquezjm 7 ай бұрын
Great video! How does Immich compare to Photoprism? Commented, liked and subscribed 👏😄
@Jims-Garage
@Jims-Garage 7 ай бұрын
I've no first hand experience, but I've heard it's more open source without a pay wall
@EduardBobrik
@EduardBobrik 3 ай бұрын
Hi Jim, thank you for this very nice and descriptive video. I have tried to follow your tutorial on my new Asustor, but was unsuccessful. I had to modify and combine some scripts and then run it through ChatGPT to get Immich running. The logs of Immich-Microservices and Immich-Server show some errors, so I'm not sure that hardware acceleration and transcoding are working correctly. Can you please suggest how to correct these faults?
@entropy_69
@entropy_69 11 ай бұрын
can't get over " 500 ECONNREFUSED " error, even after removing the env variable
@alanburgess2203
@alanburgess2203 4 ай бұрын
How does this compare to Open Media Vault and Photoprism?
@Jims-Garage
@Jims-Garage 4 ай бұрын
I have no direct experience of Photoprism but what I hear is that it's fully opensource and more feature rich for base users (no paywall).
@aspuzling
@aspuzling 11 ай бұрын
I'm already lost at Step 1 (installing Immich). On what kind of machine would you recommend installing Immich? My personal PC? My Raspberry PI? My home server? My fileserver? My VPS?
@Jims-Garage
@Jims-Garage 11 ай бұрын
The video is describing how to install on Docker using docker compose. This is my recommendation. I have a whole series on how to do this setup (check earlier videos)
@NafeeDoesStuff
@NafeeDoesStuff 8 ай бұрын
​@@Jims-GarageCould you recc some videos? I have an old PC laying around and a full Google photos storage so I'd like my first venturing into server stuff to be photo storage
@kevin_kk
@kevin_kk Жыл бұрын
Thanks for the video... any idea as to whether it support SSO?
@Jims-Garage
@Jims-Garage Жыл бұрын
I don't believe so. You'd have to use something like Authelia or Authentik as a web proxy.
@kevin_kk
@kevin_kk Жыл бұрын
Okay, let me try out Authentik - thanks again! @@Jims-Garage
@rudypieplenbosch6752
@rudypieplenbosch6752 Жыл бұрын
Interesting, I definitely will have a look at it.
@Jims-Garage
@Jims-Garage Жыл бұрын
Thanks, you should. It's pretty awesome!
@Akshay56633
@Akshay56633 10 ай бұрын
Hi Jim, thanks a lot for this video. Just one more question; How do I backup photos of Immich? Can I just try backup upload folder? Or photos are into db?
@Jims-Garage
@Jims-Garage 10 ай бұрын
You're welcome 😁 checkout my restic and rClone videos, that's how I do it.
@NetBandit70
@NetBandit70 Жыл бұрын
Why build out on Docker when Podman is the more secure replacement? It doesn't make sense to do a new deployment of an EoL system.
@Jims-Garage
@Jims-Garage Жыл бұрын
You raise a valid point, it's something I will address in an upcoming video and ultimately resolve when I move onto kubernetes.
@phizlip
@phizlip Жыл бұрын
Their website doesn't have a tutorial for podman
@Jims-Garage
@Jims-Garage Жыл бұрын
@@phizlip it's practically the exact same syntax as Docker :/ I've been using containerd in k3s for a couple of years now (with a few containers in separate VMs running docker and podman for experimentation).
@NetBandit70
@NetBandit70 Жыл бұрын
@@phizlipThat's a valid point that illustrates the frustrating state of Podman migration. People have a tendency to treat security as an afterthought.
@jirehla-ab1671
@jirehla-ab1671 Жыл бұрын
​@@Jims-Garagei might run this in a vm.
@BobHenderson-dr2wy
@BobHenderson-dr2wy 9 ай бұрын
Just curious as to why everyone assumes you have to use a reverse proxy? Is there some security benefit?
@Jims-Garage
@Jims-Garage 9 ай бұрын
You don't have to, but yes there is an obvious security benefit due to SSL certs. This is basically mandatory for exposing (unless you use a VPN).
@BobHenderson-dr2wy
@BobHenderson-dr2wy 9 ай бұрын
@@Jims-Garage Currently that is route I am going, VPN (ovpn or wiregaurd, still deciding), and setup my photo and storage just internally for the lan. It seems more secure than going the reverse proxy php, domain, dns, ssl cert route. Less points of failure for me.
@rupam.mandal
@rupam.mandal 6 ай бұрын
Is there any similar tool which can group photos by face also?
@Jims-Garage
@Jims-Garage 6 ай бұрын
Perhaps photopsrim but I'm not sure
@joemachynia4981
@joemachynia4981 Жыл бұрын
Hi Jim, thanks for all the great tutorials!! I'm having trouble creating the API key, I keep getting an error {"message": "Forbidden - a valid `x-typesense-api-key` header must be sent."} when I run the curl script in their documentation through the shell. Can you help with this part of it, please?
@Jims-Garage
@Jims-Garage Жыл бұрын
I'll try to look this evening, you can go ahead and use it without.
@joemachynia4981
@joemachynia4981 Жыл бұрын
@@Jims-Garage oh, every time I try without it, it says I need it. Thank you
@joemachynia4981
@joemachynia4981 Жыл бұрын
Here's the error I get in the server container.... RequestUnauthorized: Request failed with HTTP code 401 | Server said: Forbidden - a valid `x-typesense-api-key` header must be sent. at RequestUnauthorized.TypesenseError [as constructor] (/usr/src/app/node_modules/typesense/lib/Typesense/Errors/TypesenseError.js:23:28) at new RequestUnauthorized (/usr/src/app/node_modules/typesense/lib/Typesense/Errors/RequestUnauthorized.js:25:42) at ApiCall.customErrorForResponse (/usr/src/app/node_modules/typesense/lib/Typesense/ApiCall.js:364:21) at /usr/src/app/node_modules/typesense/lib/Typesense/ApiCall.js:220:98 at step (/usr/src/app/node_modules/typesense/lib/Typesense/ApiCall.js:33:23) at Object.next (/usr/src/app/node_modules/typesense/lib/Typesense/ApiCall.js:14:53) at step (/usr/src/app/node_modules/typesense/lib/Typesense/ApiCall.js:18:139) at Object.next (/usr/src/app/node_modules/typesense/lib/Typesense/ApiCall.js:14:53) at fulfilled (/usr/src/app/node_modules/typesense/lib/Typesense/ApiCall.js:5:58) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) { httpStatus: 401 } Node.js v20.8.0
@suyashdahale4355
@suyashdahale4355 Ай бұрын
does this setup survive reboot of server ?
@Jims-Garage
@Jims-Garage Ай бұрын
@@suyashdahale4355 yes, the mount ensures that data survives
@thetechnerd7467
@thetechnerd7467 9 ай бұрын
Can I access this online from another location if I self host it"?
@Jims-Garage
@Jims-Garage 9 ай бұрын
Absolutely, check out my videos on Traefik, or I recommend WireGuard or headscale to put it behind a VPN.
@volodyashulga2614
@volodyashulga2614 8 ай бұрын
Hello. Thanks for the video. I have Immich installed but I can't figure out how to import a whole folder into Immich. My folder contains many other folders and is about 5TB in size. I have to manually go into each folder, select all the files, and drag and drop them into Immich. Is there a way to import everything all at once? Also, is there a way to index it or create a trigger where new items get imported automatically? Thank you!
@Jims-Garage
@Jims-Garage 8 ай бұрын
You should be able to set the bind mount to your existing store. That's the left side of : in the mounts section
@volodyashulga2614
@volodyashulga2614 8 ай бұрын
Oh I see it now. Thanks@@Jims-Garage
@Ju-vg4qk
@Ju-vg4qk 8 ай бұрын
@@volodyashulga2614 Would it be possible to create a video to demo bulk importing?
@helloworld-dh6hq
@helloworld-dh6hq Жыл бұрын
Does Apple M1/M2 supported for HW trascoding?
@Jims-Garage
@Jims-Garage Жыл бұрын
Good question, I'm not sure.
@fulesmackofule
@fulesmackofule 9 ай бұрын
How do you add the existing photo folders to Immich?
@Jims-Garage
@Jims-Garage 9 ай бұрын
You can do this by using your volume bind mounts. Put the files in the folder that is mounted, or change the mounted volume to the one you are already using. Worth testing first with some dummy images.
@fulesmackofule
@fulesmackofule 8 ай бұрын
@@Jims-Garage Thanks for replying! My problem was that I didn't know I have to set for a root path of stored images that affects the setting of users. As you have to use that as a reference for each relative library paths. I wrongly added the docker side absolute paths only to each user without knowing that it needed a root defined first somewhere else.
@fulesmackofule
@fulesmackofule 8 ай бұрын
@@Jims-Garage Oh, yes, and of course for safety, I mounted these folders as read-only (:ro) in the volumes section.
@wintersong6107
@wintersong6107 Ай бұрын
I know nothing about computers and the terminology, and i have no idea what you're talking about... im stuck on the first step if the immich app that is asking for a server URL. I just want to safely store my photos but I didn't know I needed a computer science degree to use it
@element1192
@element1192 6 күн бұрын
Don't waste your time with this program if you don't have software engineering experience!!!
@LifeWithSeb99
@LifeWithSeb99 4 ай бұрын
Is geo location preserved in videos à as well?
@Jims-Garage
@Jims-Garage 4 ай бұрын
Good question. I believe it is but depends on the device that records it.
@LifeWithSeb99
@LifeWithSeb99 4 ай бұрын
@@Jims-Garage thanks for the answer. The only reason I asked is because I tried nextcloud photos on my server and by default it preserves photos location, but for videos it doesn't and not sure if it can be done. Hopefully Immich will be a good self hosted Google photos replacement
@Jims-Garage
@Jims-Garage 4 ай бұрын
@@LifeWithSeb99 it's certainly more fully featured than nextcloud
@whatsupbudbud
@whatsupbudbud Ай бұрын
Yes, it is.
@MobileDecay
@MobileDecay 10 күн бұрын
All this to view some photos. 😳
@Jims-Garage
@Jims-Garage 10 күн бұрын
All of this so only you view the photos 😉
@element1192
@element1192 6 күн бұрын
Don't waste your time with this program if you don't have software engineering experience!!!
@user-gb7fv2nj2n
@user-gb7fv2nj2n Жыл бұрын
Hi, I have a question regarding the hardware acceleration. Let's say I want to run Immich and Jellyfin with docker in an Intel NUC, is it possible to have Immich and Jellyfin both have hardware acceleration? Thanks.
@Jims-Garage
@Jims-Garage Жыл бұрын
It certainly is, just pass the device in the compose file exactly the same way.
@manjunathbm6203
@manjunathbm6203 5 ай бұрын
Can i get working source code ?
@otakuduo
@otakuduo Жыл бұрын
do you use this along side your nextcloud setup ?
@Jims-Garage
@Jims-Garage Жыл бұрын
Yes, I prefer this to Nextcloud for storing photos. You could technically combine the two ...
@alekseygorcha1347
@alekseygorcha1347 Жыл бұрын
Is there a way to limit it's RAM usage? Approx 1 minute after start, it consumes 100% of RAM and VM just dies.
@Jims-Garage
@Jims-Garage Жыл бұрын
Yes, you can by adding the following to the compose file: deploy: resources: limits: cpus: '0.001' memory: 50M
@jcools310
@jcools310 3 ай бұрын
Hey can anyone tell me online or on yt what my options are for the hardware to run this? I have no clue what my best low power or best low cost barebones home server would be. Also I don’t know if I would only be able to run my photos on the same router or how to access them outside the home with an IP that changes. I can’t wait to set this up, just need the hardware end taken care of. Thx!
@Jims-Garage
@Jims-Garage 3 ай бұрын
What hardware do you have? It doesn't need anything powerful, an iGPU would be useful. I'd run it on docker, even bare metal. Use dynamic DNS if you have an IP that changes like I do. Also recommend a reverse proxy, SSL and a Cloudflare proxy.
@jcools310
@jcools310 3 ай бұрын
@@Jims-Garage well I have an old iPad, I could use an old MacBook Pro 10.3 I think. Here’s maybe my best option: I’m about to host a joomla website for my biz and I’ll have a hosting company. Couldn’t I host Immich on that, and if so, are there any tips/things I should look out for in a runof the mill hosting server company? Do you guys rep a server hosting company? Thx
@jcools310
@jcools310 3 ай бұрын
@@Jims-Garage I also had one other question: I need to have simple share files/photos ala Google photos create a link or group share, does Immich do that? I have things, not a lot, but some files I share with clients and that would make my life easier if I could do that via my job La website or Immich.
@element1192
@element1192 6 күн бұрын
Don't waste your time with this program if you don't have software engineering experience!!!
@phizlip
@phizlip Жыл бұрын
how would i access my photos when not on the same home network as the server?
@Jims-Garage
@Jims-Garage Жыл бұрын
You can either expose it to the internet (which I don't recommend), or access it via a VPN (you can configure this to only route traffic to your home network - I have a few VPN videos so choose one that suits). Happy to help
@phizlip
@phizlip Жыл бұрын
@@Jims-Garage whats the issue of exposing it to the internet if the public ip wont be indexed by search engines or others? Also, would a VPN solution work on both ios and android? Can I have the vpn connection only specific to the immich app on mobile?
@phizlip
@phizlip Жыл бұрын
@@Jims-Garage Would you recommend I watch your wireguard video or watch the headscale video for a personal vpn?
@Jims-Garage
@Jims-Garage Жыл бұрын
@@phizlip if you can port forward I recommend WireGuard (using wg-easy)
@phizlip
@phizlip Жыл бұрын
@@Jims-Garage thanks so much! The rest of my components for my first server are coming on Wednesday, so I'll be sure to set up wireguard for it instead of reverse proxy with something likr nginx
@element1192
@element1192 6 күн бұрын
Don't waste your time with this program if you don't have software engineering experience!!!
pumpkins #shorts
00:39
Mr DegrEE
Рет қаралды 75 МЛН
РОДИТЕЛИ НА ШКОЛЬНОМ ПРАЗДНИКЕ
01:00
SIDELNIKOVVV
Рет қаралды 3,4 МЛН
iPhone or Chocolate??
00:16
Hungry FAM
Рет қаралды 53 МЛН
16 of the BEST NextCloud apps to replace Google and Apple services
17:10
The Linux Experiment
Рет қаралды 109 М.
Self Host Tailscale with Headscale - How To Setup
21:51
Jim's Garage
Рет қаралды 70 М.
Don't Use Google For Photo Backup!
14:57
Naomi Brockwell TV
Рет қаралды 85 М.
Self Hosted Cook Book
18:58
Hardwood Homelab
Рет қаралды 317
How to Self Host and Install Immich Photo Server on Unraid
21:48
Self-Hosting Security Guide for your HomeLab
18:43
Techno Tim
Рет қаралды 383 М.
build your own cloud
47:13
NetworkChuck
Рет қаралды 1,9 МЛН
pumpkins #shorts
00:39
Mr DegrEE
Рет қаралды 75 МЛН