Matrix/Riot
-
wrote on Apr 21, 2020, 12:18 PM last edited by
I'm transitioning my external reverse-proxy-and-well-known solution to the Cloudron solution. Is there any way I can configure Riot to have
https://domain.tld
asbase_url
while still having the Synapse server athttps://matrix.domain.tld
? This way I would be able keep Riot user sessions across migration. -
@yusf That should not be a problem. Riot can be installed on the main domain as well. Just make sure the
.well-known
is setup on the server. -
wrote on Apr 28, 2020, 11:11 PM last edited by
FWIW, I just installed all of this and tested it. Works great, instructions are clear. The yaml edits referenced by @msbt were quite helpful on the external-registration side.
Look forward to the eventual Jitsi package.
-
@yusf reverse proxy configs will get overwritten during updates. I think https://cloudron.io/documentation/apps/#well-known-uris should help setup well knowns the way you want them, no?
-
@yusf reverse proxy configs will get overwritten during updates. I think https://cloudron.io/documentation/apps/#well-known-uris should help setup well knowns the way you want them, no?
wrote on May 1, 2020, 8:55 PM last edited by yusf May 1, 2020, 9:04 PM@girish Well-known is in place for Synapse already, but it seems that well-known configurations aren't enough to enable entering
domain.tld
as homeserver in Riot sign-in when the server is atmatrix.domain.tld
.What seems to be needed is the ability to forward the whole
/_matrix
path atdomain.tld
to Synapse.In nginx terms I belive that would look something like this:
server { listen 443; server_name domain.tld; location /_matrix { proxy_pass https://matrix.domain.tld; } }
-
OK, I found https://github.com/vector-im/riot-web/issues/4125 which is an open issue for implementing admin functions in Riot. I also found https://github.com/Awesome-Technologies/synapse-admin which can probably be run locally.
wrote on Jun 18, 2022, 10:30 PM last edited by@girish I really hope this is possible add this in Wishlist for Matrix User and room manageable so spamming prevent and keep my chat server clean
-
@girish I really hope this is possible add this in Wishlist for Matrix User and room manageable so spamming prevent and keep my chat server clean
@ApplegateR said in Matrix/Riot:
@girish I really hope this is possible add this in Wishlist for Matrix User and room manageable so spamming prevent and keep my chat server clean
What are you referring to ? Did you maybe reply in the wrong thread?
-
@ApplegateR said in Matrix/Riot:
@girish I really hope this is possible add this in Wishlist for Matrix User and room manageable so spamming prevent and keep my chat server clean
What are you referring to ? Did you maybe reply in the wrong thread?
wrote on Jun 20, 2022, 6:10 AM last edited by@girish have a admin access from web. So that way I can manage user or room.
-
@girish have a admin access from web. So that way I can manage user or room.
@ApplegateR you can just grab the synapse admin package from here and put it inside a Surfer/LAMP app, it's just static files. You can login with your admin user and manage users and channels.
-
@girish have a admin access from web. So that way I can manage user or room.
wrote on Jun 20, 2022, 3:23 PM last edited by humptydumpty Jun 20, 2022, 3:25 PM@ApplegateR I just tried what @msbt mentioned and it works great. One error I ran into was that after uploading the files to a root surfer app and trying to log in, it spit out a "session expired" error. It turned out the account I was using wasn't an admin. To make a user an admin, refer to the doc here.
Basically, in Cloudron --> app settings page --> web terminal, and enter this code.
PGPASSWORD=${CLOUDRON_POSTGRESQL_PASSWORD} psql -h ${CLOUDRON_POSTGRESQL_HOST} -p ${CLOUDRON_POSTGRESQL_PORT} -U ${CLOUDRON_POSTGRESQL_USERNAME} -d ${CLOUDRON_POSTGRESQL_DATABASE} -c "UPDATE users SET admin=1 WHERE name='@user:example.com'"
The only part you need to edit is the one at the end to match your desired Matrix user:
@user:example.com
Then, you can log in and manage the Matrix server.
-
@ApplegateR I just tried what @msbt mentioned and it works great. One error I ran into was that after uploading the files to a root surfer app and trying to log in, it spit out a "session expired" error. It turned out the account I was using wasn't an admin. To make a user an admin, refer to the doc here.
Basically, in Cloudron --> app settings page --> web terminal, and enter this code.
PGPASSWORD=${CLOUDRON_POSTGRESQL_PASSWORD} psql -h ${CLOUDRON_POSTGRESQL_HOST} -p ${CLOUDRON_POSTGRESQL_PORT} -U ${CLOUDRON_POSTGRESQL_USERNAME} -d ${CLOUDRON_POSTGRESQL_DATABASE} -c "UPDATE users SET admin=1 WHERE name='@user:example.com'"
The only part you need to edit is the one at the end to match your desired Matrix user:
@user:example.com
Then, you can log in and manage the Matrix server.
wrote on Jun 20, 2022, 7:17 PM last edited by@humptydumpty and @msbt thank you guy for Huge help and why this wasn't on docs if anyone really interesting to have one for matrix management
-
@humptydumpty and @msbt thank you guy for Huge help and why this wasn't on docs if anyone really interesting to have one for matrix management
wrote on Jun 20, 2022, 9:01 PM last edited by@ApplegateR confirm it is work and thank you and I will just use surfer it better than nothing! much appericate of creator done this