Welcome to Incremental Social! Learn more about this project here!
Check out lemmyverse to find more communities to join from here!

Selfhosted

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

mhsbqfz5ds , Japanese
mijbkt9w3m , Japanese
xm7c29cuve , Japanese
gravdfyeau , Japanese
1fhpwrd4h1 , Japanese
x1et2tlo6s , Japanese
cjkhwmwiyu , Japanese
sikaaq4cs3 , Japanese
noahimesaka1873 ,
@noahimesaka1873@lemmy.funami.tech avatar

Again? Damn. Those fucking Japanese spammers are here!

qtvecgolhv , Japanese
g7xof9vqw1 ,
Jayjo ,

@selfhosted Have a commerical @wireguard vpn on my server. The problem i have is that if i use a docker, it does use the vpn interface with iptables, but if that goes down, the docker still goes through without the vpn interface. I have looked at iptables, but docker makes it own, and bit of a minefield. Any ideas? Thanks

MaggiWuerze ,

Something like Proton or Mullvad?

Jayjo OP ,
alvaro ,

[question] Alt-text service, self hosted

Is there a service that I could plug into my misskey/firefish/whatev that provides an alt-text for an image I'm posting. I don't post images that often, so the few times, it would be nice to have an automatic OCR or LLM/Stable Diffusion description of a picture attached to it.

Of course, without depending on Google or similars.

Any ideas? cc @selfhost @selfhosted

alvaro OP ,

@Deebster maybe just OCR would be enough for a lot of cases

Deebster ,
@Deebster@programming.dev avatar

Yeah, that's what I mean by transcriptions; if you're mostly posting screenshots of social media posts then it'd probably work quite well, but if it's photos you're definitely going to need something more complicated.

sj_zero ,

Anyone who knows me knows that I've been using next cloud forever, and I fully endorse anyone doing any level of self hosting should have their own. It's just a self-hosted Swiss army knife, and I personally find it even easier to use than something like SharePoint.

I had a recurring issue where my logs would show "MYSQL server has gone away". It generally wasn't doing anything, but occasionally would cause large large file uploads to fail or other random failures that would stop quickly after.

The only thing I did is I went in and doubled wait_timeout in my /etc/mysql/mariadb.conf.d/50-server.cnf

After that, my larger file uploads went through properly.

It might not be the best solution but it did work so I figured I'd share.

tofubl ,

Here's a cool article I found on Nextcloud performance improvements, and connecting Redis over Unix sockets gave me a more substantial performance improvement than migrating to Postgres. Very happy I fell down this rabbit hole today.

To note if you're following the tutorial in the link above, and for people using the nextcloud:stable container together with the recommended cron container:

  • the redis configuration (host, port, password, ...) need to be set in config/config.php, as well as config/redis.config.php
  • the cron container needs to receive the same /etc/localtime and /etc/timezone volumes the app container did, as well as the volumes_from: tmp
haplo ,

Thank you for the link and the Redis pointers. I should double check that my Nextcloud setup is using Redis, it might well be misconfigured.

alvaro ,

I would like to have a mechanism to set up a server automagically…

Similarly I would like to set up my user account settings (Tmux plugins, .zshrc and vim settings, etc) that I can replicate in multiple machines via a script (I have a custom script for this but I want a more solid alternative)

Thoughts on what infra-as-code solution would work best? Any similar experiences or use cases with one Thanks!
Cc @selfhost @selfhosted

MajorHavoc ,

I assume you mean to check on his often they're is the breaking changes? :)

Declarative style isn't perfect, but it's a massive improvement from straight bash scripting.

marx2k ,

💯

We're an ansible shop and yeah it's better than bash scripting (where it makes sense) but ansible.. man it does have some peculiarities :/

Wander ,
@Wander@packmates.org avatar

The future of selfhosted services is going to be... Android?

Wait, what?

Think about it. At some point everyone has had an old phone lying around. They are designed to be constantly connected, constantly on... and even have a battery and potentially still a SIM card to survive power outages.

We just need to make it easy to create APK packaged servers that can avoid battery-optimization kills and automatically configure an outbound tunnel like ngrok, zerotrust, etc...

The goal: hosting services like , , !? should be as easy as installing an APK and leaving an old phone connected to a spare charger / outlet.

It would be tempting to have an optimized ROM, but if self-hosting is meant to become more commonplace, installing an APK should be all that's needed. can do SSH, VPN and other tunnels without the need for root, so there should be no problem in using tunnels to publicly expose a phone/server in a secure manner.

In regards to the suitability of home-grade broadband, I believe that it should not be a huge problem at least in Europe where home connections are most often unmetered: "At the end of June 2021, 70.2% of EU homes were passed by either FTTP or cable DOCSIS
3.1 networks, i.e. those technologies currently capable of supporting gigabit speeds."

Source: https://digital-strategy.ec.europa.eu/en/library/broadband-coverage-europe-2021

PS. syncthing actually already has an APK and is easy to use. Although I had to sort out some battery optimization stuff, it's a good example of what should become much more commonplace.

cc: @selfhosted

benjohn ,
@benjohn@todon.nl avatar

@Wander @selfhosted this whole “We are walking about with entirely reasonable servers in our pockets for reasonable scales - why doesn’t it feel like that?” thing is in my brain quite a bit.

Wander OP ,
@Wander@packmates.org avatar

@benjohn @selfhosted 6-8 GB of RAM with powerful CPU and GPU that was designed to run games and can in some cases run small AI models is nothing to scoff at imho.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • selfhosted@lemmy.world
  • incremental_games
  • meta
  • All magazines