this post was submitted on 07 Mar 2024
35 points (87.2% liked)

Selfhosted

39435 readers
3 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS
 

Ideally, there'd be a simple RPM installer compatible with Alma 9 that I can point to a samba share that holds all the photos, kind of like what I do with Jellyfin. Also nice if it uses an otherwise unused port or I can easily set what port it uses.

My googling is finding a bunch of docker stuff, which always seems needlessly complicated to me vs an RPM... I'm also using a low powered x86 tiny computer to front JellyFin and would like to host this on the same computer vs needing another server.

Any ideas?

all 46 comments
sorted by: hot top controversial new old
[–] [email protected] 38 points 8 months ago (2 children)

I recently started using https://github.com/immich-app/immich

It's basically a self hosted Google Photos and it's working really well. You can just mount your heap of photos into the container, declare it as external library and you're good to go.

After a few hours/days of training the face recognition, extracting meta data, generating thumbnails ans possibly transcoding videos you'll have a very responsive and easily searchable timeline of ALL your pictures and videos.

[–] [email protected] 13 points 8 months ago* (last edited 8 months ago)

I love how they literally ripped off Google Photos' interface, including using the same Material icons. I could navigate it via muscle memory. 😅

[–] [email protected] 2 points 8 months ago

Something like Immich or PhotoPrism is probably the way to go.

[–] [email protected] 34 points 8 months ago

Get out of the anti container mindset. Getting started with docker takes half an hour. You need to learn 3-4 commands to use other people's services. Everything is easier than RPMs afterwards.

[–] [email protected] 18 points 8 months ago (2 children)

Wait, you don't use containers?

[–] [email protected] 9 points 8 months ago

No. We exist.

[–] [email protected] 11 points 8 months ago (1 children)

Idea: ditch rpm and start using containers.

[–] [email protected] 4 points 8 months ago (6 children)

I don't want a research project. I just was hoping there was an easy to use program to make the viewing better than samba shares. Maybe I just need a set of programs that will display thumbnails over samba.

[–] [email protected] 17 points 8 months ago

Yet here you are on a research project.

[–] [email protected] 12 points 8 months ago

Except most people will use containers because they are easy to distribute and set up. Guess you could try hosting Immich?

[–] [email protected] 8 points 8 months ago (2 children)

You should learn docker if you care about self hosting stuff though. You might lose 1 day learning the basics of docker, but the practicity of being able to spin up services just to test them it's well worth it.

Personally I use Immich for photo management, but not sure it it's packaged as an RPM, and even if it is you'll need to setup the database yourself. Nextcloud also possibly works but again setting Nextcloud without containers is a PitA.

Someone asking for a service to self host that refuses to use docker is similar to a person who wants to run a server but refuses to learn CLI, yes it can be done, but you're making your life hard for no purpose and everyone else will just give you the simple solution.

[–] [email protected] 1 points 8 months ago

Given the very specific dependencies that Immich has wrt. the Postgres plugins it needs, I'm certain that it's not currently packaged as an RPM and I would even bet that it never will be (at least not as one of the officially supported packages put out by the developers).

[–] [email protected] 1 points 8 months ago

Fair enough, last time I tried docker, which was a long time ago, I had all sorts of issues with permissions and persistence. I guess it's probably better now.

[–] [email protected] 5 points 8 months ago

Selfhosting may not be your thing if you don't like learning and researching new products.

[–] [email protected] 4 points 8 months ago

There is. There are multiple. And to install all of them it's easiest to use docker. You won't find any program installable via rpm.

[–] [email protected] 4 points 8 months ago* (last edited 8 months ago)

The answer to your question you didn't ask is: Immich if you want a full fledged photo library.

You download a compose.yml file and run docker compose up -d in the same directory. At first you have to install docker and manipulate the compose file but as you see, you don't need a degree for docker.

https://github.com/meichthys/foss_photo_libraries

[–] [email protected] 8 points 8 months ago

Install docker: https://docs.docker.com/engine/install/centos/

Then running a container is just same as installing an RPM, except you don't have to download it first. You just docker run the container.

You can probably get regular old packages for a lot of stuff, but a lot of stuff is packaged as containers because it makes everything easier for both the maintainer and the user.

[–] [email protected] 4 points 8 months ago (1 children)

Docker (better use Podman!) Is, I am afraid, hard to avoid nowadays. I fully agree with you that bare-metal deployment should always be an option.

Its one of my biggest issues with immich/photoprism/librephotos but there is no way around that.

Immich is the only container I have on my system... A necessary evil (joking).

I know containers now, but still don't like them too much. I am old I am afraid.

But you shouldn't be FORCED to use containers, that's my point.

[–] [email protected] 7 points 8 months ago (1 children)

No one is forcing you to use containers for Immich. It's simply the most robust way to support it for the team.

You can just take a look at the dockerfiles and follow those steps on bare metal.

[–] [email protected] -1 points 8 months ago (2 children)

No, I am forced to use containers because... There are no instructions for bare-metal installation and they also do not provide any instruction on how to build from sources (and I tried...)

Also, there are no binary releases only docker-compose.

All in all, immich cannot be deployed but with containers.

No choice: not good.

[–] [email protected] 3 points 8 months ago (1 children)

Like I said, if you follow the dockerfiles you will end up with a similar result on bare metal.

It's your own decision if you want to deviate from what the developers want to support.

A project doesn't need to produce binary releases.

[–] [email protected] 1 points 8 months ago

It is true that a project doesn't need to release binaries. But either those or the instructions on how to build from sources I think are somewhat expected.

Said so, I am hosting immich on docker because, specially on such fast evolving and kind of "beta" software its by far the fastest way.

[–] [email protected] 1 points 8 months ago (1 children)

A Dockerfile itself is the instruction set. There is a certain minimum requirement expected from a server admin that differs from end-user requirements.

The ease of docker obfuscates that quite a bit but if you want to go full bare metal (or full AWS or GCS, etc etc) then you need to manage the full admin part as well - including custom deployments.

[–] [email protected] 2 points 8 months ago

Indeed I am a quite proficient sysadmin for my home server, while not a professional one.

I didn't consider a docker file as instructions for bare metal install, thanks for the suggestion. I am currently using podman with immich because its release cycles are too fast for me to catch up otherwise.

I am thinking to experiment with something different from immich because, while its a great tool, it's "just" (no pun intended) a backup solution for mobile devices and I need something more than that.

I was considering https://damselfly.info/ which looks more like the workflow I am looking to implement.

[–] [email protected] 3 points 8 months ago* (last edited 8 months ago)

The simplest option is just connect via SMB, WebDAV, NFS, etc and browse using your normal file browser.

There are a ton of various web based photo galleries: https://github.com/awesome-selfhosted/awesome-selfhosted?tab=readme-ov-file#photo-and-video-galleries

Some can be hosted on your basic Nginx+PHP+MariaDB stack which is more complex to set up, but most are going to be meant for deployment on Docker because that makes everything very easy.

[–] [email protected] 3 points 8 months ago

What about nextcloud? With the memories app you have something like google photos with locally running face recognition and a timeline, etc etc. I really like it

[–] Supermariofan67 2 points 8 months ago (1 children)

Maybe try Stash, it has gallery support too https://github.com/stashapp/stash

Also, what about jellyfin itself? It also supports photos

[–] [email protected] 1 points 8 months ago

Testing the Jellyfin photos thing out now. I don't know if it's working right, but when I first looked at it the issue was I thought it seemed very video focused. I guess otherwise I'm learning docker after all.

[–] [email protected] 2 points 8 months ago

i think you will like pigallery2

while you could install node via rpm, you really want to run this in a docker container

[–] [email protected] 1 points 8 months ago

There's also some web-based solutions but not sure setting up a webserver is any less complicated than using docker:
https://lycheeorg.github.io/
https://piwigo.org/

[–] [email protected] 0 points 8 months ago