Standardize CT update backup handling (#15937)

This commit is contained in:
CanbiZ (MickLesk)
2026-07-21 12:52:51 +02:00
committed by GitHub
parent d8efbd04d8
commit bd3e3bd5f9
76 changed files with 215 additions and 626 deletions
+3 -5
View File
@@ -61,18 +61,16 @@ EOF
systemctl stop overseerr
msg_ok "Service stopped"
msg_info "Creating backup"
mv /opt/overseerr/config /opt/config_backup
msg_ok "Backup created"
create_backup /opt/overseerr/config
fetch_and_deploy_gh_release "overseerr" "sct/overseerr" "tarball"
rm -rf /opt/overseerr/config
restore_backup
msg_info "Configuring ${APP} (Patience)"
cd /opt/overseerr
$STD yarn install
$STD yarn build
mv /opt/config_backup /opt/overseerr/config
msg_ok "Configured ${APP}"
msg_info "Starting Service"