I set up a self-hosted instance yesterday, so far it runs fine. I can subscribe from there to communities hosted on other instances, I can comment from my instance and the comments show up on other instances.
However, I subscribed to https://lemmy.world/c/lemmyworldtest from my own instance to test if my posts will be propagated, and that seems not to work (yet?).
Is this a known problem? Would the upstream instance subscribe to my instance for this to work? Or is this a bug in my configuration?
Ok… After changing some settings, I got this log:
2023-06-13T15:16:56.808411Z ERROR HTTP request{http.method=GET http.scheme="http" http.host=lemmy.pathoris.de http.target=/api/v3/ws otel.kind="server" request_id=6603f30f-4523-4548-a82c-f38c22d1889f http.status_code=101 otel.status_code="OK"}: lemmy_server::api_routes_websocket: only_mods_can_post_in_community: only_mods_can_post_in_community
That explains a lot, I think :-)
Apparently my instance does try to push, as I expected, but the community is protected on lemmy.world. That’s a bit surprising still, since I thought it is a test group to test federation and such, but since that wasn’t specified anywhere, it’s fair enough that this could be a test-group by lemmy.world for lemmy.world :-)
Btw: The settings I changed on my server were removing all servers from the “allowed” list. It seems I misunderstood the instructions during setup, I thought I had to add some servers quasi as a seed. But actually, by giving permission to certain servers, it is implied that I don’t want to allow any other.
Sorry… I am not understanding fully, I think. So you want to see if posts on your self-hosted instance will propagate to other instances? In this case, only if someone on the other instance has searched for your community.
The community is originally from lemmy.world, I subscribed on my own instance. In my example it was just “lemmyworldtest”, but a proper use-case would be to subscribe to https://lemmy.world/c/techsupport on my own instance and post an article to that community. Since the community has its home on lemmy.world, I would expect/need my post to be visible there in order to actually receive some support.
Also, at the time I’m writing this, your comment to my post is not yet visible on my own instance although I’m subscribed there as well.
You might want to link your self hosted instance so we can get a better sense of what’s going on here.
Ok, here is a link to the community replicated to my own server: https://lemmy.pathoris.de/c/selfhosted@lemmy.world
Things don’t automatically propagate to other instances FYI. Someone from a remote instance would need to follow your community
I get that, but it is not my community. It’s the community on lemmy.world, to which I subscribed.
Sure. But things don’t push to remote communities, it’s a pull system. So can you see the lemmy.world community you subscribed to from your instance?
pretty sure you webfinger resolve the community and it gives you an inbox for activitypub that you publish to. Everything is push, nothing is pull.
and i’m pretty sure that when the community receives the post, it then pushes it to all the subscribers.
Sure. But things don’t push to remote communities, it’s a pull system.
I understand that I complete communities are not pushed, but for articles this seems counter-intuitive:
-
My comments to remote posts are automatically replicated, so it is not only pull
-
What’s the point of subscribing to a remote community via my server if the articles I post to that remote community are not pushed? My own instance is basically useless if questions to e.g. support-communities remain only on my own instance and I have to create an account on the remote instance in order to actually interact with that community.
So can you see the lemmy.world community you subscribed to from your instance?
Yes, although the comments to this article, for example, are still not replicated. But it seems comments are slowly arriving on my server…
-