mirror of
https://github.com/YunoHost-Apps/synapse_ynh.git
synced 2024-09-03 20:26:38 +02:00
Update README
This commit is contained in:
parent
c07318bf41
commit
f4420e18b6
1 changed files with 37 additions and 0 deletions
37
README.md
37
README.md
|
@ -50,6 +50,43 @@ We have put some coarse mitigations into place to try to protect against this
|
||||||
situation, but it's still not good practice to do it in the first place. See
|
situation, but it's still not good practice to do it in the first place. See
|
||||||
https://github.com/vector-im/riot-web/issues/1977 for more details.
|
https://github.com/vector-im/riot-web/issues/1977 for more details.
|
||||||
|
|
||||||
|
Install
|
||||||
|
-------
|
||||||
|
|
||||||
|
From command line:
|
||||||
|
|
||||||
|
`sudo yunohost app install -l synapse https://github.com/YunoHost-Apps/synapse_ynh`
|
||||||
|
|
||||||
|
Upgrade
|
||||||
|
-------
|
||||||
|
|
||||||
|
From command line:
|
||||||
|
|
||||||
|
`sudo yunohost app upgrade synapse -u https://github.com/YunoHost-Apps/synapse_ynh`
|
||||||
|
|
||||||
|
Issue
|
||||||
|
-----
|
||||||
|
|
||||||
|
Any issue is welcome here : https://github.com/YunoHost-Apps/synapse_ynh/issues
|
||||||
|
|
||||||
|
Administation
|
||||||
|
-------------
|
||||||
|
|
||||||
|
**All documentation of this section is not warranted. A bad use of command could broke the app and all the data. So use theses command at your own risk.**
|
||||||
|
|
||||||
|
Before any manipulation it's recommended to do a backup by this following command :
|
||||||
|
|
||||||
|
`sudo yunohost backup create --verbose --ignore-system --apps synapse`
|
||||||
|
|
||||||
|
### Set user as admin
|
||||||
|
|
||||||
|
Actually there are no function in the client interface to set a user as admin. So it's possible to enable it manually in the database.
|
||||||
|
|
||||||
|
This following command will enable the admin access to the specified user :
|
||||||
|
```
|
||||||
|
su --command="psql matrix_synapse" postgres <<< "UPDATE users SET admin = 1 WHERE name = '@user_to_be_admin:domain.tld'"
|
||||||
|
```
|
||||||
|
|
||||||
Migration from old package
|
Migration from old package
|
||||||
--------------------------
|
--------------------------
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue