Skip to content

Commit 0721c33

Browse files
[Docs] Update Troubleshooting Documentation for expired lorisadmin account (#8102)
Resolves #7974
1 parent 2278498 commit 0721c33

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

docs/wiki/00_SERVER_INSTALL_AND_CONFIGURATION/01_LORIS_Install/Troubleshooting.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,18 @@ Active = 'Y'
5858
Pending_approval = 'N'
5959
Password_expiry column value is later than today's date
6060
```
61-
61+
If your admin user has been deactivated due to inactivity, you can get past that using the following steps:
62+
63+
1. Log into the to mysql backend with your admin credential
64+
2. Make sure the `Active` column in the `users` MySQL table is set to `Y` for this user, if not you can do so with the following command:
65+
```
66+
UPDATE users SET active = 'Y' WHERE UserID = 'admin';
67+
```
68+
3. Run the following command:
69+
```
70+
INSERT INTO user_login_history (userID,Success,Page_requested) VALUE ('admin','Y','/');
71+
```
72+
6273
You can also reset your admin password with the script [tools/resetpassword.php](https://github.com/aces/Loris/blob/main/tools/resetpassword.php).
6374

6475
```bash

0 commit comments

Comments
 (0)