From ae0684b6968b4b61919f797a3c690e95bf2723b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A5vard=20Gj=C3=B8by=20Thom?= <34199185+havardthom@users.noreply.github.com> Date: Fri, 13 Dec 2024 13:33:34 +0100 Subject: [PATCH] Fix config bug in Alpine Vaultwarden (#775) --- install/alpine-vaultwarden-install.sh | 4 +++- json/vaultwarden.json | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/install/alpine-vaultwarden-install.sh b/install/alpine-vaultwarden-install.sh index 1babe427..dffd20b0 100644 --- a/install/alpine-vaultwarden-install.sh +++ b/install/alpine-vaultwarden-install.sh @@ -25,7 +25,9 @@ msg_ok "Installed Dependencies" msg_info "Installing Alpine-Vaultwarden" $STD apk add vaultwarden -sed -i -e 's/# export ADMIN_TOKEN=.*/export ADMIN_TOKEN='\'''\''/' -e '/^# export ROCKET_ADDRESS=0\.0\.0\.0/s/^# //' -e 's|export WEB_VAULT_ENABLED=.*|export WEB_VAULT_ENABLED=true|' /etc/conf.d/vaultwarden +sed -i -e 's|export WEB_VAULT_ENABLED=.*|export WEB_VAULT_ENABLED=true|' /etc/conf.d/vaultwarden +echo -e "export ADMIN_TOKEN=''" >>/etc/conf.d/vaultwarden +echo -e "export ROCKET_ADDRESS=0.0.0.0" >>/etc/conf.d/vaultwarden msg_ok "Installed Alpine-Vaultwarden" msg_info "Installing Web-Vault" diff --git a/json/vaultwarden.json b/json/vaultwarden.json index 96bf55b5..d36cffbf 100644 --- a/json/vaultwarden.json +++ b/json/vaultwarden.json @@ -47,7 +47,7 @@ "type": "warning" }, { - "text": "Build Settings for normal LXC: 6GB RAM - 6GB Storage - 4vCPU", + "text": "To set the Admin Token, run the command below (or type update) in the LXC Console.", "type": "info" } ]