Replies: 1 comment 3 replies
-
You cant Reach Github or doesnt have curl installed |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
when i login to my ct and enter update i get a no command found, when i try to run the script it spews this out - sorry the formating is all over the place, can't seem to make it not fo that :(
`
root@VaultWarden:~# bash -c -v "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/vaultwarden.sh)"
#!/usr/bin/env bash
source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func)
bash: line 2: curl: command not found
Copyright (c) 2021-2025 tteck
Author: tteck (tteckster)
License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
Source: https://www.vaultwarden.net/
App Default Values
APP="Vaultwarden"
var_tags="password-manager"
var_cpu="4"
var_ram="6144"
var_disk="6"
var_os="debian"
var_version="12"
var_unprivileged="1"
App Output & Base Settings
header_info "$APP"
bash: line 19: header_info: command not found
base_settings
bash: line 20: base_settings: command not found
Core
variables
bash: line 23: variables: command not found
color
bash: line 24: color: command not found
catch_errors
bash: line 25: catch_errors: command not found
function update_script() {
header_info
check_container_storage
check_container_resources
if [[ ! -f /etc/systemd/system/vaultwarden.service ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
VAULT=$(curl -s https://api.github.com/repos/dani-garcia/vaultwarden/releases/latest |
WVRELEASE=$(curl -s https://api.github.com/repos/dani-garcia/bw_web_builds/releases/latest |
UPD=$(whiptail --backtitle "Proxmox VE Helper Scripts" --title "SUPPORT" --radiolist --cancel-button Exit-Script "Spacebar = Select" 11 58 3 \
if [ "$UPD" == "1" ]; then
msg_info "Stopping Vaultwarden"
systemctl stop vaultwarden.service
msg_ok "Stopped Vaultwarden"
fi
if [ "$UPD" == "2" ]; then
msg_info "Stopping Vaultwarden"
systemctl stop vaultwarden.service
msg_ok "Stopped Vaultwarden"
fi${NEWTOKEN} | argon2 "$ (openssl rand -base64 32)" -t 2 -m 16 -p 4 -l 64 -e)
if [ "$UPD" == "3" ]; then
if NEWTOKEN=$(whiptail --backtitle "Proxmox VE Helper Scripts" --passwordbox "Set the ADMIN_TOKEN" 10 58 3>&1 1>&2 2>&3); then
if [[ -z "$NEWTOKEN" ]]; then exit; fi
if ! command -v argon2 >/dev/null 2>&1; then apt-get install -y argon2 &>/dev/null; fi
TOKEN=$(echo -n
sed -i "s|ADMIN_TOKEN=.|ADMIN_TOKEN='${TOKEN}'|" /opt/vaultwarden/.env
if [[ -f /opt/vaultwarden/data/config.json ]]; then
sed -i "s|"admin_token":.|"admin_token": "${TOKEN}"|" /opt/vaultwarden/data/config.json
fi
systemctl restart vaultwarden
fi
exit
fi
}
and the server is not updated
start
bash: line 113: start: command not found
build_container
bash: line 114: build_container: command not found
description
bash: line 115: description: command not found
msg_ok "Completed Successfully!\n"
bash: line 117: msg_ok: command not found
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
Vaultwarden setup has been successfully initialized!
echo -e "${INFO}${YW} Access it using the following URL:${CL}"
Access it using the following URL:
echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:8000${CL}"
http://:8000
`
Beta Was this translation helpful? Give feedback.
All reactions