|
|
@@ -35,4 +35,15 @@ In general, there are better solutions to any problem than dropping the database |
|
|
|
There are two exceptions when it might be sensible to delete your database and start again: |
|
|
|
* You have *never* joined any rooms which are federated with other servers. For instance, a local deployment which the outside world can't talk to. |
|
|
|
* You are changing the `server_name` in the homeserver configuration. In effect this makes your server a completely new one from the point of view of the network, so in this case it makes sense to start with a clean database. |
|
|
|
(In both cases you probably also want to clear out the media_store.) |
|
|
|
(In both cases you probably also want to clear out the media_store.) |
|
|
|
|
|
|
|
I've stuffed up access to my room, how can I delete it to free up the alias? |
|
|
|
--- |
|
|
|
curl -H 'Authorization: Bearer <access-token>' -X DELETE https://matrix.org/_matrix/client/r0/directory/room/<room-alias> |
|
|
|
|
|
|
|
<access-token> can be obtained in riot by looking in the riot settings, down the bottom is: |
|
|
|
Access Token:<click to reveal> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|