r/immich • • 1d ago

Immich-server android app

I am a happy user of Immich. Installed it on an old mini-pc with Proxmox on it. Everything backed up to a proxmox backup server in a different building. Happy man.
Did it all with the use of AI, since I am just a motherfocking noob :) Easy easy.. I'll admit.

Now I am preaching the gospel. Telling everybody of how awesome this is. But the problem is, so many people have no idea about basic computing to get it installed on a Linux environment.

This morning I tried to convince a friend of me to try it. He has a used Galaxy Note 9 with shattered glass laying around. Soooooo I thought, maybe just flash LineageOS on it, Termux, Immich an try it?
It will take eternity to get all his pictures indexed, but hé, just let it rumble for a couple of days. After that is done, it will work like a charm, since there are also a lot of people happily using Raspberry Pi with Immich.

And then I thougt:
How awesome would it be if there would be just an immich-server android app to install to get it all done?!
This would make so much more people happy, since EVERYBODY has an old phone laying around with shattered glass.
When this would be available, I would pry out the battery and connect USB without the resisting battery.
It would save a hell of a lot of old phones from waste and get them usefull again.

  • Very little power usage
  • Free hardware
  • WiFi is build in (RJ45 is better, but wifi is enough)
  • Like the Galaxy Note 9 has 256GB storage in total
  • Like the Galaxy Note 9 has 8GB ram

I just wanted to pitch the idea, in the hope that the development team thinks that would be an awesome plan.

But maybe I am stupid as hell. Looking forward to the burn in 3.. 2..

7 Upvotes

16 comments sorted by

13

u/flareflo 1d ago

That does not give you any sort of redundancy. Do you trust your images to be safe with an old phones internal flash?
Machine learning is also going to be painfully slow or straight up OOM the moment it tries to load.

0

u/JGG1989 1d ago

Installing it on a brand new fancy PC wouldn't give redundancy either.
Backup = life

Machine learning will be slow. But who needs them all indexed 15 minutes after uploading? 99 says no.
I expect transcoding would be much more of an issue.

(I would save them on the external SD and keep the internal free)

3

u/flareflo 1d ago

A brand new PC should also be set up with Raid 1, not for real redundancy but for availability

-2

u/JGG1989 1d ago

I never used RAID1 and never will be. I am now working with an offsite backup. Would you strrrongly advice me to do differently?
I see you are a professional photographer. I expect that an old phone would not be the best fit for you indeed.
But for a lot of people that just have an average photo storage?
I would not use it for myself either. Because to much pictures now. I am just talking about small users with 100GB or so.

2

u/igribs 1d ago

If you have 100gb of photos and your phone, then why not just store your photos on your phone?

-1

u/JGG1989 1d ago edited 1d ago

Because library, because backup, because reachable via PC.
(I mainly use the pictures from behind my desk)

1

u/igribs 21h ago

Would it be easier to install server on the pc? Probably the only disadvantage would be power consumption, but if you just want someone to try then tailscale + docker on PC is more realistic.

1

u/flareflo 1d ago

machine learning will straight up fail if the phone has less than 8gb RAM.

5

u/DrFossil 1d ago

Having the ability to set up a server acts as a soft barrier that hopefully increases the likelihood that you also set up backups and proper security.

I also wish for a world where more people are self hosting their presence online instead of relying on cloud providers but we're just not there yet.

1

u/JGG1989 1d ago

I get you.
My laptop was stolen from my car when I was 18, had no backups. Since that moment I am the backup preacher.
But even with that in mind, you still have to have some basic knowledge to get all this done. Extracting from Google Photo's etc. And I am 100% sure that there are a LOT of people not doing their backups after installing the docker version.
I think it is just the main issue that it is a shit ton of work, to get it all working in an android environment for a developerteam.
But it just makes it all so, so much more accessible for the general people with so much hardware that otherwise goes to waste.

2

u/igribs 1d ago
  1. Porting machine learning services to ARM (zoo of different phone hardwares) would be hard. Without it no smart search.
  2. Binding to 443 or 80 port on rooted android is nontrivial, and onnon rooted android is impossible. A user will have to specify port every on connection.
  3. Android platform is really bad running server apps. It will sleep and your server will be unaccessible. It will soft-close server after so.e inactivity. Look at all issues with immich client background sync. It will be much worse with the server app.

Just try running it on an old rooted android phone, and you will see why it is not a good idea.

0

u/JGG1989 1d ago edited 1d ago

This sounds like the reason why I have to shut up.
You are sure that most of these issues cannot be fixed with developing the architecture of the server app a certain way? (assuming they demand root to work indeed, which I always have)
I wont accept it, because my heart is crying.
But now I can accept not trying..

(And continue with my own shattered Samsung Note 9 being a jellyfin media server for my kids movies (for in the car when we drive internationally))

1

u/igribs 21h ago

I did not say stop trying :). I don't know much about immich internals, but I have some experience running servers on rooted androids, so this is where all my concerns are coming from.

1

u/EntertainmentUsual87 1d ago

That's pretty fun. Remember, you can hook up hard drives to the usb port with an OTG adapter! So, if you powered it off of the battery terminal, or something like that, you could plug in real storage! Like a RAID USB device, or a USB dock too! Also, some of these have SD card slots and there are adapters that can use a full size SD card or other type of storage on those slots too!

0

u/SpaceNugget7 1d ago

Don't feel bad, I had AI help me set up Immich also. I'm using it as a huge learning experience and it's been super helpful. It could give me a command and I can ask, 'What am I looking at and can you explain.. Such and such..' I'm not a wizard so a dumbed down explanation is exactly what I need. It's been a fun project to work with Powershell, Ubuntu, Linux, and Docker.

1

u/JGG1989 1d ago

I do not feel bad for that. I am proud that I can fix shit, while I am not a technician.
But I am fully aware that it is something huge to build the same environment as an Android app. And I want to admit beforehand that I am just not that tech savvy and I respect the smart guys.