Skip to content

Commit 0680fbf

Browse files
authored
Update homarr-install.sh
1 parent 41a836f commit 0680fbf

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

install/homarr-install.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,12 @@ mv homarr-${RELEASE} /opt/homarr
4747
mkdir -p /opt/homarr_db
4848
touch /opt/homarr_db/db.sqlite
4949
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)"
50+
SECRET_ENCRYPTION_KEY="$(openssl rand -hex 32)"
5151

5252
cat <<EOF >/opt/homarr/.env
53-
AUTH_SECRET="${AUTH_SECRET}"
53+
AUTH_SECRET='${AUTH_SECRET}'
5454
DB_DRIVER='better-sqlite3'
55-
SECRET_ENCRYPTION_KEY="${SECRET_ENCRYPTION_KEY}"
55+
SECRET_ENCRYPTION_KEY='${SECRET_ENCRYPTION_KEY}'
5656
DB_URL='/opt/homarr_db/db.sqlite'
5757
TURBO_TELEMETRY_DISABLED=1
5858
NODE_OPTIONS='-r @homarr/log/override'

0 commit comments

Comments
 (0)