Need help on self hosting vaultwarden on synology nas

Associate
Joined
19 Mar 2011
Posts
816
As above i have everything installed and running out of a docker container, what i am trying to do is
a. disable any new signups
b. enable the admin page

i have set the 2 environment variables that are needed

signups_allowed this is set to false
admin_token random characters

i restart the container go to the bitwarden login page and i can created a new account and login to vaultwarden, i type in the same address followed by /admin and
i get the following message "The admin panel is disabled, please configure the 'ADMIN_TOKEN' variable to enable it"

i have no idea what i am doing wrong or how to get past this?

thanks
 
cheers for both links everything i have done in setup seems to match with the guide's however i am still not able to open the admin panel or stop further signups :(
 
Did you install vaultwarden by a command or was it a click a button to install it? The admin token can only be configured from command line.

I’ll get you the docker container in a sec and I’ll paste the code I used to get it up and running.

Hold up… I’ll be back soon.

I’m back….

This is the code I used (no it’s not my real admin token).

Code:
docker run -d --name vaultwarden \
  -e ADMIN_TOKEN=fNx9VvekTXuvPflPQawRj9ttUNKRaOtl5KK73HbUdRNbBxe+gGa62wSBj8z7tstF \
  -v /srv/portainer/config/vaultwarden/:/data/ \
  -p 8011:80 \
  vaultwarden/server:1.27.0-alpine

After it’s installed go to your-domain/admin and it will ask you for a token. Use the token above (change a couple of chars, keep it the same length) and you will get access to a special control panel via web that you use to configure vaultwarden.
 
Last edited:
Back
Top Bottom