46
submitted 2 years ago* (last edited 2 years ago) by ludicolo@lemmy.ml to c/selfhosted@lemmy.world

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 new old
[-] anytimesoon@feddit.uk 17 points 2 years ago

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 2 years 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 2 years ago* (last edited 2 years ago)

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

[-] ludicolo@lemmy.ml 1 points 2 years ago* (last edited 2 years ago)

Do I need to remove casaos to use yunohost?

[-] WeAreAllOne@lemm.ee 1 points 2 years ago

Yeap.. Yunohost is not docker based.

[-] ludicolo@lemmy.ml 1 points 2 years ago

Can it possibly run simultaneously?

[-] WeAreAllOne@lemm.ee 1 points 2 years ago

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

[-] helenslunch@feddit.nl 1 points 2 years ago

Same. Only I run Conduit.

[-] anzo@programming.dev 4 points 2 years 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 2 years 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 2 years 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 2 years ago

I would try YUNOhost

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

Selfhosted

62308 readers
698 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:

Detailed Rules Post

  1. Be civil.

  2. No spam.

  3. Posts are to be related to self-hosting.

  4. Don't duplicate the full text of your blog or readme if you're providing a link.

  5. Submission headline should match the article title.

  6. No trolling.

  7. Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details. Tags [CBH] or [AIP] are required, see the links in Rule 8 for details.

  8. AI-related discussions and AI-involved promotional posts have additional requirements for tagging, as noted in Rule 7 and the AI & Promotional Post Expanded Rules post, and find example disclosures here.

Resources:

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

Questions? DM the mods!

founded 3 years ago
MODERATORS