Admin token recreate

I can’t no longer acces the mysite.be/admin because I no longer have the password

I have made a new admin token.
but where do I place it?
removing the container and remaking it with
sudo docker run -d --name vaultwarden -e ADMIN_TOKEN=‘-token-’ -v /vw-data/:/data/ --restart unless-stopped -p 801:80 vaultwarden/server:latest

does not seem to replace the password

please help

for future users:
cd /vm-data/
ls
sudo nano config.json
replace the token
stop container
start container

I found it :slight_smile:

1 Like