this post was submitted on 03 Jul 2023
102 points (99.0% liked)

Selfhosted

38875 readers
192 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

While it was an interesting and sometimes confusing experience setting up and running my own Lemmy instance (looking at you, 20 character limit on federation URL), I think it's not worth it.

Now the time has come to decommission the service, is there a proper way to do that? I don't mean the local part, that's on docker and gone with 3 lines of bash input. I mean the overall process. How do I tell other instances that mine won't be available any longer? I noticed a constant stream of federation pushes, even with everything deleted and purged. Shutting down the instance won't help either, the requests will simply 404 then, but won't stop, which in itself is only logical. Has anyone done this before and could shed some light on this situation?

Edit: So I played around with the logs some more, there seemed to be an issue with communities that are on "subscription pending". I restored an older database which had all the entries, removed any federation restrictions and tried again from scratch, leaving and joining again until all communities were properly subscribed to.

Then:

  • Unsubscribe
  • Remove
  • Purge

Just to be sure the entries are gone. As of 15 minutes ago, Traefik hasn't logged a single connection to my instance.

Edit2:

Turns out that wasn't it. My instance is on 0.17.4, and even with every community unsubscribed and purged, I'm being hammered by lemmy.world activity_pub events. The formatting is also different, I think that's because they moved to the 0.18 RC stage. So it looks like something somewhere didn't get the unsubscribe announcement.

Edit 3:

So I tried moving to 0.18-RC. Which now means lemmy.world is trying to push the inbox to the frontend? WTH...

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 1 year ago

Not an exact answer to your question but they lemmy devs are pushing forward with a dead server check. https://github.com/LemmyNet/lemmy/pull/3427

Still not aware of a proper decom process but at least the servers will stop trying to federate content to you after your server gets flagged as dead.