Skip Navigation
rs5th rs5th @lemmy.scottlabs.io

DevOps dude, self-hoster, space nerd.

Posts 1
Comments 70
Lemmy self-hosters. What is your image cleanup process?
  • I’m running the following SQL, although I’m not actually sure it’s as necessary since 0.18.3. It doesn’t delete any post history or anything.

    DELETE FROM activity WHERE published < NOW() - INTERVAL '1 day';
    
  • Web Based Static Site Generator?
  • Hugo calls these sorts of things “frontends” and has a list here: https://gohugo.io/tools/frontends/

    I haven’t had great luck with any of them personally.

  • First-time self-hoster here. OS and DNS Questions
  • I wouldn't want to host anything on Windows unless you have to, or you want to learn more about Active Directory / Exchange / etc to help with a day job (assuming your day job is sysadmin / IT). Even then I'd do that inside Windows VMs on a Linux / ESXi host.

    I personally wouldn't (and don't) host authoritative servers externally to the internet. I do split-horizon DNS, so that my internal BIND server handles my LAN, but I have outside DNS handled by someone that has an ACME (Let's Encrypt) module, so that I can do wildcart certs.

    One thing to look into as you spin up services at home would be some sort of VPN like Tailscale, WireGuard, or even something like Cloudflare Tunnel so that you're not exposing services directly to the internet if you don't absolutely have to. I believe some of these projects/products let you specify DNS servers so that when your phone (for example) is connected to the VPN, it uses your home DNS servers instead of public ones.

    Your very own self-hosting legend is about to unfold! A world of dreams and adventures with self-hosting awaits!

  • Real domain with dynamic IP
  • Yep, they sold it to Squarespace a couple weeks ago.

  • Do any of you bother writing abuse emails?
  • Yep! Just for whatever the abuse contact was in whois. Could have been coincidence, or maybe just whoever was on shift in Azure town at the time. I don’t remember if I got a response or not from MS.

  • Do any of you bother writing abuse emails?
  • I’ve actually done this for a Microsoft owned IP before. Someone was Wordpress-scanning a particularly fragile application of one of my clients (which was not Wordpress) which was causing it to fall over. The scan stopped within an hour of sending the abuse email.

    Edit to add: I used to work in a NOC for a tier 1 ISP. We had an “abuse department” (a couple people) that investigated these and opened tickets with the NOC. I’ve emailed customers and disconnected circuits as a result of abuse emails, so I wouldn’t say they’re totally useless, but I’m sure it depends on the company involved.

  • if I selfhost, does that take any load of Lemmy?
  • Link thumbnails do get mirrored. My understanding is the front end of Lemmy is pretty heavy for the big instances and the burden of federating to another instance is pretty small. One thing I’ve noticed on my instance is that sometimes inbound federation can be pretty annoyingly slow.

  • Plex lays off 20% of its workforce
  • Emby is not open source any more.

  • Jeff Geerling giving away his book on Ansible
  • It’s free as in “paying zero money”. It’s still distributed via leanpub. Requires an email address to get to the download page, it doesn’t verify it in any way other than being a valid email format. Links are to DRM-free epub and PDF.

  • Is there a cleaner for old Lemmy content?
  • This setting in the pict-rs source. It was removed 4 days ago though, so maybe it’s no longer used? Unsure.

  • Is there a cleaner for old Lemmy content?
  • I’m pretty sure pict-rs only caches images for a week. The cache being thumbnails, etc for links that are posted on any instance federated with yours.

  • New watch day!
  • Classy!

  • Was Starship's Stage Zero a Bad Pad? - Practical Engineering

    0
    Setting up SSO
  • I’m using Authentik at home and at work. It’s a fairly complex, and extensive, tool. Aside from some of the user login flows being tricky to get my head around (logging into Authentik, not integrating with the other apps), it’s been a great solution. I have done proxy auth, OIDC, and SAML. I haven’t needed to dive into LDAP yet.

  • Good servers for self-hosting
  • I believe the M900 has both a SATA port and a M.2 slot, so some options for internal storage.

    You could also plug in a big spinning drive via USB 3. USB 3 can move data faster than a magnetic drive can pull it off the platters.

  • Welcome to /c/lemon, the home of Lemon for Lemmy 🍋
  • I’d be happy to help beta test once you e got it on Test Flight!

  • Lemmy selfhost error | getaddrinfo EAI_AGAIN lemmy
  • Oh nice, that’s better than my solution. Less risky than downgrading.

  • Lemmy selfhost error | getaddrinfo EAI_AGAIN lemmy
  • This is a change with 0.17.4. You cannot have both federation enabled and the private instance box checked. You might try downgrading to the 0.17.3 image (so that you can get into the UI) and unchecking either the private or federation boxes (whichever way you wanna go). I’d also suggest pinning the docker image versions, as I bet you’ve got latest set (or nothing set, which I believe also grabs latest), and the vm reboot prompted docker to go grab the latest image on startup. Surprise upgrades probably aren’t what you want.

  • Cannot reach one specific IPv6 from one specific network
  • You should be able to look up the last hop that responds (via ARIN or whoever the internet number agency is in your region) and see who that ISP is. Now the annoying part is some ISPs just drop ICMP at their border so it’s not s smoking gun that they are the issue.

  • What are your offsite backup solutions
  • I’ve got two synology NASes. My current backup strategy is to backup everything between the two NASes so I have two copies of everything locally. Then I back up documents, photos, pretty much everything except TV shows and movies to Backblaze.

  • Pokemon is driving me to want a Plex Server.
  • With that many disks, I'd compare what it would cost to build a desktop PC to hold all the drives, compared to a commercial NAS. When I pulled the trigger on my Synology, the thing that really sold me was the hot-swappable drive bays. I use mine to back VMware storage, so if I had a drive fail, I didn't want to have to take down all my VMs to offline the storage and swap a disk.

    Another thing you might look at is used hard drives. I know you've got some, but they're pretty small, and drives have gotten pretty cheap. NASes with more than 4-5 drive bays get pretty $$$. I just bought an 8TB HGST Ultrastar "refurb" drive for $75. Lots of options, but the bottom line is, I think you'll love having your own media.