From cbf9c2567d982329810a3b8e351e24e8e1d6790f Mon Sep 17 00:00:00 2001 From: GoldenSpring Date: Wed, 21 Jan 2026 14:44:16 +0300 Subject: [PATCH] last fixes + json --- ct/sonobarr.sh | 4 +++- frontend/public/json/sonobarr.json | 12 +++++++++++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/ct/sonobarr.sh b/ct/sonobarr.sh index 8f502e6fa..d2c6b9a24 100644 --- a/ct/sonobarr.sh +++ b/ct/sonobarr.sh @@ -35,7 +35,9 @@ function update_script() { msg_ok "Stopped sonobarr" msg_info "Updating sonobarr" + cp "/opt/sonobarr/.env" "/opt/.sonobarr-env" CLEAN_INSTALL=1 fetch_and_deploy_gh_release "sonobarr" "Dodelidoo-Labs/sonobarr" "tarball" + cp "/opt/.sonobarr-env" "/opt/sonobarr/.env" msg_ok "Updated sonobarr" msg_info "Starting sonobarr" @@ -50,6 +52,6 @@ build_container description msg_ok "Completed Successfully!\n" -echo -e "${CREATING}${GN}rustypaste setup has been successfully initialized!${CL}" +echo -e "${CREATING}${GN}sonobarr setup has been successfully initialized!${CL}" echo -e "${INFO}${YW} Access it using the following URL:${CL}" echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:5000${CL}" diff --git a/frontend/public/json/sonobarr.json b/frontend/public/json/sonobarr.json index 77ae4be76..ee23ab442 100644 --- a/frontend/public/json/sonobarr.json +++ b/frontend/public/json/sonobarr.json @@ -31,5 +31,15 @@ "username": null, "password": null }, - "notes": [] + "notes": [ + { + "text": "secret_key in env is randomly generated at installation, feel free to change it", + "type": "info" + }, + { + "text": "Change the default admin credentials", + "type": "info" + } + + ] }