This is a quick and painless tutorial on how to install XMPP, and self host an XMPP server on NixOS.Thanks @Ionic1k for the b-roll from this video: https://y...
It’s not quite as simple as a single docker compose, but the Element Server Suite for hosting a matrix home server (synapse) was fairly simple to get working.
What was your secret to get it working? I’ve been trying to get it running for 2 weeks following the official guide. I’m able to create an admin user via the CLI, but when I try to go to any of the subdomains I’ve created, I either get a 404 or the TLS handshake fails to complete. The people behind ESS are very clear that they do not offer any support and I haven’t been able to find an answer to this problem anywhere.
Ok, so that sounds like either a DNS issue or a reverse proxy issue. Did you configure your domain/subdomains to point to the public IP address of where you’re setting things up? Are you using the reverse proxy in the guide or do you already have a reverse proxy and you’re adding ESS domains to it? Did you configure port forwarding on your router?
I have had issues with accessing my locally hosted services via domain name while on the same network. My router doesn’t like to route internal traffic back to its own WAN port. Can you access it from something on a different network (cellular data)?
Sorry for the delayed response, things have been wildly busy for me.
I did configure my domains as instructed, and they do resolve to the expected IP address. I don’t have an already existing reverse proxy, so I was just following along with what the guide was telling me to do. That said, this may be the issue, because I don’t recall seeing any specific set up for the included reverse proxy and I’ve been through that guide 3 times. I haven’t configured port forwarding on my router since I’m using a Hetzner VPS for this, but I did make sure to open up the required ports on the firewall.
Also, the way to include additional config files tripped me up like crazy for a good few hours, and then how to format them tripped me up for even longer, for options they don’t have examples for (like automatically joining any new accounts to a room, for example).
If you’ve got specific options you’re trying to set, I’m happy to help if I can. The documentation is atrocious for this bit, so if you’re not a kubernetes pro (I am definitely not) it is confusing!
Alright that gives me a good idea what your working with.
I am running it along side some other projects, so I already had a reverse proxy set up, so I didn’t look closely at the other parts of the guide in that section.
If you want to be able to use this server for other hosting in the future, you may want to set up a reverse proxy. I can give some advice about that if you’re interested!
In your case, if the only thing you ever want to host on this box is Matrix, you don’t need a reverse proxy. You should be able to do the steps here and it should result in a working deployment.
It looks like that should give you a tls.yaml file, which you need to include when issuing the helm command to deploy everything. This one:
I want something that works like Discord for my gaming group (~120 people) and is self-hostable with a single „docker-compose up -d“.
But I started looking regularly for alternatives, and we will get there :)
It’s not quite as simple as a single docker compose, but the Element Server Suite for hosting a matrix home server (synapse) was fairly simple to get working.
What was your secret to get it working? I’ve been trying to get it running for 2 weeks following the official guide. I’m able to create an admin user via the CLI, but when I try to go to any of the subdomains I’ve created, I either get a 404 or the TLS handshake fails to complete. The people behind ESS are very clear that they do not offer any support and I haven’t been able to find an answer to this problem anywhere.
Ok, so that sounds like either a DNS issue or a reverse proxy issue. Did you configure your domain/subdomains to point to the public IP address of where you’re setting things up? Are you using the reverse proxy in the guide or do you already have a reverse proxy and you’re adding ESS domains to it? Did you configure port forwarding on your router?
I have had issues with accessing my locally hosted services via domain name while on the same network. My router doesn’t like to route internal traffic back to its own WAN port. Can you access it from something on a different network (cellular data)?
Sorry for the delayed response, things have been wildly busy for me.
I did configure my domains as instructed, and they do resolve to the expected IP address. I don’t have an already existing reverse proxy, so I was just following along with what the guide was telling me to do. That said, this may be the issue, because I don’t recall seeing any specific set up for the included reverse proxy and I’ve been through that guide 3 times. I haven’t configured port forwarding on my router since I’m using a Hetzner VPS for this, but I did make sure to open up the required ports on the firewall.
Also, the way to include additional config files tripped me up like crazy for a good few hours, and then how to format them tripped me up for even longer, for options they don’t have examples for (like automatically joining any new accounts to a room, for example).
If you’ve got specific options you’re trying to set, I’m happy to help if I can. The documentation is atrocious for this bit, so if you’re not a kubernetes pro (I am definitely not) it is confusing!
Alright that gives me a good idea what your working with.
I am running it along side some other projects, so I already had a reverse proxy set up, so I didn’t look closely at the other parts of the guide in that section.
If you want to be able to use this server for other hosting in the future, you may want to set up a reverse proxy. I can give some advice about that if you’re interested!
In your case, if the only thing you ever want to host on this box is Matrix, you don’t need a reverse proxy. You should be able to do the steps here and it should result in a working deployment.
It looks like that should give you a tls.yaml file, which you need to include when issuing the helm command to deploy everything. This one:
You need to make sure that in the <optional> section, you include:
So your command would be this, if you have no additional yaml files, and if you do, simply put “-f path/to/file” at the end, right before the “–wait”:
Nothing will ever be just “docker compose up” but checkout movim. I think it’s good. Haven’t used it myself yet.
Mattemost? Rocketchat?
Closest your going to get is fluxer. It unfortunately only just entered open beta. So the self host option while there… Is not simple yet.
Tho it’s on the road map.