You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/reset-password.md
+9Lines changed: 9 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,3 +28,12 @@ Forgot your Plausible account password? Here's how to reset your Plausible accou
28
28
* Note that after you successfully reset your password, we will automatically log out [any of your active sessions](login-management.md) on your other devices.
29
29
30
30
<img alt="Reset your account password" src={useBaseUrl('img/reset-password.png')} />
31
+
32
+
## How to reset Plausible account password in Docker
33
+
34
+
When you are self-hosting Plausible and have not set up e-mails by some reason you could want
35
+
to reset password from CLI.
36
+
37
+
* Find your main Plausible container by executing `docker ps` (the name should be something like: `plausible-plausible-1`)
38
+
* Run `docker exec -it plausible-plausible-1 /app/bin/plausible remote` (command contains example name)
39
+
* Run `Plausible.Repo.get_by(Plausible.Auth.User, email: "youremail@example.com") |> Plausible.Auth.User.set_password("yourNewPassword") |> Plausible.Repo.update`
0 commit comments