XMPP Service Operators - 2020-11-22


  1. thewetcrab

    Hello I was told that some people here might run an self-hosted XMPP server on Raspberry Pi.

  2. thewetcrab

    Is anyone where doing that?

  3. mathieui

    Link Mauve is running it on worse

  4. Link Mauve

    My Olimex Lime 2 is definitely better than an original Raspberry Pi!

  5. mathieui

    nobody is buying the original rpi anymore

  6. Link Mauve

    Ah.

  7. mathieui

    (I hope, at least)

  8. mathieui

    I wish there was a decent arm board with nvme… storage is always the worst in these devices

  9. mathieui

    (I don’t even want nvme speeds, I just want reliable storage at least as fast as sata3)

  10. Arne

    you can use external drives over USB mathieui

  11. mathieui

    that is true

  12. Arne

    or maybe on the gpio

  13. Link Mauve

    mathieui, my Switch is heavily bottlenecked by the microSD storage…

  14. mathieui

    unsurprisingly

  15. Link Mauve

    And attaching a SSD over USB 2.0 is, well, sad.

  16. Arne

    pi 4 has USB 3

  17. mathieui

    the usb-c is not usb3?

  18. mathieui

    yeah pi4 has usb3, which is good

  19. Link Mauve

    I don’t think the dock exposes USB 3, but maybe it does?

  20. Link Mauve

    I’ll test that.

  21. mathieui

    ah, no, I was thinking of a generic usb-c dock

  22. Link Mauve

    Oh, I could try my PinePhone’s. ^^

  23. Arne

    but depending on what you want to do the pi can be good or wrong

  24. Licaon_Kter

    thewetcrab: > Hello I was told that some people here might run an self-hosted XMPP server on Raspberry Pi. > Is anyone where doing that? Yes, what's the question?

  25. raucao

    hey, anyone here clustering ejabberd?

  26. Arne

    looks like not? What do you mean by clustering? Do you want to build up a server cluster?

  27. Arne

    looks like no one? What do you mean by clustering? Do you want to build up a server cluster?

  28. raucao

    we have set up a cluster, but are stuck with http uploads not working in a cluster

  29. raucao

    they're not synced with mnesia it seems

  30. raucao

    so i was wondering how people do uploads with a cluster

  31. Arne

    I understand. I'm only using prosody so I can't help with that. But I have a question too, is there a good tutorial on how to set up xmpp over TLS with prosody?

  32. Arne

    I understand. I'm only using prosody so I can't help with that.

  33. mathieui

    raucao, maybe you just need to setup some kind of filesystem replication for the httpupload folder, if it isn’t in mnesia? (I don’t use ejabberd though)

  34. mathieui

    Arne, the prosody.im docs should cover this

  35. raucao

    i was thinking about filesystem replication, or rather something like s3fs, but iirc it actually throws errors and fails the upload when connected to the wrong node

  36. Arne

    I've read the docs and It worked actually but than there came an issue with connecting to ejabberd servers

  37. Holger

    raucao: I'd recommend using `mod_http_upload`s `external_secret` mechanism and handle the actual HTTP upload with one of the implementations listed on <https://modules.prosody.im/mod_http_upload_external.html>.

  38. Holger

    Apart from that I'd recommend against using Mnesia no matter what 🙂

  39. raucao

    that's for prosody, no?

  40. mathieui

    raucao, the part listing external component implementations is not prosody-specific

  41. raucao

    oh, i misread that

  42. raucao

    thanks

  43. raucao

    so the normal http upload module in ejabberd already supports uploading to external servers

  44. raucao

    got it

  45. Holger

    Yes.

  46. raucao

    as we're using nginx for everything, that perl module is just what the doctor ordered then i guess :)

  47. raucao

    thanks