this post was submitted on 02 Aug 2024
789 points (96.7% liked)

Selfhosted

40382 readers
371 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
 
you are viewing a single comment's thread
view the rest of the comments
[–] jay@mbin.zerojay.com -3 points 3 months ago* (last edited 3 months ago) (2 children)

So you added the secret to the file and restarted the docker container, right?

Something that I think will help you with self-hosting in the future is to always read through the entire process for setting up whatever you want to set up first, beginning to end, so that you are familiar with what you need to do before attempting it the first time. It's helped me numerous times myself.

[–] catloaf@lemm.ee 9 points 3 months ago (2 children)

Which config file does it go in? Where does it go in that file? Do you literally just put "registration_shared_secret" or does it need a value? What is the syntax of setting the value? Does it accept spaces, special characters, etc.?

[–] Flax_vert@feddit.uk 1 points 3 months ago* (last edited 3 months ago) (1 children)

How do I restart synapse....

Pressed enough buttons and it worked

[–] jay@mbin.zerojay.com 2 points 3 months ago

By the way, running synapse - docker or not - is a challenge. It can be very complex especially if you are interested in adding gateways to other services and such. Attempting to use https://github.com/spantaleev/matrix-docker-ansible-deploy might be a better choice as even though it is A LOT, it has a ton of good documentation and you can grow with it as it can help you install various different Matrix servers, gateways and clients as well.

Good luck, hope to hear more about how you get on with it.

[–] jay@mbin.zerojay.com 1 points 3 months ago

As it says in the image, the file is /data/homeserver.yaml. Your other questions are all answered by looking at the way the file is formatted.

[–] NaibofTabr@infosec.pub 7 points 3 months ago (1 children)

This assumes that

  1. There's a process to read.

  2. The steps in the process are complete and thorough.

Those are bad assumptions.

[–] jay@mbin.zerojay.com -1 points 3 months ago

Uh... yeah, those are assumptions I made because I went through it entirely myself previously so... yeah.