mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-04-26 01:35:54 +03:00
[GH-ISSUE #6373] After deploying Vaultwarden via Docker using the following command, I cannot access the admin panel. #2412
Labels
No labels
SSO
Third party
better for forum
bug
bug
documentation
duplicate
enhancement
future Vault
future Vault
future Vault
good first issue
help wanted
low priority
notes
pull-request
question
troubleshooting
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/vaultwarden#2412
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @jy00295017 on GitHub (Oct 19, 2025).
Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/6373
Prerequisites
Vaultwarden Support String
After deploying Vaultwarden via Docker using the following command, I cannot access the admin panel.
docker run -d
--name vaultwarden
--restart=unless-stopped
-p 60854:80
-p 60855:3012
-v /Users/development/docker/vaultwarden/data:/data
-e TZ=Asia/Shanghai
-e SHOW_PASSWORD_HINT=false
-e LOGIN_RATELIMIT_MAX_BURST=10
-e LOGIN_RATELIMIT_SECONDS=60
-e ADMIN_TOKEN=$(openssl rand -base64 48)
-e ADMIN_RATELIMIT_MAX_BURST=5
-e ADMIN_RATELIMIT_SECONDS=60
-e ADMIN_SESSION_LIFETIME=20
-e SENDS_ALLOWED=true
-e EMERGENCY_ACCESS_ALLOWED=true
-e WEB_VAULT_ENABLED=true
-e EMERGENCY_ACCESS_ALLOWED=true
-e SENDS_ALLOWED=true
-e WEBSOCKET_ENABLED=true
-e SIGNUPS_ALLOWED=true
vaultwarden/server:latest
Vaultwarden Build Version
vaultwarden/server:latest
Deployment method
Official Container Image
Custom deployment method
No response
Reverse Proxy
not used
Host/Server Operating System
Linux
Operating System Version
No response
Clients
Web Vault
Client Version
No response
Steps To Reproduce
After deploying Vaultwarden via Docker using the following command, I cannot access the admin panel.
docker run -d
--name vaultwarden
--restart=unless-stopped
-p 60854:80
-p 60855:3012
-v /Users/development/docker/vaultwarden/data:/data
-e TZ=Asia/Shanghai
-e SHOW_PASSWORD_HINT=false
-e LOGIN_RATELIMIT_MAX_BURST=10
-e LOGIN_RATELIMIT_SECONDS=60
-e ADMIN_TOKEN=$(openssl rand -base64 48)
-e ADMIN_RATELIMIT_MAX_BURST=5
-e ADMIN_RATELIMIT_SECONDS=60
-e ADMIN_SESSION_LIFETIME=20
-e SENDS_ALLOWED=true
-e EMERGENCY_ACCESS_ALLOWED=true
-e WEB_VAULT_ENABLED=true
-e EMERGENCY_ACCESS_ALLOWED=true
-e SENDS_ALLOWED=true
-e WEBSOCKET_ENABLED=true
-e SIGNUPS_ALLOWED=true
vaultwarden/server:latest
Expected Result
After deploying Vaultwarden via Docker using the following command, I cannot access the admin panel.
docker run -d
--name vaultwarden
--restart=unless-stopped
-p 60854:80
-p 60855:3012
-v /Users/development/docker/vaultwarden/data:/data
-e TZ=Asia/Shanghai
-e SHOW_PASSWORD_HINT=false
-e LOGIN_RATELIMIT_MAX_BURST=10
-e LOGIN_RATELIMIT_SECONDS=60
-e ADMIN_TOKEN=$(openssl rand -base64 48)
-e ADMIN_RATELIMIT_MAX_BURST=5
-e ADMIN_RATELIMIT_SECONDS=60
-e ADMIN_SESSION_LIFETIME=20
-e SENDS_ALLOWED=true
-e EMERGENCY_ACCESS_ALLOWED=true
-e WEB_VAULT_ENABLED=true
-e EMERGENCY_ACCESS_ALLOWED=true
-e SENDS_ALLOWED=true
-e WEBSOCKET_ENABLED=true
-e SIGNUPS_ALLOWED=true
vaultwarden/server:latest
Actual Result
After deploying Vaultwarden via Docker using the following command, I cannot access the admin panel.
docker run -d
--name vaultwarden
--restart=unless-stopped
-p 60854:80
-p 60855:3012
-v /Users/development/docker/vaultwarden/data:/data
-e TZ=Asia/Shanghai
-e SHOW_PASSWORD_HINT=false
-e LOGIN_RATELIMIT_MAX_BURST=10
-e LOGIN_RATELIMIT_SECONDS=60
-e ADMIN_TOKEN=$(openssl rand -base64 48)
-e ADMIN_RATELIMIT_MAX_BURST=5
-e ADMIN_RATELIMIT_SECONDS=60
-e ADMIN_SESSION_LIFETIME=20
-e SENDS_ALLOWED=true
-e EMERGENCY_ACCESS_ALLOWED=true
-e WEB_VAULT_ENABLED=true
-e EMERGENCY_ACCESS_ALLOWED=true
-e SENDS_ALLOWED=true
-e WEBSOCKET_ENABLED=true
-e SIGNUPS_ALLOWED=true
vaultwarden/server:latest
Logs
Screenshots or Videos
No response
Additional Context
No response
@stefan0xC commented on GitHub (Oct 19, 2025):
It seems that you are generating a random token each time you recreate the container. If you want to login you can check what value is set for the environment variable.
Cf. https://github.com/dani-garcia/vaultwarden/wiki/Enabling-admin-page for more information.
btw:
WEBSOCKET_ENABLEDand port3012are not used anymore (since version v1.31.0!) so you are probably using an outdated tutorial.