MrMEEE / bitwarden_rs_rpm

20 stars 2 forks source link

1.14.git2ee07ea-1.el7.centos - failed to start after update #9

Open jeffshead opened 4 years ago

jeffshead commented 4 years ago

Since Yum update, the bitwarden_rs service fails to start.

[ERROR] Web vault is not found.

Can you please help me with this? Was working before update. My config file is still intact.

[root@bw ~]# journalctl -u bitwarden_rs -- Logs begin at Sun 2020-03-15 22:01:45 EDT, end at Sun 2020-03-15 22:03:34 EDT. -- Mar 15 22:01:48 bitwarden.mysite.com systemd[1]: [/usr/lib/systemd/system/bitwarden_rs.service:21] Failed to parse protect system value, ignoring: strict Mar 15 22:01:57 bitwarden.mysite.com systemd[1]: Started Bitwarden Server (Rust Edition). Mar 15 22:01:57 bitwarden.mysite.com bitwarden_rs[1826]: /--------------------------------------------------------------------\ Mar 15 22:01:57 bitwarden.mysite.com bitwarden_rs[1826]: | Starting Bitwarden_RS | Mar 15 22:01:57 bitwarden.mysite.com bitwarden_rs[1826]: |--------------------------------------------------------------------| Mar 15 22:01:57 bitwarden.mysite.com bitwarden_rs[1826]: | This is an *unofficial* Bitwarden implementation, DO NOT use the | Mar 15 22:01:57 bitwarden.mysite.com bitwarden_rs[1826]: | official channels to report bugs/features, regardless of client. | Mar 15 22:01:57 bitwarden.mysite.com bitwarden_rs[1826]: | Report URL: https://github.com/dani-garcia/bitwarden_rs/issues/new | Mar 15 22:01:57 bitwarden.mysite.com bitwarden_rs[1826]: \--------------------------------------------------------------------/ Mar 15 22:01:57 bitwarden.mysite.com bitwarden_rs[1826]: [2020-03-15 22:01:57][bitwarden_rs][ERROR] Web vault is not found. To install it, please follow the steps in: Mar 15 22:01:57 bitwarden.mysite.com systemd[1]: bitwarden_rs.service: main process exited, code=exited, status=1/FAILURE Mar 15 22:01:57 bitwarden.mysite.com systemd[1]: Unit bitwarden_rs.service entered failed state. Mar 15 22:01:57 bitwarden.mysite.com systemd[1]: bitwarden_rs.service failed. [root@bw ~]#

jeffshead commented 4 years ago

UPDATE: I think I fixed the issue. It seems the path to the web vault was changed by the '1.14.git2ee07ea-1.el7.centos' update.

Before the update, it was located here: /opt/bitwarden_rs/web/ After the update, is it located here: /opt/bitwarden_rs/web/web-vault/

I had to edit my config file (/etc/bitwarden_rs/bitwarden-rs.conf) I changed the relevant line from: WEB_VAULT_FOLDER=/opt/bitwarden_rs/web To: WEB_VAULT_FOLDER=/opt/bitwarden_rs/web/web-vault

ajostergaard commented 4 years ago

Seems like an upstream issue - certainly nothing to do here. Raise it here if you like.