There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

Trying to figure out the best way to set up a self hosted matrix server.

I have been trying to set this up for the past 2 days and I am losing my mind.

The issue I seem to be having is that synapse cannot find the necessary postgres information in the the database. I have been trying to setup a docker container for it but to no avail. The container just continues to restart. When I check docker logs it seems like it cannot find the database info it needs but its there. I deleted the sqlite3 info so it most certainly isn’t still using that.

Is there possibly a casaos friendly version of matrix? Is there an easy to follow tutorial for docker matrix and duckdns? Any help would be appreciated.

vegetaaaaaaa ,
@vegetaaaaaaa@lemmy.world avatar

I wrote my own ansible role to deploy/maintain a matrix server and a few goodies (element/synapse-admin). If you’re not using ansible you should still be able to understand the deployment logic by starting at tasks/main.yml and following includes/tasks from there.

WeAreAllOne ,

I’ve had good luck with Yunohost in the past for a synapse server.

ludicolo OP , (edited )

Do I need to remove casaos to use yunohost?

WeAreAllOne ,

Yeap… Yunohost is not docker based.

ludicolo OP ,
ludicolo OP ,

Can it possibly run simultaneously?

WeAreAllOne ,

Doubtful. Even in VMs I reckon you’re gonna have some conflicts ports wise.

anzo ,

I heard conduit.rs has lower memory requirements. Dunno if there’s a easy to deploy container tho. Good luck!

anytimesoon ,

I use this and it’s been completely flawless from day one. The documentation is up there with the best I’ve seen, and the matrix room always has someone willing to help explain further

github.com/…/matrix-docker-ansible-deploy

tenchiken ,

Holy crap that is comprehensive. Great timing since I’m about to wipe and redo my server from scratch.

Thanks for sharing!

EngineerGaming ,
@EngineerGaming@feddit.nl avatar

I prefer Conduit instead of Synapse - it is lighter on resources.

ludicolo OP ,

How would I go about using conduit instead of synapse for matrix?

Churbleyimyam ,

I would try YUNOhost

poVoq ,
@poVoq@slrpnk.net avatar

If the postgres container doesn’t start properly, then something’s wrong with the config. Most likely you are trying to expose port 5432 to the host network, but you have postgres already installed there, so the ports conflict.

You can check for those errors with journalctl.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • [email protected]
  • random
  • lifeLocal
  • goranko
  • All magazines