Instructions for running your own lemmy instance.
For the moment, lemmy.ml is using an explicit allowlist
for instances we federate with. If you currently run an instance, and would like to be added to join.lemmy.ml:
- Let us know either on !lemmy_instances, or commenting here.
- We’ll add you to our allowlist.
- Add this block to your server’s
lemmy.hjson
config (for open federation):
federation: {
enabled: true
tls_enabled: true
# allowed_instances: lemmy.ml,other_instance.tld,... uncomment this to use an allowlist
}
- Type
!announcements@lemmy.ml
into your server’s search box, and subscribe to it to connect the two instances.
@dessalines Works
What do users do if they want to enjoy !hentai@lemmynsfw.com? Will such things be added to the whitelist? I can’t seem to access it
i made mentano.org
I could use some tips
On your Lemmy instance, hit the Search icon, then post a full direct user of a community/user you want to look at (https://lemmy.ml/c/announcements), or a post you want to comment on (https://lemmy.ml/post/89740). Look in your logs and you should see some activity.
If you want to get updates for a Lemmy community, you have to subscribe to it.
yeah but they have to whitelist me, no?
Hello :3 I made a new instance, mind adding it to the allowlist?
It’ll get added automatically the next time we deploy joinlemmy, which should be soon.
Removed by mod
Removed by mod
Please federate with the Instance lemmy.sudis.net. thx
Maybe I’m missing a basic concept on Federation. I was assuming that the federation feature would allow a user on another instance (e.g., on Baraza.africa) to post on Lemmy.ml.
Here are two posts that Baraza.Africa shows as being posted to c/bitcoin: https://baraza.africa/c/bitcoin@lemmy.ml
However, on !bitcoin@lemmy.ml, those posts do not show. https://lemmy.ml/c/bitcoin/data_type/Post/sort/New/page/1
Is that correct, expected behavior?
Not sure exactly what’s going on there, @nutomic@lemmy.ml any ideas?
Could be that lemmy.ml was unreachable, and the activities didnt go through. Its supposed to retry sending in that case, but that was never actually tested.
Please allow federation for hive.atlanten.se
It looks like you already have federation enabled, but if you’re having troubles you’re probably best off going to [the support community for assistance at !lemmy_support@lemmy.ml
they moved away from the allowlist and now only block some. federation with my own instance just worked after I got updated to 0.18.1 and adjusted my nginx config
good tip! I upgraded to 18.1 now. Hopefully fixes the missing comments.
part of it was http signature expiration, showed up as
WARN Error encountered while processing the incoming HTTP request: lemmy_server::root_span_builder: Header is expired 0: lemmy_server::root_span_builder::HTTP request with http.method=POST http.scheme="http" http.host=mylemmyinstance.com http.target=/inbox otel.kind="server" request_id=453c8a92-7bb5-4b7e-a4ad-212e91167d4e http.status_code=400 otel.status_code="OK" at src/root_span_builder.rs:16 LemmyError { message: None, inner: Header is expired, context: "SpanTrace" }
in the logs, and that was fixed
the other part was some nginx config changes
Brilliant. i think both were fixed with the ansible update. Thanks for helping out phoenix!
Not sure if you are also knowledgeable about wefwef, I have another question: I have installed wefwef on my host. Works great! Except I can’t get watchtower to update it. I have to do a manual restart of the wefwef constrained every time. I’ve tried to increase the wait time, but no luck. Any tips?
I havn’t looked into it yet, just using plain lemmy-ui for now, but it does look pretty nice
they moved away from the allowlist and now only block some.