Setup on Arch Linux (no Docker)

Hi and thanks for Vaultwarden!

I’m trying to set up Vaultwarden on Arch Linux.

After installing the package “vaultwarden” and starting the service using systemctl start vaultwarden, I see this with journalctl -u vaultwarden.service:

May 24 16:18:01 zurich systemd[1]: Started Bitwarden Server (Rust Edition).
May 24 16:18:01 zurich vaultwarden[1441622]: /--------------------------------------------------------------------\
May 24 16:18:01 zurich vaultwarden[1441622]: |                        Starting Vaultwarden                        |
May 24 16:18:01 zurich vaultwarden[1441622]: |                           Version 1.21.0                           |
May 24 16:18:01 zurich vaultwarden[1441622]: |--------------------------------------------------------------------|
May 24 16:18:01 zurich vaultwarden[1441622]: | This is an *unofficial* Bitwarden implementation, DO NOT use the   |
May 24 16:18:01 zurich vaultwarden[1441622]: | official channels to report bugs/features, regardless of client.   |
May 24 16:18:01 zurich vaultwarden[1441622]: | Send usage/configuration questions or feature requests to:         |
May 24 16:18:01 zurich vaultwarden[1441622]: |   https://bitwardenrs.discourse.group/                             |
May 24 16:18:01 zurich vaultwarden[1441622]: | Report suspected bugs/issues in the software itself at:            |
May 24 16:18:01 zurich vaultwarden[1441622]: |   https://github.com/dani-garcia/vaultwarden/issues/new            |
May 24 16:18:01 zurich vaultwarden[1441622]: \--------------------------------------------------------------------/
May 24 16:18:01 zurich vaultwarden[1441622]: [INFO] No .env file found.
May 24 16:18:01 zurich vaultwarden[1441622]: [2021-05-24 16:18:01.494][start][INFO] Rocket has launched from http://0.0.0.0:8000

Visiting http://localhost:8000 with Firefox or Chrome yields a 404 HTML response from Rocket.

What configuration is necessary for getting to Vaultwarden’s web interface?

Thanks!

If I’m correct you also need Arch Linux - vaultwarden-web 2.20.1-1 (any)

Thanks! These were the steps necessary to get Vaultwarden running locally and being accessible via the web interface at localhost:8000 on Arch Linux:

  • pacman -Sy vaultwarden vaultwarden-web
  • Set the following in /etc/vaultwarden.env:
    WEB_VAULT_FOLDER=/usr/share/webapps/vaultwarden-web
    WEB_VAULT_ENABLED=true
  • systemctl enable --now vaultwarden