Fix encryption key length in install script (#9239)

Update encryption key generation for Domain Monitor installation.
This commit is contained in:
Slaviša Arežina 2025-11-17 23:52:49 +01:00 committed by GitHub
parent 1f1a41e5c7
commit 97a5b21394
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -33,7 +33,7 @@ MARIADB_DB_NAME="domain_monitor" MARIADB_DB_USER="domainmonitor" setup_mariadb_d
fetch_and_deploy_gh_release "domain-monitor" "Hosteroid/domain-monitor" "prebuild" "latest" "/opt/domain-monitor" "domain-monitor-v*.zip"
msg_info "Setting up Domain Monitor"
ENC_KEY=$(openssl rand -base64 48 | tr -dc 'A-Za-z0-9' | head -c 32)
ENC_KEY=$(openssl rand -base64 32 | tr -d '\n')
cd /opt/domain-monitor
$STD composer install
cp env.example.txt .env