I had a working version of Vaultwarden (VW) (installed in a container at OMV), unfortunately I forgot the password. After several attempts to remember the password, I decided to reinstall VW.
The steps performed:
- stop the docker
- delete the data directory (according to the path in the compose file)
- restart Docker from the compose file
After such a reinstallation, when I enter the VW site, it should ask me to create a new account - unfortunately it does not. is the login page.
When I enter via “/admin”, registered user table is empty.
What can I do to get VW up and running with a new database?
Below the file I post the docker file
version: '3.3' services: server: container_name: vaultwarden restart: unless-stopped volumes: - /srv/devid/appdata/vaultwarden/:/data/ ports: - 82:80 image: vaultwarden/server:latest environment: - DOMAIN=https://vaulut.foo.com - LOGIN_RATELIMIT_MAX_BURST=5 - LOGIN_RATELIMIT_SECONDS=120 - ADMIN_RATELIMIT_MAX_BURST=5 - ADMIN_RATELIMIT_SECONDS=120 - ADMIN_TOKEN="changedToken" - SENDS_ALLOWED=true - EMERGENCY_ACCESS_ALLOWED=true - WEB_VAULT_ENABLED=true - SIGNUPS_ALLOWED=true - SIGNUPS_VERIFY=true - SIGNUPS_VERIFY_RESEND_TIME=3600 - SIGNUPS_VERIFY_RESEND_LIMIT=5 - SIGNUPS_DOMAINS_WHITELIST=foo.com - SMTP_HOST=smtp.foo.com - SMTP_FROMemail@example.com - SMTP_FROM_NAME=Vaultwarden - SMTP_SECURITY=starttls - SMTP_PORT=587 - SMTP_USERNAMEfirstname.lastname@example.org - SMTP_PASSWORD=somePassword - SMTP_AUTH_MECHANISM="Login"