-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #438 from sbondCo/doc-restoring-admin
docs: restoring admin guide
- Loading branch information
Showing
4 changed files
with
28 additions
and
0 deletions.
There are no files selected for viewing
Binary file added
BIN
+19.1 KB
doc/docs/server_config/img/request-admin/admin-token-generated-log-example.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
--- | ||
sidebar_position: 10 | ||
description: Getting admin privileges for your account without already having access to an account with admin. | ||
--- | ||
|
||
# Restoring Admin Priviliges | ||
|
||
This guide will help you restore/give admin access to any account without needing an account with admin. If you ever accidentally remove your permissions, this is the easiest way to get them back. | ||
|
||
All you will need is access to the `watcharr.log` file. | ||
|
||
## Steps | ||
|
||
1. Login with the account you'd like to give admin to. | ||
|
||
2. Navigate to the `/request_admin` page manually (ex: `127.0.0.1:3080/request_admin`) and click the `request` button. | ||
|
||
![requesting an admin token](./img/request-admin/request-admin-btn.png) | ||
|
||
3. Check your `watcharr.log` file (or simply check `docker compose logs` if using docker compose) and look for the generated admin token (highlighted in the image below). | ||
|
||
![finding admin token in log](./img/request-admin/admin-token-generated-log-example.png) | ||
|
||
4. Enter the code from the log (you should have been taken here after clicking the request button in step 2). | ||
|
||
![redeeming admin token](./img/request-admin/redeeming-admin-token.png) | ||
|
||
5. Click `Check Token`, if it is correct and still valid (they expire after ~2 minutes or once used), your account will now have admin. |