From a94bc0234ffe57dc5fee51d64c887d9c480e5643 Mon Sep 17 00:00:00 2001 From: tteckster Date: Sat, 25 May 2024 13:51:52 -0400 Subject: [PATCH] Update linkwarden-install.sh fixes https://github.com/tteck/Proxmox/issues/3065 --- install/linkwarden-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/linkwarden-install.sh b/install/linkwarden-install.sh index eaae6bfd..9d5c455d 100644 --- a/install/linkwarden-install.sh +++ b/install/linkwarden-install.sh @@ -42,7 +42,7 @@ msg_ok "Cloned Linkwarden Repository" msg_info "Setting up PostgreSQL DB" DB_NAME=linkwardendb DB_USER=linkwarden -DB_PASS="$(openssl rand -base64 18 | cut -c1-13)" +DB_PASS="$(openssl rand -base64 18 | tr -d '/' | cut -c1-13)" $STD sudo -u postgres psql -c "CREATE ROLE $DB_USER WITH LOGIN PASSWORD '$DB_PASS';" $STD sudo -u postgres psql -c "CREATE DATABASE $DB_NAME WITH OWNER $DB_USER TEMPLATE template0;"