Shimitar

@Shimitar@feddit.it

Me

This profile is from a federated server and may be incomplete. Browse more on the original instance.

Shimitar,

Immich is awesome but has flaws. My workflow has improved with syncthing instead.

Main flaw of immich is being container’s deployable only which hurts for various reasons, and devs priority are different from mine (that’s unacceptable/irony).

Jokes aside, immich is the best app out there to replace google photos.

But immich require containers and some basic features like sub-path support and in general folder/albums recognition is not there and not really planned clearly for the future.

Should I learn Docker or Podman?

Hi, I’ve been thinking for a few days whether I should learn Docker or Podman. I know that Podman is more FOSS and I like it more in theory, but maybe it’s better to start with docker, for which there is a lot more tutorials. On the other hand, maybe it’s better to straight up learn podman when I don’t know any of the...

Shimitar,

Here goes my experience.

When I started the self hosted trip, I was against containers and tried to avoid them at all costs. Then I learned about containers, and now I still am against containers but less vividly so. I have used them and still use them.

Containers are good for the self hoster because they deliver fast deploy and easy testing of lots of services quickly. They are good for developers because they can provide one common installation approach that reduces greatly user issues and support requests.

But containers also have downsides as well. First of all they make the user dumber. Instead of learning something new, you blindly “compose pull & up” your way. Easy, but it’s dumbifier and that’s not a good thing. Second, there is a dangerous trend where projects only release containers, and that’s bad for freedom of choice (bare metal install, as complex as it might be, need to always be possible) and while I am aware that you can download an image and extract the files inside, that’s more an hack than a solution. Third, with containers you are forced to use whatever deployment the devs have chosen for you. Maybe I don’t want 10 postgres instances one for each service, or maybe I already have my nginx reverse proxy or so. I have seen projects release different composer files for different scenarios, but at that point I would prefer to deploy on bare metal.

Said so, containers are not avoidable today, so study and embrace them, you will not be disappointed as its a cool piece of tech. But please stay clear of docker and go podman instead. Podman doesn’t rely on a potentially insecure socket and does not require an always running daemon. Podman also by default doesn’t force you to run services as root which you should never do. Also, networking feels clearer on podman and podman feels more .modern by using nft instead of iptables. Yes most of this can be fixed on docker, but since podman is a drop in replacement, why bother? Also, podman is truly open source while docker, shockingly, its not.

Here is my wiki page on the subject: wiki.gardiol.org/doku.php?id=gentoo:containers feel free to read it.

One last thought: updating containers should not be taken lightly. Its so easy and fast that you might be tempted to setup cron jobs or install watchtower, but you will end sooner or later with a broken service and lost data. So backup, always backup, and keep updating with rationale.

Tldr: containers are unavoidable today and are a cool piece of tech worth investigating. Don’t blindly use them as there are security issues involved, and I hope the trend of making containers the only way doesn’t take hold, because containers also make self hosters dumber and that’s not good.

Shimitar,

There is a lot of truth in your words.

Unfortunately, things will not change.

At least let’s use podman and I will keep fighting for containers being at least optional.

Shimitar,

Two or more ssds, the biggest you can afford, on a j-bod USB3 or USB-C enclosure. Raid them together on Linux software raid. As hardware, I use a power horse laptop, its more practical, but I had it spare. Buy a nice compromise between CPU power and power comsumpion, that depends on your feelings.

And use Gentoo :)

I have documented most of my steps here wiki.gardiol.org

Are you reusing one postgres instance for all services?

I have many services running on my server and about half of them use postgres. As long as I installed them manually I would always create a new database and reuse the same postgres instance for each service, which seems to me quite logical. The least amount of overhead, fast boot, etc....

Shimitar,

This is one of the annoying issues with docker, or better, on how docker is abused in production.

The single instance/multiple databases is the correct way to go, docker approach mess up with that.

Rewriting docker files is always a possibility but honestly defies the reason why docker is used by self hosters.

Also beware that some devs will shunt you out of support if you do, specially the apps that ships docker files by default.

Go bare metal if possible, that way you have full control. Do docker for testing up stuff quickly and be flexible at cost of accepting how stuff is packaged by upstream

Shimitar,

My database instances downtime is only when the server itself is rebooting. Never had a single downtime in 20+ years beside that.

Shimitar,

Basta, si usa firefox e basta!

… Serve davvero un’alternativa però

Shimitar,

Atmosferic pressure doesn’t change as much as air density with temperature, because its not a closed system.

Actually easier to ride faster in summertime due to less dense air in which the cycler will have to move trough…

Finally got a UPS

Keeping tradition with doing things backwards, I’ve finally got a UPS for the rack (mounted in the bottom of the stack). Got a PowerWalker VI 2200R. Its a 2U unit which is all the space I’ve got left in the rack. Decent price and decent I/O with USB, serial and a slot-in for network expansion + 4 IEC outputs. Its powering...

Shimitar,

Now that you have an UPS, put reminders on changing the batteries. My experience with both high end professional units and low cost home units is that batteries last two years more or less and can be expensive to replace.

Having an ups is great, having it fail unexpectedly because the battery packs go from 100% to 1% instantaneously as soon as a load is applied, not so much

I might have been unlucky, but I had mine fail always at the worst possible moment and without the slightest warning.

My current solution is a laptop (but look out for bulging batteries!) And ups backed USB (not cheapo ones!) Jbod or raid enclosures. In this cas e a 50€ battery pack is enough for a brief power outage.

Shimitar,

Radicale is a single executable, do you really need docker to set it up?

Basically takes the same time to set it up and run on bare metal…

Sometimes feels like docker is getting out of hand.

Shimitar,

I have not setup authelia or similar, i am using proxy auth linked to PAM to simulate SSO. I might end up using authelia or similar in the future to solve this specific issue indeed.

Shimitar,

The scripts approach might be a good solution as well, but i tend to bake my solutions a bit too much already…

Shimitar,

I see this is something different from external libraries (to which applies my other comment). It doesn’t seems to be working for existing external libraries but only for new uploaded files? I will need to check this out more in deep. thanks.

Shimitar,

I don’t have a sinology, and i dont want to use proprietary stuff… so i never looked into it

Shimitar,

It’s actually what i was looking for… I need to understand if it’s solid enough for long term usage and how to mix that with my existing photo collection, but it really seems that this feature will cut out the need to manually download & move the photos from Immich to PiGallery2…

Shimitar,

Thank you! This look very promising! I will definitely try it

Shimitar,

Digital Film! Thanks for spotting that up.

Shimitar,

Thanks! There are a couple I didn’t know about and now I need to test them!

Shimitar,

Mmm not sure, not a fan of open source.projects dependent on for-pay service. Not for the money itself, but what when/if the business model fails and the tools end up abandoned?

The 'net is filled with forgotten open source project.

Shimitar,

This is a pretty good approach! I love it

Shimitar,

Using dokuwiki, just cut the cheese for me.

Its “old” because it uses php, but its quite solid and doesn’t need a database, so all plus to me.

There are cool and modern looking themes too.

Shimitar,

How is your librephoto experience so far?

Shimitar,

Definitely podman + podman compose.

Its fully open source (docker isn’t) and its secure by design (security has been added to docker as an after fought).

Also podman is rootless by design, docker takes a bit of effort to run root less.

Shimitar,

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 damselfly.info which looks more like the workflow I am looking to implement.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • khanakhh
  • kavyap
  • thenastyranch
  • everett
  • tacticalgear
  • rosin
  • Durango
  • DreamBathrooms
  • mdbf
  • magazineikmin
  • InstantRegret
  • Youngstown
  • slotface
  • megavids
  • ethstaker
  • ngwrru68w68
  • cisconetworking
  • modclub
  • tester
  • osvaldo12
  • cubers
  • GTA5RPClips
  • normalnudes
  • Leos
  • provamag3
  • anitta
  • lostlight
  • All magazines