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

  • RoundSparrow@lemmy.ml
    link
    fedilink
    English
    arrow-up
    4
    ·
    1 year ago

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

    • infamousbelgian@lemmy.ml
      link
      fedilink
      English
      arrow-up
      0
      ·
      1 year ago

      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.)

    • Linuxduck@lemmy.blahaj.zoneOP
      link
      fedilink
      English
      arrow-up
      0
      ·
      1 year ago

      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

        • Linuxduck@lemmy.blahaj.zoneOP
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 year ago

          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.
          
            • Linuxduck@lemmy.blahaj.zoneOP
              link
              fedilink
              English
              arrow-up
              1
              ·
              1 year ago

              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!

    • sean@murray.social
      link
      fedilink
      English
      arrow-up
      1
      arrow-down
      2
      ·
      1 year ago

      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.

  • linuxduck@nerdly.dev
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago

    [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 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.