this post was submitted on 04 Jul 2023
6 points (100.0% liked)

Lemmy Support

4650 readers
2 users here now

Support / questions about Lemmy.

Matrix Space: #lemmy-space

founded 5 years ago
MODERATORS
 

I set up a new lemmy instance. I can log in and create communities locally.

But I do not see ANY other instances.

I have checked Federation Enabled

I look through my logs and there appear to be no errors.

I check and save, Federation debug mode but it never stays checked.

I am trying to find the disconnect. Why is my instance not fully federating and why can I not find any errors...

Does anyone have a next step for me, what to look into?

docker-compose logs -f lemmy

Is where I look for logs

top 20 comments
sorted by: hot top controversial new old
[–] RoundSparrow@lemmy.ml 4 points 1 year ago (1 children)

Lemmy does not automatically discover communities from other peers, you have to search for them and have at least one user subscribe.

[–] Linuxduck@lemmy.blahaj.zone 2 points 1 year ago (1 children)

I apologize but I am not following.

On my instance I cannot search other instances.

But here on blahaj I can.

I tried adding instances but I cannot search those (that were added) either.

[–] RoundSparrow@lemmy.ml 1 points 1 year ago (1 children)

for clarity, you are searching for communities, right? search for "!cats@sh.itjust.works"

[–] Linuxduck@lemmy.blahaj.zone 2 points 1 year ago (1 children)
[–] RoundSparrow@lemmy.ml 2 points 1 year ago (1 children)

It can take 10 seconds, and also fail, so refresh the page.

If it doesn't work, then likely your nginx config is blocking incoming federation activity. There are some closed issues on Github/lemmy project.

[–] Linuxduck@lemmy.blahaj.zone 2 points 1 year ago

YOOO,.. I have no idea what changed. But I finally could connect to Cats cries in fluffy kitty pictures

Thank you!!!!!!!

[–] linuxduck@nerdly.dev 2 points 1 year ago (1 children)

[resolved]

To all who come here with the same issue, I am op posting from my new instance.

  • lemmy instances are not automatically connected
  • at least one user must be following a community for others to search it
  • to add your first community hosted by another instance, search for the full address in your lemmy search example: [!cats@lemmy.blahaj.zone](/c/cats@lemmy.blahaj.zone) after clicking search, wait 5-10 seconds and it will pull up
  • click on the link and subscribe. Now when another user, uses your instance they can find that community!
  • ok... Now you have 1 extra community... What about the thousands that exist?! Read through the comments. Someone provided a tool to basically create a bot account to add servers. I took this idea and created one as well (not sharing it's terrible) but it went through all of my approved instances and all of the communities and subscribed to all. I now have 2300+ communities.
[–] Linuxduck@lemmy.blahaj.zone 2 points 1 year ago (1 children)
[–] linuxduck@nerdly.dev 2 points 1 year ago

You're welcome self!

(I'm such a dork)

[–] throwaway_OT05wZjv@lemmy.world 2 points 1 year ago* (last edited 1 year ago) (3 children)
[–] infamousbelgian@lemmy.ml 1 points 1 year ago (1 children)

I want to try this, do I need to change the lemmy domain to my own instance url? (if this is a double comment, I tried it from my own instance, but can't see it on my alt. If someone can see this 2 times, I'm sorry.)

[–] throwaway_OT05wZjv@lemmy.world 1 points 1 year ago* (last edited 1 year ago)
[–] sean@murray.social 1 points 1 year ago (1 children)

Would you be able to give a brief overview of what your tool does? I feel like it's perfect for my situation, but am new enough to all this that I'm not exactly sure what the tool does.

[–] throwaway_OT05wZjv@lemmy.world 1 points 1 year ago* (last edited 1 year ago)
[–] Linuxduck@lemmy.blahaj.zone 0 points 1 year ago (1 children)

Thanks, I am reading through the code : D

I think my disconnect is I don't understand how the instances connect so this is a HUGE help sends hugs

[–] throwaway_OT05wZjv@lemmy.world 2 points 1 year ago* (last edited 1 year ago) (1 children)
[–] Linuxduck@lemmy.blahaj.zone 1 points 1 year ago (1 children)

I couldn't get it running but I was able to sub to a cat place!!!!!

I still want to get your thingy to work. I KNOW I am doing something wrong

docker run --name lemmy-subscriber-bot --restart always -dt --env 'LEMMY_USERNAME=lemmy_bot' --env 'LEMMY_PASSWORD=redacted' --env 'LEMMY_DOMAIN=nerdly.dev' lflare/lemmy-subscriber-bot .

Returns

docker: Error response from daemon: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: ".": executable file not found in $PATH: unknown.
[–] throwaway_OT05wZjv@lemmy.world 1 points 1 year ago* (last edited 1 year ago) (1 children)
[–] Linuxduck@lemmy.blahaj.zone 1 points 1 year ago (1 children)

I will try it again but I just wanted to say thanks again. With your code I created my own dumb python script that is working. I want to create a great aggregator and you are sending me in the right direction!

I think I will keep working on this and share with you what I did (if you will find it helpful) Or create a pull req if I have the time for your code as well.

This is REALLY what Lemmy needs and is severely missing!

You rock! Meow!

[–] throwaway_OT05wZjv@lemmy.world 1 points 1 year ago* (last edited 1 year ago)
load more comments
view more: next ›