this post was submitted on 25 Jul 2024
45 points (97.9% liked)

Selfhosted

46672 readers
414 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS
 

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.

all 19 comments
sorted by: hot top controversial new old
[–] anytimesoon@feddit.uk 17 points 10 months ago (1 children)

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

https://github.com/spantaleev/matrix-docker-ansible-deploy

[–] tenchiken@lemmy.dbzer0.com 7 points 10 months ago

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

Thanks for sharing!

[–] WeAreAllOne@lemm.ee 5 points 10 months ago* (last edited 10 months ago) (2 children)

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

[–] ludicolo@lemmy.ml 1 points 10 months ago* (last edited 10 months ago) (1 children)

Do I need to remove casaos to use yunohost?

[–] WeAreAllOne@lemm.ee 1 points 10 months ago (2 children)

Yeap.. Yunohost is not docker based.

[–] ludicolo@lemmy.ml 1 points 10 months ago (1 children)

Can it possibly run simultaneously?

[–] WeAreAllOne@lemm.ee 1 points 10 months ago

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

[–] anzo@programming.dev 4 points 10 months ago

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

[–] poVoq@slrpnk.net 4 points 10 months ago

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.

[–] vegetaaaaaaa@lemmy.world 3 points 10 months ago

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.

[–] Churbleyimyam@lemm.ee 2 points 10 months ago

I would try YUNOhost