this post was submitted on 15 Jun 2023
139 points (97.9% liked)

Selfhosted

40737 readers
482 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS
 

Edit: YOOOOOOOO YOU CAN EDIT TITLES HERE

Anyway, you have to first search for the community in the format [[email protected]](/c/[email protected]). It doesn't show up the first time but if you mash Enter for a while it will...

Also, this FAQ linked by @[email protected] is pretty helpful and covers some of the pitfalls of being the first (or only!) person in an instance to subscribe to a community: https://lemm.ee/post/37715

Edit 2: Found https://github.com/LemmyNet/lemmy/issues/3055 requesting better support for discovering federated communities. Please consider upvoting that issue if you have a github account and think it would be helpful!


I made myself a lemmy: https://tortoisewrath.com

You may notice I am not writing to you from said lemmy... because https://tortoisewrath.com/c/[email protected] is a 404. In fact, though it appears to have federated itself with a bunch of other servers, it only appears to be able to see two communities. These were among the first few communities I tried to access ([email protected] didn't work but those two did) - since adding those two, I haven't been able to see any others, even on lemmy.ml where the first two were.

Is this normal? Do I just need to be more patient and it'll figure it out on its own, or is there some switch I need to flip to make it do the thing?

(Apologies if this is obvious to those who understand the fediverse but I have no idea what I'm doing)

top 50 comments
sorted by: hot top controversial new old
[–] sirdavidxvi 24 points 2 years ago* (last edited 2 years ago) (2 children)

Have you tried searching for the communities first? As I understand it from some other posts, if you try to access a remote community via URL through your home instance before it "knows" about it, you'll get the 404 error. Someone (you) on your instance has to make your instance "aware" of the remote community by searching for it first. Then, after your instance is aware of the community and federating it, you can access it via URL as you posted above.

[–] sdg 16 points 2 years ago (1 children)

THANK YOU

I didn't remember doing this for the first two, but I guess I must have. (I would reply from there, but comments haven't synced yet, which I guess is expected)

[–] sirdavidxvi 8 points 2 years ago* (last edited 2 years ago) (2 children)

I'm glad that worked. I'm considering launching a personal self-hosted instance of my own, so I may be in your shoes soon enough.

How did you find the process? Did you use Docker or Ansible?

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

If you can read this, the Ansible playbook mostly Just Worked™ to install it on a clean Debian VPS. I actually did start over at one point because I wanted to change the domain name after learning there's not currently any way to use different domains for the UI and usernames like there is in Mastodon (relevant github issue); from that, I suspect it should be good about not clobbering anything except maybe SSL certs for existing nginx sites.

For some reason, my nginx also now seems to try to use the cert lemmy installed by default, even on a site I just set up to only listen on port 80 (http://gillen.dev). So that's kinda weird, but just installing a new cert for such a site with certbot fixes it (https://sdg.fyi).

It still seems to be struggling a little bit: votes and comments on this thread are taking a looong time to show up here (your comment just got here and it says it was from 24 minutes ago)... or maybe I'm just impatient :)

Of course, the real test will be when it comes time to update to the next Lemmy version...

[–] sirdavidxvi 4 points 2 years ago* (last edited 2 years ago)

Thanks, that's good info. If I do go forward, I was planning on going the Ansible route, though I've never used it before.

I've read that it can take a bit of time to sync when you first federate, but that after some period of time it gets closer to real-time with posts and comments.

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

Of course, the real test will be when it comes time to update to the next Lemmy version…

it is easy enough. Simply run the playbook again. well, git pull the ansible playbook again and then run it. alternatively you can just use docker compose now on your lemmy server. I made some aliases on my lemmy instance based on what i use elsewhere. I think I got them from a linuxserver.io tutorial ages ago. you will need to adjust the container versions for this to be viable as the version is hardcoded and they only have a "latest" tag for arm.

alias dckill='docker kill $(docker ps -q)'

alias dclogs='docker-compose -f /srv/lemmy/lemmy.domain/docker-compose.yml logs -tf --tail="50" '

alias dcpull='docker-compose -f /srv/lemmy/lemmy.domain/docker-compose.yml pull'

[–] useful_idiot 3 points 2 years ago

This is so damn cool! I am going to be adapting the docker stacks to nomad jobs and running one on my homelab cluster. I was pretty bummed about Reddit this month I am stunned at how good Lemmy is.

load more comments (1 replies)
[–] [email protected] 10 points 2 years ago (1 children)

I also got very excited when I found out you can edit thread titles haha. such a handy feature.

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

But there NEEDS to be a feature to check title history because it could be abused

[–] ultimate_question 3 points 2 years ago (1 children)

Ya I'm confused why people think this is a good thing, the use cases where someone would edit a title in good faith seem very limited to people trying to take advantage of the feature

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

It's 100% a good thing but only when it's paired with history of changes

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

Thanks, this is helpful!

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

What I do is:

  • I take the name "[email protected]"
  • copy and paste it into the search in my instance
  • press "search"
  • it shows "No results."
  • I go to Communities on my instance
  • I click on "All"
  • At the bottom of the list I can see "[email protected]" and the Subscribe button

I guess it is some kind of a bug. If I post a url of a post, it also takes qute some time, several seconds, until it shows up.

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

My process is similar, but i don't use the !ommunity@instance format. I just copy the url and search for it.

Search: "https://lemmy.world/c/selfhosted"

it will initially return Nothing found but after another second, it shows up and i can click it and then subscribe to get new posts and comments.

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

Yep this is my process too, after search it does show up even if there are no results, you can just change the search filter to "All" and search again then it shows up, or you can go to communities to find it.

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

@[email protected] Maybe edit the post with the solution, it will be useful to others.

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

I wrote a post on my instance about how to add remote communities.

https://lemmy.comfysnug.space/post/21762

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

At the moment it's a bit convoluted, but you'll need to go to the search page (https://tortoisewrath.com/search) and then search for the name of the community, in this case [[email protected]](/c/[email protected]). This will at first say no results but should eventually show the community (5-10 seconds in my case).

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

WOOOO I had to mash "search" for a while but I think I'm here now

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

I've found that searching for the name like that never works for me, but searching for the URL does eventually work.

Other times, the search doesn't appear to work, but the community does start appearing in the communities list under the "all" filter.

Sometimes, neither of those work. In those cases, I try searching for a post or comment URL. If that works, I can click on it and then click on the community from there.

Seems like there's a lot of rough edges at the moment.

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

For me it never shows a result but I am able to browse to the community on my instance and subscribe from there

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

Is there a description like this for kbin.social? Not sure if it's just because of some cloudfare issues but for example communities on the Lemmy instance feddit.de do not show up for me on kbin.social. Some of their posts do, though.

But if I search for e.g. [email protected] on kbin.social it won't show up and therefore I can't subscribe to it from kbin's side.

EDIT

Now it suddenly shows up under Magazines on kbin.social. How often do new communities on Lemmy instances get federated to kbin?

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

I believe you just need to remove the exclamation point and search for [email protected] on kbin. Not totally sure why but I expect this is just one of the kinks that'll be ironed out once things are less on fire around here

load more comments (1 replies)
[–] [email protected] 3 points 2 years ago (4 children)

I'd also like to know how it works. I switched to sh.itjust.works because it's a lot faster than lemmy.world, but trying to migrate my subscriptions, lemmy.ca doesn't show up, nor does lemmygrad.ml.

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

Things in the fediverse can be pretty fractured. Many instances block lemmygrad. Kbin has not been federating right because it is buggy, a newish feature for it, and/or under insane load. About 2 hours ago beehaw.org defederated from lemmy.world and sh.itjust.works.

Similar things happened during the mastodon boom. Lots of federation/blocking drama between various instances. A lot of drama about "free speech" instances and NSFW in particular, IIRC. A lot of the GNU Social side of the fediverse leaned heavily into the "free speech" aspect, which was jarring for some new users/servers admins to mastodon.

Honestly, your best option is to selfhost or find a small instance with some sort of non-open admission policy. Even that can make things hard as some instances can have a restrictive federation policy (only federating to explicitly allowed instances), though I don't think that is a very popular at the moment. If spammers start spinning up their own servers instead of making accounts on open servers that may start happening.

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

This is the main reason I'm here - I realized that with an account on lemmy.world or something some admin somewhere could just unilaterally decide to defederate some major server and I wouldn't be able to get to half the communities I like anymore. And lo and behold, beehaw.org defederated lemmy.world while I was setting this up.

I always thought this mechanic would drive a lot of people away from the fediverse, but mastodon still seems to be pretty active after the mass migrations from Tumblr and Twitter so what do I know?

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

Re. Mastodon: Insular communities gonna insulate. Defederation has collateral damage, but among some communities that is acceptable because they view intolerance and the toleration of intolerance as close enough to warrant blanket handling. (See that "Nazi bar" story that's often cited)

Re. Lemmy: I think we will see much of the same. Lemmy is (IMO) in a slightly more immature state than Mastodon was when it had one of its early booms (when I ran an instance briefly). Especially w/r/t mod tools and stuff, which is part of why things are fragmenting at the moment.

I want my instance to run "under the radar" for the most part. Personally I'd rather leave things up to individuals to decide what they do or don't want to see. For example, if you enable NSFW content and browse "all" posts, don't be surprised if there is NSFW content there. Or content you don't agree with. But, if you borrow my car with my company logo on it (use my instance) to go to someone else's house (some community on another instance) and piss in their cornflakes (break that community's rules) I am not going to let you keep borrowing my car (kick you off my instance). And on the communities fully hosted on the instance itself I want them to generally be welcoming to others, which includes showing people who are not welcoming the door.

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

Oh interesting. I could selfhost and then have access to any of the instances? Would I be able to access an instance that's defederated? Seems like Beehaw has a ton of activity and now it's defederating. It's almost sus bc if I was trying to discredit the fediverse and Lemmy in general, I would get as many people on my instance as possible and then cut it off completely.

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

It depends. If they are choosing only to defederate specific instances, yes. If they are choosing only to federate with specific instances that leaves it up to you getting on the list by talking to those instance admins or something. If they are not federating at all then of course you're just out of luck.

Re. Beehaw: It's impossible to guess their intentions at this point. They appear to be (and say they are) only defederating specific instances and they are doing so for specific reasons. As I said to someone else talking about this just as it happened:

(Originally comparing this to some of the instance blocking that happened back when I ran a Mastodon server)

Insular communities gonna insulate. Defederation has collateral damage, but among some communities that is acceptable because they view intolerance and the toleration of intolerance as close enough to warrant blanket handling. (See that “Nazi bar” story that’s often cited)

(Then talking about how that relates to Lemmy)

IMO moderation necessarily has to exist two places in a federated environement. Yes, the community (hosting instance) always has to do moderation, but so does the federating instance. If the federating instance does not have policies in place to handle bad actors who go to other servers and break their rules and it is a large enough problem this action could make sense even well into the future. Unfortunately Lemmy is in a quite early state so I don’t think the tooling to do such work well even really exists. Something like only allowing confirmed posters from federated instance[s] or requiring someone to be subscribed for an amount of time before posting could do wonders. Yes, this is the nuclear option, but their choices at the moment are a butter knife or a nuke.

I sincerely hope this gets better as Lemmy matures.

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

Idk with ca but with lemmygrad you may just want to make an account there if you really want in

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

Doesn't lemmy.world block lemmygrad?

[–] sirdavidxvi 6 points 2 years ago* (last edited 2 years ago)

According to the lemmy.world Instances page, lemmygrad.ml is linked, not blocked. I know it's blocked on a number of other instances.

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

That's where I discovered the lemmygrad link so I don't think so

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

yeah there was some inbound federation struggles with lemmy.ca the past few days, those might still be persisting. its where I'm homed, it works great from the inside! :)

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

I was having issues searching as well until I added a network to the docker-compose and then adding it to my lemmy image.

networks:
  lemmybridge:

services:
  lemmy:
    networks:
      - lemmybridge
[–] [email protected] 2 points 2 years ago

Thanks for the post and resources, this is the first time I’ve seen this explained clearly in one place

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

I am glad to see more people selfhosting their own. Makes me feel less out. Had the same issues.

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

Wish it would at least copy the instance list when federating, or have it as an option
Feels so empty browsing All when it’s identical to Subscribed

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

Thanks, gonna watch it. I wonder if it’s possible to set up some bot account that would just search for communuties to make them accessible?

load more comments
view more: next ›