Hi folks!

I‘m currently setting up a „fediverse vps“ so to speak but federation is no joke so far.

I got lemmy, mastodon and matrix running pretty stable now (in docker and behind nginx proxy manager which seems to be very rare).

The next step is enabling federation and so far it’s brutal. I broke matrix by changing up the .well-known stuff and now nothing works.

I think my knowledge is just lacking at this point. Does anyone have experience with a setup like this and wants to help? I basically need the npm config and/or other changed configs for federation.

Thanks for reading. Have a good one.

Edit: Since some kind souls wanted to help and need to see configs, here they are.

Let me know if you need anything else! :)

Edit2: Here is the synapse config

  • Daniel@lemmy.ml
    link
    fedilink
    English
    arrow-up
    2
    ·
    8 months ago

    I used Conduit, and it might be easier to setup, if you get those configs up for us I’d be willing to look at them still.

    • Haui@discuss.tchncs.deOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      8 months ago

      docker-compose.yml https://hastebin.com/share/izeroqiqil.yaml homeserver.yaml https://hastebin.com/share/iquzehofen.yaml npm host file https://hastebin.com/share/alolegoyey.bash synapse log https://hastebin.com/share/abumisutuz.yaml (please note that these errors are not representative of the “functioning but no federation” I had earlier since I seemingly broke something when trying to set it up differently.)

      Here is the config! Thanks again for offering your help!

      • Daniel@lemmy.ml
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        8 months ago

        The first thing I see is that your server name is matrix.***.com, which means that users/MIDs will be @hai@matrix.***.com, instead of @hai@***.com, which assuming the use of .well-known you want the second. Other than that I don’t really see anything that’d be an issue, but again, I haven’t used Synapse. I hope that helps, keep me updated!

        • Haui@discuss.tchncs.deOP
          link
          fedilink
          English
          arrow-up
          1
          ·
          edit-2
          8 months ago

          Thanks for pointing this out. For now, I’m good with the @matrix but I will keep that in mind. Now the federation seems to be working. I completely threw out the npm config and remade it. Here’s the new logs. One thing doesn’t work anymore though: I’m not receiving messages from my second account and am not getting “is online” notification (green circle). Here’s the current log. https://hastebin.com/share/piyumiloho.yaml (btw the .well-known was because federation tester pointed out there was none and I assumed that was the problem.)