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.

Batbro ,

Legit, I run Synapse, the registration shared secret is just a random string you supply and add it to the home server ymal

Then you use that string to create users by API.

Idonno, felt straight forward to me

el_abuelo ,

Who is ymal?

lud ,

A dude who’s very picky about whitespace.

baatliwala ,

Didn’t he just win the Euros at 17

AVincentInSpace ,

Ymal Markup Ain’t Language

Swedneck ,
@Swedneck@discuss.tchncs.de avatar

the documentation is just missing clearly stating that fact, though from what i recall i think that might be said in the config file?

jqubed ,
@jqubed@lemmy.world avatar

I haven’t done any programming in over 20 years, but I think I can make a contribution to projects by trying to improve documentation, once I start using some projects

raspberriesareyummy ,

you lost me at “docker”. The only people using docker are morons and those that trust software by morons.

Isoprenoid ,

Hey! That’s “Mr Moron” to you.

raspberriesareyummy ,

I have no mistress, and I know no misters.

doodledup ,

What’s bad about Docker? It’s secure and easy to setup.

Your hate comment lacks vital information just like the docs shared by OP.

raspberriesareyummy ,

While security has nothing to do with my disgust for docker and people advocating its use, docker adds a layer of complexity, which means it is not necessarily more secure.

What is extremely bad about docker:

  1. it enables extremely shitty configuration control on the side of a developer. There are way too many developers who have a chaotic approach to configurations, and instead of being forced to write a proper installation and configuration guide from scratch, and thereby making themselves(!) aware of active configuration changes they made to make their system work, they just roll out the docker container they develop in, without remembering most of the configurations they made. Which, naturally, means that they are unable to assist in troubleshooting problems or reproduce issues that users might have.

In general, if you can’t write a good user manual, or at least clearly identify needed dependencies and configurations, you should not be developing software for other people.

  1. it combines the disadvantages of a VM (shitty performance) and running directly on the host OS (sandboxing is not nearly as good as on a VM)
  2. it creates insane bloat, by completely bypassing the concept of shared libraries and making people download copies of software they already have on their system
  3. it adds a lot of security risks because the user would have to not only review the source code they are compiling and installing, but also would have to scan all the dependencies and what-not, and would basically have to trust the developer and/or anyone distributing an image that they did not add any malware.
nexussapphire ,

The dankest depths of archlinux wiki. Written by a guy so far gone, so war harden by reading through source code and poorly written technical documentation, ancient forums, leaving no stone unturned. A task so twisted it drives most men crazy.

1% of arch users will ever need this wiki and few have gone through this Herculean task. For them, the first draft is enough, it’s all you can ask of a mind so twisted and broken. Alas it’s as unreadable as the source code and as hard to understand as the forum post from 2009.

Presi300 ,
@Presi300@lemmy.world avatar

I mean… Bad documentation isn’t specific to selfhosting.

linearchaos ,
@linearchaos@lemmy.world avatar

They’re not long about matrix docs though. I tried to set it up a few years ago and it was irritating enough that I never got through it.

Most Dockers aren’t that bad though.

Decronym Bot , (edited )

Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I’ve seen in this thread:

Fewer Letters More Letters
DNS Domain Name Service/System
HTTP Hypertext Transfer Protocol, the Web
IP Internet Protocol
SMTP Simple Mail Transfer Protocol
ZFS Solaris/Linux filesystem focusing on data integrity

5 acronyms in this thread; the most compressed thread commented on today has 3 acronyms.

[Thread for this sub, first seen 3rd Aug 2024, 13:15] [FAQ] [Full list] [Contact] [Source code]

todd_bonzalez ,
@todd_bonzalez@lemm.ee avatar

I recently set up Synapse just to play around with the protocol, and I do not remember this instruction at all. Where did you get this?

sj_zero ,

Not sayin nothin, but you might want to look at Matrix Conduit. you won't want to keep it open, but it's much easier to set up and it uses a tiny amount of the resources. Synapse kills the server I'm running both conduit and lotide on just fine.

cheddar ,
@cheddar@programming.dev avatar

I don’t understand what isn’t clear here?

Swedneck ,
@Swedneck@discuss.tchncs.de avatar

it’s unclear what the shared secret is.

it’s actually just literally any string you want, but they should tell you that fact in the same paragraph as when it’s relevant…

doodledup ,

So why didn’t they write that? It’s a bad documentation if someone doesn’t understand it. If you’re not going to explain something, at least share a source to where it’s explained.

Mellow12 ,

Old I.T. Proverb: Documentation is like sex. Even bad documentation is better than no documentation at all.

electric_nan ,

Yeah, I can’t fuck with Docker either. Check out Yunohost if you want something that is actually easy to get up and running.

Flax_vert OP ,

I want to self host.

electric_nan ,

Yunohost is self hosting. You install Debian on your computer/server at home and run the Yunohost setup script.

Flax_vert OP ,

It seems to be it’s own operating system. Will this screw up my setup?

electric_nan ,

Probably yes. This would be for if you are starting fresh. It is a modified Debian install.

anamethatisnt ,

Alternatively, you can create new users from the command line.
This can be done as follows:

If synapse was installed via pip, activate the virtualenv as follows (if Synapse was installed via a prebuilt package, register_new_matrix_user should already be on the search path):

cd ~/synapse
source env/bin/activate
synctl start # if not already running
Run the following command:
register_new_matrix_user -c homeserver.yaml
This will prompt you to add details for the new user, and will then connect to the running Synapse to create the new user. For example:

New user localpart: erikj
Password:
Confirm password:
Make admin [no]:
Success!

This process uses a setting registration_shared_secret, which is shared between Synapse itself and the register_new_matrix_user script.
It doesn’t matter what it is (a random value is generated by --generate-config), but it should be kept secret, as anyone with knowledge of it can register users, including admin accounts, on your server even if enable_registration is false.

element-hq.github.io/synapse/…/installation.html

GBU_28 ,

What’s confusing here? Break down the steps and parts of the command

doodledup ,

Wtf do they mean by shared secret for example?

GBU_28 ,

In this example it is a config value that the software expects to be present, I’m guessing based on the screenshot it is to be added to the homeserver.yaml

Opisek ,

Setting up synapse is particularly painful.

TCB13 ,
@TCB13@lemmy.world avatar

(It’s painful, please help 🥲)

Yes, cause you’re using way too much Docker. lol

Flax_vert OP ,

This is the second thing I’m running on docker

jay ,
@jay@mbin.zerojay.com avatar

It took a little time to get the hang of it, but stick with it and it will get so much easier and it'll make self-hosting anything you want less of a pain in the future.

TCB13 ,
@TCB13@lemmy.world avatar

Yep, too much docker. 😂

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