From c4879a1b72060f1a41b8086fb07381a3b510d22c Mon Sep 17 00:00:00 2001 From: "CanbiZ (MickLesk)" <47820557+MickLesk@users.noreply.github.com> Date: Thu, 8 Oct 2026 15:10:28 +0200 Subject: [PATCH] CLIProxyAPI: keep plugins and data across updates (#17790) The clean install wiped /opt/cliproxyapi including plugins/ and data/, so every update removed installed plugins and their data (#17750). --- ct/cliproxyapi.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ct/cliproxyapi.sh b/ct/cliproxyapi.sh index 6dc5e1b73..c53ce5072 100644 --- a/ct/cliproxyapi.sh +++ b/ct/cliproxyapi.sh @@ -39,7 +39,7 @@ function update_script() { create_backup /opt/cliproxyapi/config.yaml - CLEAN_INSTALL=1 fetch_and_deploy_gh_release "cliproxyapi" "router-for-me/CLIProxyAPI" "prebuild" "latest" "/opt/cliproxyapi" "CLIProxyAPI_*_linux_$(arch_resolve "amd64" "aarch64").tar.gz" + CLEAN_INSTALL=1 CLEAN_INSTALL_KEEP="plugins data" fetch_and_deploy_gh_release "cliproxyapi" "router-for-me/CLIProxyAPI" "prebuild" "latest" "/opt/cliproxyapi" "CLIProxyAPI_*_linux_$(arch_resolve "amd64" "aarch64").tar.gz" restore_backup