From 25eaf5794fa0013a8fe094edaccbf4fa18956f59 Mon Sep 17 00:00:00 2001 From: Dennis Eriksen Date: Mon, 3 May 2021 15:46:37 +0200 Subject: moving one more file, and adding readme for upgrading --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index d210eaa..e84ffc3 100644 --- a/README.md +++ b/README.md @@ -23,3 +23,17 @@ Now all you need to do is to run it - `machinectl start vaultwarden`. You can drop into the container to troubleshoot using `machinectl shell vaultwarden`, and you can view logs using `journalctl -M vaultwarden` from the host, or `journalctl -u vaultwarden` from inside the container. + +## Upgrading from "bitwarden-rs" to "vaultwarden" +Vaultwarden recently changed name from Bitwarden-RS to Vaultwarden, and a lot +of files have been moved around. If you've been using this mkosi-template, this +should be the upgrade-path: + +``` +$ sudo mv /etc/bitwarden_rs /etc/vaultwarden +$ sudo mv /etc/vaultwarden/bitwarden_rs.env /etc/vaultwarden/env +$ sudo mv /var/local/bitwarden_rs /var/local/vaultwarden +$ sudo chown -R 29033447:29033447 /var/local/vaultwarden/data +``` +As you can see, some files have been moved around, and also we've set a more +static UID for the vaultwarden-user. -- cgit v1.2.3