this post was submitted on 01 Jan 2024
30 points (100.0% liked)

Announcements

236 readers
1 users here now

Announcements about system updates or other things related to this instance.

founded 1 year ago
MODERATORS
 

Please try to comment and post things now, and see if they federate again.

Hopefully you see your activity instantly federated. I have tried making comments both to instances running Lemmy 0.19.1 and 0.18.5 and they all federate like they should.

Hope you have the same experience! πŸ₯³

all 31 comments
sorted by: hot top controversial new old
[–] [email protected] 6 points 10 months ago (1 children)

I am reading this from lemmy.fan so you're definitely federating now!

[–] [email protected] 9 points 10 months ago* (last edited 10 months ago)

Thats great. :)

I know other instances on 0.19.1 had issues with federation so I can share what we did here to try and fix it.

There is a database table in postgres called instance and in our case, it had thousands of instances that were considered dead. Our instance didnt seem to try and talk to them anymore since the "updated" column would never update.

So we ran a simple database query to set the updated column to now() for all instances that we knew about:

update instance set updated = now()

This caused Lemmy to go out and try to talk to all of the instances again, and reconsider if they were dead or not.

According to this site we are now federated with 3000+ instances again:

https://phiresky.github.io/lemmy-federation-state/site?domain=lemmy.today

I hope we stay federated this time. Will keep an eye on it. :)

[–] [email protected] 4 points 10 months ago

Yay, thank you admin! Will test it out

[–] [email protected] 4 points 10 months ago* (last edited 10 months ago)

Seems federation is still not fixed even though it certainly helped to federate some things, while leaving others... :/

On the positive side, the pull request that may fix federation properly in the software was approved by one of the Lemmy devs 2 hours ago so it should be merged with the main code soon:

https://github.com/LemmyNet/lemmy/pull/4330

[–] [email protected] 3 points 10 months ago (2 children)

Hmm, I made some recent posts to remote communities and so far they haven’t shown up on any other instances yet, but most of my recent comments at least seem to be visible.

Thanks for your hard work trying to figure this out and happy 2024.

[–] [email protected] 2 points 10 months ago (1 children)

If you feel comfortable sharing a post that hasn't federated, please link to it. :)

[–] [email protected] 2 points 10 months ago* (last edited 10 months ago) (1 children)

It’s not like they’re private anyways, but sure:

https://lemmy.today/post/4778593 https://lemmy.today/post/4786719

Neither of these seems to be visible on Lemmy.world

[–] [email protected] 1 points 10 months ago* (last edited 10 months ago)

Yes, it seems federation still is buggy. :/

Your comments are on lemmy.world now but they needed a Lemmy software restart to make them federate:

https://lemmy.today/post/4778593 => https://lemmy.world/post/10236722

https://lemmy.today/post/4786719 => https://lemmy.world/post/10236757

So still gremlins in the software...

[–] [email protected] 2 points 10 months ago

They should be there now - it seems a restart of Lemmy is still required for posts to federate....

For me Lemmy was working very well yesterday though, and I got responses to posts and comments right away. However, it seems like federation stops to work after a while again. The site I linked before:

https://phiresky.github.io/lemmy-federation-state/site?domain=lemmy.today

That one was showing that we had thousands of lagging instances and no updated ones just a few moments ago. And after a restart, they are all up to date again. So absolutely some bug remaining...

[–] [email protected] 3 points 10 months ago* (last edited 10 months ago) (1 children)

This fixed my federation issues as well. Thanks a bunch! I am however missing a lot of comments from this thread (Like the one from db0).

Edit : fix only held up for a few days. Had to reapply.

[–] [email protected] 4 points 10 months ago (1 children)

Yeah its completely empty on https://lemmy.dbzer0.com, even after a restart of the server here.... :/

[–] [email protected] 2 points 10 months ago (1 children)

Federation is really being weird since 0.19... But at least you managed to offer a bit of hope!

[–] [email protected] 2 points 10 months ago (1 children)

Yeah I think it will be fixed soon. Just need to wait a bit longer for Lemmy devs to push some code. :)

[–] [email protected] 1 points 10 months ago (1 children)

Turns out this only worked for a bit. I had to redo the fix today.

[–] [email protected] 1 points 10 months ago* (last edited 10 months ago) (1 children)

Yep I had to redo the fix also once more and also split up Lemmy in several docker containers. One container is doing the federation part only and I can restart that without disturbing the Lemmy user interface or database. So that one is restarting every 10 minutes now but we don't notice it since it's happening in the background.

Anyway, I read in the github thread that a fix for federation is working and will come soon... Just need to wait a bit longer.

https://github.com/LemmyNet/lemmy/issues/4288

[–] [email protected] 1 points 10 months ago (1 children)

Thanks for your insight! I've updated to 0.19.2 and stuff seems to be on the up and up federation wise. Is the fix merged already ?

[–] [email protected] 3 points 10 months ago (2 children)
[–] [email protected] 2 points 10 months ago
[–] [email protected] 1 points 10 months ago (1 children)

Is this the 19.2 or a 19.2-bis?

If so is there a docker image of it :-) ?

[–] [email protected] 2 points 10 months ago (1 children)

I've been seeing federation issues again. For example:

https://lemmy.today/comment/4640480

That hasn't made it to sh.itjust.works, and I made the comment 4 hours ago.

Not sure if this is the same problem or something new.

[–] [email protected] 3 points 10 months ago

Yeah we need the new 0.19.2 version of Lemmy to hopefully fix things. Good news is that I saw it being worked on yesterday on github, so it should come very soon now. :)

[–] [email protected] 2 points 10 months ago (1 children)

Interestingly, I see your OP, but I don't see your comment. However your instance's updated column is current in my instances table

[–] [email protected] 1 points 10 months ago

Yeah that post looks very empty on https://lemmy.dbzer0.com, and even after I restarted Lemmy here, none of it federated to the https://lemmy.dbzer0.com instance. But I can see that other posts and comments has federated to other instances after a restart, like these ones to Lemmy.world:

https://lemmy.today/post/4778593 => https://lemmy.world/post/10236722

https://lemmy.today/post/4786719 => https://lemmy.world/post/10236757

I get the feeling that there are many small bugs in the software....and getting a clear picture of why some things federate and some doesnt is difficult of course.

[–] [email protected] 1 points 10 months ago (1 children)

@mrmanager Tried following the community from Mastodon but it says pending. I'm not sure this entirely fixed it.

[–] [email protected] 1 points 10 months ago (1 children)

Maybe it worked now after a restart of the server?

[–] [email protected] 1 points 10 months ago (1 children)

@mrmanager Doesn't seem to be fixed by a restart unfortunately.

[–] [email protected] 1 points 10 months ago (1 children)

I guess we just wait for the software fix. Something must be wrong there...

[–] [email protected] 2 points 10 months ago

@mrmanager Yup something is definately wrong here. Made a Github issue so hopefully it can be addressed soon.

[–] [email protected] 1 points 10 months ago

Yep finally it works, getting responses to comments again!