this post was submitted on 24 Nov 2020
27 points (96.6% liked)

Announcements

23462 readers
1 users here now

Official announcements from the Lemmy project. Subscribe to this community or add it to your RSS reader in order to be notified about new releases and important updates.

You can also find major news on join-lemmy.org

founded 5 years ago
MODERATORS
 

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
}
top 42 comments
sorted by: hot top controversial new old
[–] [email protected] 3 points 3 years ago

thank you :3 <3

[–] [email protected] 2 points 2 years ago
[–] [email protected] 2 points 4 years ago (1 children)

congrats this is a huge milestone

[–] [email protected] 1 points 4 years ago

Hey look, a user from another instance!

[–] [email protected] 1 points 3 years ago (1 children)

I'd like to federate my new instance with you :) lemmy.jdelcampo.eu running (sometimes) on a Rock64 !

[–] [email protected] 1 points 3 years ago (1 children)

Maybe good to post in /c/lemmy ? Are you using dynamic IP or does the site go off-line sometimes ?

[–] [email protected] 2 points 3 years ago

The IP is dynamic and updated with nsupdate, via my OpenWrt router. But for now it's mostly under heavy testing from my side (I want many services to be running on this Rock64), so it's mostly offline for now.

[–] [email protected] 1 points 2 years ago* (last edited 2 years ago)

What do users do if they want to enjoy [email protected]? Will such things be added to the whitelist? I can't seem to access it

[–] [email protected] 1 points 3 years ago (1 children)

i made mentano.org

I could use some tips

[–] [email protected] 1 points 3 years ago (1 children)

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.

[–] [email protected] 1 points 3 years ago

yeah but they have to whitelist me, no?

[–] [email protected] 1 points 3 years ago (1 children)

Hello :3 I made a new instance, mind adding it to the allowlist?

Dissonanz

[–] [email protected] 1 points 3 years ago

It'll get added automatically the next time we deploy joinlemmy, which should be soon.

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

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/[email protected]

However, on [email protected], those posts do not show. https://lemmy.ml/c/bitcoin/data_type/Post/sort/New/page/1

Is that correct, expected behavior?

[–] [email protected] 1 points 3 years ago (1 children)

Not sure exactly what's going on there, @[email protected] any ideas?

[–] [email protected] 2 points 3 years ago

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.

[–] [email protected] 0 points 4 years ago* (last edited 4 years ago) (1 children)

Great work getting to this point!

Two questions:

  1. How do I find federated content? I browse all but see only local posts.
  2. Can I browse remote communities somehow?
[–] [email protected] 1 points 4 years ago (1 children)
  1. You can't see the remote communities unless you go to that site and browse their community list. But after anyone on your instance has subscribed to it (you do that by typing in [[email protected]](/c/[email protected]) into your server's search box, and subscribing), then those posts will show up in All.

We decided to make Local the default tho, because once this grows, there will likely be lots of spam in All just like mastodon. And of course you can set your default view to Subscribed, Local, or All in your user settings.

  1. Change your user settings to view All by default, or just click All on the front page to see federated posts.
[–] [email protected] 1 points 4 years ago

Are there any plans to make it possible to browse a remote instance's community list without going to their site? That would make finding and subscribing to remote communities much more convenient IMO.

[–] [email protected] 0 points 4 years ago (1 children)

This is very good news! Have been looking forward to this for long time already.

But it's seeming that some things aren't working right (Maybe it's transfer problems? New posts seem to be working fine).

For example, here the same post viewed from Lemmygrad:

and from "main" Lemmy:

Apparently the upvotes and some of the comments don't show up when looking at it from Lemmygrad. This isn't a single problem in only that post, you can look at [email protected] for some more, or for example this post with no comments and 2 upvotes when viewing from Lemmygrad and 101 upvotes (and 32 downvotes lol) and lots and lots of comments when viewing from "main" Lemmy.

~~          ~~

On another note, are there plans to make the search search across instances? At the moment, it seems to not find posts from another instance:

[–] [email protected] 0 points 4 years ago (1 children)

The search is only local, but you can search the URL of a remote post/comment/user/community, and it will fetch that.

[–] [email protected] 1 points 3 years ago (1 children)

does that still work? If so, how? Just entering it into the search box doesn't seem to work (anymore) for me.

[–] [email protected] 1 points 3 years ago

Yes, if its not working then either that instance is not on the allowlist of your instance, or the remote instance is misconfigured.

[–] [email protected] 0 points 4 years ago (1 children)

Does it make sense to use a single-user instance like I do with pleroma? Probably not at this stage since it would require manual whitelisting, right?

[–] [email protected] 0 points 4 years ago (1 children)

You could I guess, but it'd be a bit weird since lemmy is built around communities.

[–] [email protected] 3 points 4 years ago* (last edited 4 years ago)

In a hypothetical future world where there are many vibrant lemmy communities, a person with their own instance could participate in each without their identity being tied to an instance owned by someone else. You could also host a com related to a project you maintain that would be open to lemmy users form other instances, etc.

There is also the problem of having your federation choices made for you. If you use a federation instance with good moderation policies, they also likely do not federate with instances that do not. That's perfectly understandable and I support any instance owner doing that, but I would prefer to make those choices myself.

At this point it might be premature, but maybe this is a use case you want someone kicking the tires on.

[–] [email protected] 0 points 4 years ago

Awesome!

Regardless of whether it's wanted or not, I bet this will be regarded as the flagship instance, and choices made for who gets on the allow list will serve to set a precedent that others may follow in how they decide to federate.

I've always said I thought the Nutomic did a great job setting the tone for what was and wasn't expected/allowed here, and I think it carries on the very excellent standard set by other activitypub projects like Mastodon and Funkwhale in terms of not being open to toxicity. I think the allow list can help with that as well in terms of setting a standard.

[–] [email protected] 0 points 4 years ago* (last edited 4 years ago) (1 children)

That is excellent news! I think congratulations are required to the developers that made this possible :)

Edit: does that mean I can, say, log on to lemmy.ml with this account, or do I have to browse it from lemmygrad.ml?

[–] [email protected] 1 points 4 years ago* (last edited 4 years ago)

does that mean I can, say, log on to lemmy.ml with this account, or do I have to browse it from lemmygrad.ml?

No, but you can directly interact with posts and comments on lemmy.ml (like you are doing now). Check this:

https://lemmy.ml/post/42833

https://lemmygrad.ml/post/9334

[–] [email protected] -1 points 2 years ago (2 children)

Please allow federation for hive.atlanten.se

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

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 [email protected]

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

Thanks! I’m just missing a bunch of comments (but not posts) from Lemmy.ml. I thought lemmy.ml were running on an allow list? Might be something else thought.

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

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

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

good tip! I upgraded to 18.1 now. Hopefully fixes the missing comments.

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

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

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

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?

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

I havn't looked into it yet, just using plain lemmy-ui for now, but it does look pretty nice

[–] [email protected] 1 points 2 years ago

I recommend it. It’s a great smartphone frontend. Still missing some small features, but super great usability.

[–] [email protected] 1 points 2 years ago

they moved away from the allowlist and now only block some.