matrix.org (communication)
-
@msbt do you also have to set a redirect record for example.com to make it work? Or is it just me?
-
@stantropics I had a surfer app at example.com and curl'ing the well-known url gave me a 404. After a bit of reconfiguring it worked, not sure if that's your setup as well, but maybe try reconfiguring the example.com app and see if that solves your issue (if that's what you're asking)
-
@msbt @girish I am not using the root-domain (example.com) at all currently. But matrix seems to not work if I don't set it up as a redirect for matrix.example.com.
-
@msbt Thanks for the work you put in it!
I have successfully deployed the app, it was necessary do edit CloudronManifest.json and remove the udp ports there.
Do you know how the postgresql db can be edited to make a user an admin? I would like to follow the documentation here: https://github.com/matrix-org/synapse/wiki@stantropics In the terminal you should be able run the psql command to update a user to admin.
To get the password type:
echo $CLOUDRON_POSTGRESQL_PASSWORDpsql --host=$CLOUDRON_POSTGRESQL_HOST port=$CLOUDRON_POSTGRESQL_PORT $CLOUDRON_POSTGRESQL_DATABASE $CLOUDRON_POSTGRESQL_USERNAME
[right-click-Copy and ctrl-v paste in the password]
UPDATE users SET admin = 1 WHERE name = '@foo:bar.com';
BUT: I am getting: psql: FATAL: password authentication failed for user ...
Can anyone see what I am doing wrong? @girish ?
-
@jimscarver In the Terminal, there is a Postgres button on the top. Just clicking it will paste the command to connect to postgres. Just paste enter after that.
(That aside, I think the mistake in your cli is possibly that the database name is not set)
-
I've been looking at matrix-appservice-webhooks a bit and the way it works makes it a good candidate for inclusion.
It works like so:
- a webhooks bot is created
- you invite this bot to a room
- you create a new webhook with the
!webbook
command - the bot sends you a pm with the credentials for this specific new webhook
- profit
This means that this integrations grants an unlimited amount of webhooks, so it's not a one-time thing.
Would you be willing to look into it?