From 8a312485a797711bd93df4aefd13064d2297561b Mon Sep 17 00:00:00 2001 From: oxpoe Date: Thu, 5 Nov 2026 17:57:03 +0700 Subject: [PATCH] feat(update): kotak panduan restart self-hosted & cloud - PM2, manual pkill, quadlet/systemd, compose - cloud: otomatis saat update berikutnya / hubungi admin server - versi 0.5.16 --- CHANGELOG.md | 5 +++++ README.md | 2 +- package.json | 2 +- version.txt | 2 +- views/admin/update.ejs | 20 ++++++++++++++++++++ 5 files changed, 28 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1e37385..7b98d00 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,11 @@ Format mengikuti [Keep a Changelog](https://keepachangelog.com/) dan [Semantic Versioning](https://semver.org/). +## [0.5.16] — 2026-11-05 — "restart-help" + +### Ditambahkan +- Kotak panduan **Cara Restart Aplikasi** di halaman Update: self-hosted (PM2, manual, quadlet/systemd, Docker/Podman Compose) dan cloud/managed (restart otomatis pada update berikutnya atau hubungi admin server). + ## [0.5.15] — 2026-11-05 — "update-keep-env" ### Diperbaiki diff --git a/README.md b/README.md index d11269c..b747bc2 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@

Lisensi: ISC - Versi 0.5.15 (update-keep-env) + Versi 0.5.16 (restart-help) Node.js >= 20 Docker Demo diff --git a/package.json b/package.json index 9d84709..947ca92 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "open-isp", - "version": "0.5.15", + "version": "0.5.16", "description": "OPEN-ISP \u2014 sistem billing & manajemen ISP open-source (PWA pelanggan, multi-OLT, RADIUS, WhatsApp, QRIS)", "main": "app-customer.js", "scripts": { diff --git a/version.txt b/version.txt index ab245e9..a6db491 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -0.5.15 \ No newline at end of file +0.5.16 \ No newline at end of file diff --git a/views/admin/update.ejs b/views/admin/update.ejs index c9fa6d0..f41f198 100644 --- a/views/admin/update.ejs +++ b/views/admin/update.ejs @@ -79,6 +79,26 @@ +

+
<%= t('admin.update.restart_title', 'Cara Restart Aplikasi') %>
+
+
+
<%= t('admin.update.restart_selfhosted', 'Self-hosted') %>
+
PM2
pm2 restart all (atau pm2 restart open-isp)
+
Manual (tanpa PM2)
pkill -f "node app-customer.js"
nohup node app-customer.js > logs/run.log 2>&1 &
+
Quadlet / systemd
systemctl --user restart open-isp (user)
sudo systemctl restart open-isp (system)
+
Docker / Podman Compose
docker compose restart
podman compose restart (atau up -d bila env berubah)
+
Jalankan dari folder aplikasi, lalu muat ulang halaman ini.
+
+
+
<%= t('admin.update.restart_cloud', 'Cloud / managed') %>
+
Restart dilakukan otomatis pada update berikutnya.
+
Butuh restart sekarang? Hubungi admin server — jangan jalankan perintah restart sendiri.
+
Cocok untuk instance yang dikelola penyedia/hosting bersama.
+
+
+
+ <% if (log) { %>
<%= t('admin.update.log_title', 'Log Update') %>