Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Matrix
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Container Registry
Model registry
Operate
Environments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TeDomum
Matrix
Commits
1048ed2a
Unverified
Commit
1048ed2a
authored
4 years ago
by
Travis Ralston
Committed by
GitHub
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Clarify that undoing a shutdown might not be possible (#8010)
parent
de6f8920
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
changelog.d/8010.doc
+1
-0
1 addition, 0 deletions
changelog.d/8010.doc
docs/admin_api/shutdown_room.md
+10
-3
10 additions, 3 deletions
docs/admin_api/shutdown_room.md
with
11 additions
and
3 deletions
changelog.d/8010.doc
0 → 100644
+
1
−
0
View file @
1048ed2a
Add documentation for how to undo a room shutdown.
This diff is collapsed.
Click to expand it.
docs/admin_api/shutdown_room.md
+
10
−
3
View file @
1048ed2a
...
...
@@ -79,13 +79,20 @@ Response:
the structure can and does change without notice.
First, it's important to understand that a room shutdown is very destructive. Undoing a shutdown is not as simple as pretending it
never happened - work has to be done to move forward instead of resetting the past.
never happened - work has to be done to move forward instead of resetting the past. In fact, in some cases it might not be possible
to recover at all:
1.
For safety reasons, it is recommended to shut down Synapse prior to continuing.
*
If the room was invite-only, your users will need to be re-invited.
*
If the room no longer has any members at all, it'll be impossible to rejoin.
*
The first user to rejoin will have to do so via an alias on a different server.
With all that being said, if you still want to try and recover the room:
1.
For safety reasons, shut down Synapse.
2.
In the database, run
`DELETE FROM blocked_rooms WHERE room_id = '!example:example.org';`
*
For caution: it's recommended to run this in a transaction:
`BEGIN; DELETE ...;`
, verify you got 1 result, then
`COMMIT;`
.
*
The room ID is the same one supplied to the shutdown room API, not the Content Violation room.
3.
Restart Synapse
(required)
.
3.
Restart Synapse.
You will have to manually handle, if you so choose, the following:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment