From 064e2ce39f03796f1cb28351f25729648adc22a6 Mon Sep 17 00:00:00 2001 From: Tobias <96661824+CrazyWolf13@users.noreply.github.com> Date: Tue, 11 Nov 2025 11:14:27 +0100 Subject: [PATCH 1/3] add update --- ct/web-check.sh | 30 +++++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/ct/web-check.sh b/ct/web-check.sh index 2bc4bf772..2f3f80213 100644 --- a/ct/web-check.sh +++ b/ct/web-check.sh @@ -27,7 +27,35 @@ function update_script() { msg_error "No ${APP} Installation Found!" exit fi - msg_error "Currently we don't provide an update function for this App." + + if check_for_gh_release "web-check" "MickLesk/web-check"; then + msg_info "Stopping Service" + systemctl stop web-check + msg_ok "Stopped Service" + + msg_info "Creating backup" + mv /opt/web-check/.env /opt + msg_ok "Created backup" + + NODE_VERSION="22" NODE_MODULE="yarn" setup_nodejs + fetch_and_deploy_gh_release "web-check" "MickLesk/web-check" + + msg_info "Building Web-Check" + cd /opt/web-check + $STD yarn install --frozen-lockfile --network-timeout 100000 + $STD yarn build --production + rm -rf /var/lib/apt/lists/* /app/node_modules/.cache + msg_ok "Built Web-Check" + + msg_info "Restoring backup" + mv /opt/.env /opt/web-check + msg_ok "Restored backup" + + msg_info "Starting Service" + systemctl start web-check + msg_ok "Started Service" + + fi exit } From dedae126385e120e1e50b4606e48d3538f6524b3 Mon Sep 17 00:00:00 2001 From: Tobias <96661824+CrazyWolf13@users.noreply.github.com> Date: Tue, 11 Nov 2025 11:14:58 +0100 Subject: [PATCH 2/3] Update web-check.sh --- ct/web-check.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ct/web-check.sh b/ct/web-check.sh index 2f3f80213..cbd8ff15d 100644 --- a/ct/web-check.sh +++ b/ct/web-check.sh @@ -38,7 +38,7 @@ function update_script() { msg_ok "Created backup" NODE_VERSION="22" NODE_MODULE="yarn" setup_nodejs - fetch_and_deploy_gh_release "web-check" "MickLesk/web-check" + CLEAN_INSTALL=1 fetch_and_deploy_gh_release "web-check" "MickLesk/web-check" msg_info "Building Web-Check" cd /opt/web-check From aebfd2cdcfeac24ce22a59a19e90e205d40bb608 Mon Sep 17 00:00:00 2001 From: Michel Roegl-Brunner Date: Tue, 11 Nov 2025 11:15:13 +0100 Subject: [PATCH 3/3] Update miniflux --- install/miniflux-install.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/install/miniflux-install.sh b/install/miniflux-install.sh index 03e264be2..51a2ec068 100644 --- a/install/miniflux-install.sh +++ b/install/miniflux-install.sh @@ -33,6 +33,7 @@ ADMIN_PASS="$(openssl rand -base64 18 | tr -dc 'a-zA-Z0-9' | head -c13)" cat </etc/miniflux.conf # See https://miniflux.app/docs/configuration.html DATABASE_URL=postgres://$DB_USER:$DB_PASS@localhost:5432/$DB_NAME?sslmode=disable +DATABASE_URL="user=$DB_USER password=postgres dbname=miniflux2 sslmode=disable" CREATE_ADMIN=1 ADMIN_USERNAME=$ADMIN_NAME ADMIN_PASSWORD=$ADMIN_PASS