We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 41a836f commit 0680fbfCopy full SHA for 0680fbf
install/homarr-install.sh
@@ -47,12 +47,12 @@ mv homarr-${RELEASE} /opt/homarr
47
mkdir -p /opt/homarr_db
48
touch /opt/homarr_db/db.sqlite
49
AUTH_SECRET="$(openssl rand -base64 18 | tr -dc 'a-zA-Z0-9' | cut -c1-13)"
50
-SECRET_ENCRYPTION_KEY="$(openssl rand -base64 32 | tr -dc 'a-zA-Z0-9' | cut -c1-32)"
+SECRET_ENCRYPTION_KEY="$(openssl rand -hex 32)"
51
52
cat <<EOF >/opt/homarr/.env
53
-AUTH_SECRET="${AUTH_SECRET}"
+AUTH_SECRET='${AUTH_SECRET}'
54
DB_DRIVER='better-sqlite3'
55
-SECRET_ENCRYPTION_KEY="${SECRET_ENCRYPTION_KEY}"
+SECRET_ENCRYPTION_KEY='${SECRET_ENCRYPTION_KEY}'
56
DB_URL='/opt/homarr_db/db.sqlite'
57
TURBO_TELEMETRY_DISABLED=1
58
NODE_OPTIONS='-r @homarr/log/override'
0 commit comments