I recently setup my own lemmy instance per the guide with docker and I have been having issues getting content to my server. I discovered a bunch of communities and instances and started subscribing to some communities to get constant updates. The problem is no matter what I do it is stuck on “subscription pending” and I get no new content on my server. I have been trying to figure this out for a week now, thanks in advance for any help.

  • Max-P@lemmy.max-p.me
    link
    fedilink
    English
    arrow-up
    8
    ·
    1 year ago

    Look at your server logs and make sure that POST requests get routed to the lemmy backend, not the frontend. The frontend does not proxy requests to the backend if the frontend doesn’t handle it.

    Check your NGINX logs and look for POST requests to /inbox as well as /.well-known/webfinger.

    You can unsubscribe and subscribe again while tailing the logs to hopefully see the request come in, and make sure it’s a 200. If it’s a 400 or 404, triple check it’s not going to lemmy-ui.

    Been there, done that.

    • TheThinker@lemm.eeOP
      link
      fedilink
      English
      arrow-up
      4
      ·
      edit-2
      1 year ago

      So far from tailing access.log I get a status of 200 from subbing and unsubbing from a community. Still stuck on pending though.

      • Max-P@lemmy.max-p.me
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 year ago

        Did you get posts to webfinger and inbox coming from the remote instance as well? If you have nothing then the remote instance was unable to push back to you.

        You should see a whole bunch of lines like these in the NGINX logs:

        54.36.178.108 - - [09/Jul/2023:23:27:08 -0400] "POST /inbox HTTP/1.1" 200 0 "-" "Lemmy/0.18.1; +https://lemmy.ml"
        

        If you don’t, then that’s a problem.

        • TheThinker@lemm.eeOP
          link
          fedilink
          English
          arrow-up
          2
          ·
          1 year ago

          yeah this appears to be the issue. I have all of the communities and the initial content from discovery but they don’t seem to want to talk now.