Out of curiosity I’m currently considering to self-host a Lemmy and a Mastodon instance. Just for me (and maybe 2-3 close friends) privately. The proposition of having full control over my social media sounds appealing to me.

However, I’m not a software developer and I have next to no experience in self-hosting anything. Also, I don’t plan to make self-hosting a hobby of mine.

Given these circumstances - how much time investment do you think is needed to keep everything running smoothly. I wouldn’t mind spending 1-2 hours a week, but if it’s more like 1-2 hours a day, I would stay clear.

Also, are there resources for troubleshooting available? I found the installations guides and some seem to be quite good for a layperson, giving step-by-step advice, however where to go if it doesn’t work?

I’m trying to make up my mind if it would be worthwhile to try or if I set myself up with wasting a lot of time :) So, any advise is welcome.

  • mister_monster@monero.town
    link
    fedilink
    arrow-up
    3
    ·
    1 year ago

    Kbin has the link aggregator/forum functionality as well asicroblogging built in. So it would give you what Lemmy gives you and what Mastodon gives you all in one.

  • Marius@lemmy.mariusdavid.fr
    link
    fedilink
    arrow-up
    3
    ·
    edit-2
    1 year ago

    Usually, maintaining a server doesn’t take much time once set-up. I personally use NixOS to manage my server, but it’s very complicated, and I would not recommend it to a non-developer. However, there is tools/OS called YUNoHost, that is able automatically set up a bunch of services including lemmy and mastodon.

    They also provide a free third level domain name (or can use your own, but do it before installing Mastodon or Lemmy, as it’ll break federatio.), but you’ll need to provide a server. You can rent one (I use an OVH VPS), but you may also just use a spare computer at home, or buy a cheap one (Everything that isn’t a slow HDD should work well). I’m unsure about what capacity you need to plan for storage thought.

    You should also probably make sure your ISP provide a static IP (that may disabled by default) and that they allow to configure port forwarding (can be found in the router settings usually).

    Also, don’t forget to set up an automatic backup system. YUNoHost probably recommend something in that matter.

    • Estinos@lemm.ee
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      1 year ago

      This. Also, regarding the time it will require, it’s usually (for anything self-hosted, I haven’t tried those two) a downward curve : it takes a lot of time to understand how things work initially, and after that it takes less and less time, to the point where the only things you have to do is to manage updates once in a while. With an occasional big day because something broke. Of course, I’m saying this because you said it’s just for you and your friends, if you start doing moderation, the time required quickly explode up. :)

      A note regarding self hosting at home : even if you figure you do have a static IP and can route traffic to your host, it’s a bit of a roulette, because ISPs consider that high incoming traffic on listening ports is a suspicious activity which probably means you’re a terrorist or something, normal people don’t do that, how dare you. I’ve had a ISP block traffic between friends and me with no warning and a laughably ignorant support before giving up and subscribing to a professional ISP (one meant for businesses). Your mileage may vary, but the annoying thing is that you won’t know it before you’ve got used to your services.

    • schmurian@lsmu.schmurian.xyz
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      I started with YUNOhost to gain some experience with selfhosting. Along with that I would recommend to read through some security best practices to cover some basic pitfalls.

  • eursec@lemmy.anymore.nl
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    1 year ago

    Honestly, if you don’t feel like self-hosting could be a hobby, just don’t do it.

    If done correctly, it can take up quite some time, but that can definitely be worth it (privacy, freedom, hobby/fun, etc). But if not done correctly, that can cause problems in security, performance, compatibility and perhaps even financials.

    Just find an instance you like (read the rules about privacy, allowed languages, allowed content, etc) and create an account there.

  • Dandroid@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    I’m a software engineer, I have taken classes on docker, I host my own web pages, etc. and I STILL can’t get it my own instance of Lemmy running. The instructions are unclear. They have bugs in their docker-compose.yml file. It’s really bad. I have been working on it after work each day for the past 4 days. So far I got the UI working, but i can’t log in or create an account. And I had to disable logging to get it running because I was getting an error with how the logger was defined in the yml file.

    And because I was frustrated, even though I really, really didn’t want to, I tried using their ansible setup. It still didn’t work, and it completely fucked my server. It took me a few hours to undo all the shit it did.

    It’s not in a good state right now. Hopefully they fix it soon.

    • 𝘋𝘪𝘳𝘬@lemmy.ml
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      I STILL can’t get it my own instance of Lemmy running. The instructions are unclear. They have bugs in their docker-compose.yml file. It’s really bad.

      It’s a whole mess, yes. Also they want to create random containers and random volumes all over the place with random IDs for names and by default suggest messing with upstream files and configuration before creating the containers.

      I hope the devs will one day provide a proper container with environment variables for configuration.

  • MetroWind@lemmy.mws.rocks
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    I’ve had some bad experience setting up Mastodon. Tried everything, docker, baremetal, OS package, local build… In the end I decided to use Pleroma. Infinitely simpler.

    Lemmy is also pretty easy to setup if you don’t use Docker.

    As to maintenance, my experience has been…I don’t have to. For small instances, things could generally run themselves indefinitely. I have a dozen servers running on my VPS, ranging from telegram bots to websites to things like Lemmy. Some of them receivs a fair amount of traffic. I pretty much never need to login to my VPS.

  • ilco@feddit.nl
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    My advice is. Try to keep wat you selfhost doable to run /set up. Selfhosting can be a rewarding hobby. But also a lot of work depending what you want to host. Just take your time. And plan things out.

  • Moonrise2473@feddit.it
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    I also like the idea of selfhosting lemmy, but i have the impression the user experience will be degraded, as it will get federated events much slower than a server with thousands of users. Also, no “global” tab because you’re the only user, so you won’t discover new stuff