I’ve found the following work-around works pretty well. If you host an instance that’s currently on 0.19.0 or 0.19.1, consider implementing this.
There are two bugs that this helps with:
- Outgoing federation stops after about 6 hours
- Another federation bug which is triggered if the server isn’t running at midnight every night
Work-around:
Create cronjobs that restart the Lemmy container every 6 hours (but not at midnight). The following example is used for a Debian system running Lemmy in Docker.
Type crontab -e
into the terminal
Add something like the following:
0 1 * * * docker container restart lemmy-lemmy-1
0 7 * * * docker container restart lemmy-lemmy-1
0 13 * * * docker container restart lemmy-lemmy-1
0 19 * * * docker container restart lemmy-lemmy-1
3 1-23/6 * * * docker container restart lemmy-postgres-1 && sleep 60 && docker container restart lemmy-lemmy-1
By restarting the container every 6 hours, outbound federation continues to work. There may still be some delays, but everything gets cleared up regularly.
By telling it what time to restart (0100, 0700, 1300, and 1900 as opposed to “every 6 hours”), it avoids restarting at midnight. This avoids the second bug.
My instance has been doing this for enough days where I’m confident that it’s working. You can check your federation status here. Note that it’s normal for there to be 0 up-to-date instances and a lot of lagging instances. As long as they sometimes turn “up to date”, then everything is getting caught up.
Wow, just wow. I’m pretty sure you must know this, but since you seem to have some sort of selective amnesia, let me break it down for your stupid ass. Lemmy follows the semantic versioning, meaning that
0.19.1
can be seen as:0
: the major version19
: the minor version1
: the patch versionLemmy is still in the major version
0
, and not1
. Meaning that it is still in alpha, and hasn’t reached the stable version1.x.y
. Go and read the SemVar FAQ first.Every user on this platform is an early adopter, and consists of developers and geeks. Also, the Lemmy devs run lemmy.ml.
And? What are we supposed to do with this information?
Your comment adds no value to a productive discussion. Shush away.
Removed by mod