From 0680fbfac780763221d2d16acb3ed3a27b414dc4 Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Tue, 28 Jan 2025 16:59:27 +0100 Subject: [PATCH] Update homarr-install.sh --- install/homarr-install.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/install/homarr-install.sh b/install/homarr-install.sh index 6cefae62..07a620fc 100644 --- a/install/homarr-install.sh +++ b/install/homarr-install.sh @@ -47,12 +47,12 @@ mv homarr-${RELEASE} /opt/homarr mkdir -p /opt/homarr_db touch /opt/homarr_db/db.sqlite AUTH_SECRET="$(openssl rand -base64 18 | tr -dc 'a-zA-Z0-9' | cut -c1-13)" -SECRET_ENCRYPTION_KEY="$(openssl rand -base64 32 | tr -dc 'a-zA-Z0-9' | cut -c1-32)" +SECRET_ENCRYPTION_KEY="$(openssl rand -hex 32)" cat </opt/homarr/.env -AUTH_SECRET="${AUTH_SECRET}" +AUTH_SECRET='${AUTH_SECRET}' DB_DRIVER='better-sqlite3' -SECRET_ENCRYPTION_KEY="${SECRET_ENCRYPTION_KEY}" +SECRET_ENCRYPTION_KEY='${SECRET_ENCRYPTION_KEY}' DB_URL='/opt/homarr_db/db.sqlite' TURBO_TELEMETRY_DISABLED=1 NODE_OPTIONS='-r @homarr/log/override'