-
thewetcrab
Hello I was told that some people here might run an self-hosted XMPP server on Raspberry Pi.
-
thewetcrab
Is anyone where doing that?
-
mathieui
Link Mauve is running it on worse
-
Link Mauve
My Olimex Lime 2 is definitely better than an original Raspberry Pi!
-
mathieui
nobody is buying the original rpi anymore
-
Link Mauve
Ah.
-
mathieui
(I hope, at least)
-
mathieui
I wish there was a decent arm board with nvme… storage is always the worst in these devices
-
mathieui
(I don’t even want nvme speeds, I just want reliable storage at least as fast as sata3)
-
Arne
you can use external drives over USB mathieui
-
mathieui
that is true
-
Arne
or maybe on the gpio
-
Link Mauve
mathieui, my Switch is heavily bottlenecked by the microSD storage…
-
mathieui
unsurprisingly
-
Link Mauve
And attaching a SSD over USB 2.0 is, well, sad.
-
Arne
pi 4 has USB 3
-
mathieui
the usb-c is not usb3?
-
mathieui
yeah pi4 has usb3, which is good
-
Link Mauve
I don’t think the dock exposes USB 3, but maybe it does?
-
Link Mauve
I’ll test that.
-
mathieui
ah, no, I was thinking of a generic usb-c dock
-
Link Mauve
Oh, I could try my PinePhone’s. ^^
-
Arne
but depending on what you want to do the pi can be good or wrong
-
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?
-
raucao
hey, anyone here clustering ejabberd?
-
Arne
looks like not? What do you mean by clustering? Do you want to build up a server cluster?✎ -
Arne
looks like no one? What do you mean by clustering? Do you want to build up a server cluster? ✏
-
raucao
we have set up a cluster, but are stuck with http uploads not working in a cluster
-
raucao
they're not synced with mnesia it seems
-
raucao
so i was wondering how people do uploads with a cluster
-
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?✎ -
Arne
I understand. I'm only using prosody so I can't help with that. ✏
-
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)
-
mathieui
Arne, the prosody.im docs should cover this
-
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
-
Arne
I've read the docs and It worked actually but than there came an issue with connecting to ejabberd servers
-
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>.
-
Holger
Apart from that I'd recommend against using Mnesia no matter what 🙂
-
raucao
that's for prosody, no?
-
mathieui
raucao, the part listing external component implementations is not prosody-specific
-
raucao
oh, i misread that
-
raucao
thanks
-
raucao
so the normal http upload module in ejabberd already supports uploading to external servers
-
raucao
got it
-
Holger
Yes.
-
raucao
as we're using nginx for everything, that perl module is just what the doctor ordered then i guess :)
-
raucao
thanks