So I asked if I was an idiot for coming up with the bright idea to start my own lemmy instance. Well I can proudly state that yes, I am an idiot, but I’m an idiot with his own lemmy instance: MopLemmy.fyi. Barebones and barely federated, but by God it’s mine.

A brief summary of the issues I ran into: Lemmy Easy Deploy was absolutely the right way to go, thanks ᛒᛚᚢᛖᛇᚦᛖᚱ@no.lastname.nz for that suggestion. I’ve very new to several aspects of this so just understanding containers and when to use LED commands and not standard container commands ended up being the biggest hurdle to deploying the instance.

Email. Everything about getting the SMTP setup was basically terrible. Brevo won’t let you make an account using an email address with a “.” in it, so I ended up needing to make an email account so I could make an email account. Then I was troubleshooting a typo error for too long, and then I was troubleshooting a bad bit of info I got from the internet which had me using my account email address instead of the Brevo created one for the SMTP, so those were human error and by far the single most time consuming issue.

Second to that, a script to check if my external IP address changed. This ended up being the single most annoying thing, partly because of my newbity. I was using Remote Desktop Connection into my Linux box and copy and pasting stuff. Copy and paste was screwing up the data and kept breaking things. Once I realized that and switched to SSH things went smoother. I know, rookie mistake.

Setting up backups to my RAID that I could then access from my Samba share ended up being another issue. First it was saving to the wrong folder, then I thought I had broken my Samba share and couldn’t access it from the network… and the problem ended up being UFW because I forgot to allow Samba through the frickin’ firewall. Oh and then the same thing happened when I was trying to look at my Netdata but at least that time I figured it out much quicker.

Those were the major annoyances, the rest was more about the learning experiences of finding out certain things were a lot more complicated than I thought they would be. I did not expect to have to put so many different DNS records. I didn’t expect to have to spend so much time deciding on white list vs black list federation, or host images local or not, or image retention, etc. But it’s up and stable and working and I am very slowly federating to more communities and deciding what all I want to be able to see. Thanks to everyone on the original post with advice and suggestions, even the people who suggested things I ended up not doing, heh.

  • Epzillon@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    ·
    14 days ago

    I read your initial post and I am so happy for seeing this update! Good luck with your instance!

  • oneser@lemmy.zip
    link
    fedilink
    English
    arrow-up
    2
    ·
    14 days ago

    This is cool and if you feel like posting more updates in the future, I personally would appreciate it.

    It mirrors my own entry into self hosting these last years. Funnest one for me was spending 5 hours trying to log into my server after my IP “upgraded” for me, after they replaced it with a system with which the settings can only be modified via an app… 😊

    But you live and learn and wait for the next headache!

  • Well done on getting it up and running, federation seems to be working https://moplemmy.fyi/instances & https://phiresky.github.io/lemmy-federation-state/site?domain=moplemmy.fyi

    You shouldn’t have to put instances in the Allowed Instances, just use blocked list for stuff you dont want to see

    Yes email is a pain in the arse. More so if you are having to deal with dynamic IPs

    Now just wait for the scrapers to turn up. Both Dave (lemmy.nz) and I are getting well in excess of 500k requests from content scrapers per day atm and they are tyring to pull in whole comment trees and walk through all posters.

    Have a look at Iocaine to help tarpit some of them if you dont want to route through something like cloudflare.

    • The Mop Lord@moplemmy.fyiOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      14 days ago

      Ohh interesting, I have CrowdSec going but I like the sound of Iocaine as well, anything to screw with scrapers since that’s still on the to do list (robots.txt, etc).

  • Alfredolin@sopuli.xyz
    link
    fedilink
    English
    arrow-up
    1
    ·
    10 days ago

    Hahaha, I just setup my own lemmy instance last week and then my hardware crashed. RiP.

    I’ll spool it back up when I have more ram and a reliable hard drive.

  • irmadlad@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    13 days ago

    Hey, hey, hey! Way to pull the trigger. Sounds like you’re having a great time learning the ins and outs. I’ve never stood up a Lemmy instance, probably never will. But it’s good to see you jumped right in with your ambitions. Best of luck.