Skip to content

Privacy-first password manager with built-in email aliasing. Fully encrypted and self-hostable.

Update password reset docs instructions (#2335)

Leendert de Borst9342737a4e8d
diff --git a/apps/server/AliasVault.Admin/Auth/Pages/Login.razor b/apps/server/AliasVault.Admin/Auth/Pages/Login.razor
index 76d6f7395..a662afbad 100644
--- a/apps/server/AliasVault.Admin/Auth/Pages/Login.razor
+++ b/apps/server/AliasVault.Admin/Auth/Pages/Login.razor
@@ -18,7 +18,7 @@
<li>
Connect to your Docker container:
<div>
- <code class="bg-gray-700 text-white px-1 py-0.5 rounded text-xs">$ docker compose exec -it aliasvault /bin/bash</code>
+ <code class="bg-gray-700 text-white px-1 py-0.5 rounded text-xs">$ docker exec -it aliasvault /bin/bash</code>
</div>
</li>
<li>
@@ -30,7 +30,7 @@
<li>
Exit out of the container, then restart the container to apply changes:
<div>
- <code class="bg-gray-700 text-white px-1 py-0.5 rounded text-xs">$ docker compose restart</code>
+ <code class="bg-gray-700 text-white px-1 py-0.5 rounded text-xs">$ docker restart aliasvault</code>
</div>
</li>
</ol>
diff --git a/docs/docs/installation/docker-compose/troubleshooting.md b/docs/docs/installation/docker-compose/troubleshooting.md
index 587196ba8..1648f5500 100644
--- a/docs/docs/installation/docker-compose/troubleshooting.md
+++ b/docs/docs/installation/docker-compose/troubleshooting.md
@@ -138,7 +138,7 @@ You can reset the admin password by running the `aliasvault reset-admin-password
1. SSH into the aliasvault container:
```bash
-docker compose exec -it aliasvault /bin/bash
+docker exec -it aliasvault /bin/bash
```
2. Run the reset-admin-password script:
@@ -148,11 +148,15 @@ aliasvault reset-admin-password
3. Note the password displayed, then exit the SSH session (`Ctrl+C` or type `exit`) and restart the container:
```bash
-docker compose restart
+docker restart aliasvault
```
4. You can now log in to the admin panel (`/admin`) with the new password.
+:::note
+The commands above use `docker` directly so they also work when the compose file is not available from your current shell, e.g. when the stack is managed by a NAS UI such as OpenMediaVault, Synology or Unraid. If you run the compose file yourself, `docker compose exec -it aliasvault /bin/bash` and `docker compose restart` work equally well from the directory that contains your `docker-compose.yml`.
+:::
+
### 5. Mobile app cannot connect, but web app and browser extension work
The mobile apps enforce certificate trust at the OS level and reject certificates that browsers would accept with a warning. The certificate served by your reverse proxy must be issued by a publicly recognized CA: self-signed certificates, internal CAs, or ones manually added to the device keystore will not work.