diff --git a/dist/backupper-2026.06.14.2-x86_64-1.txz.sha256 b/dist/backupper-2026.06.14.2-x86_64-1.txz.sha256 deleted file mode 100644 index 1fe5655..0000000 --- a/dist/backupper-2026.06.14.2-x86_64-1.txz.sha256 +++ /dev/null @@ -1 +0,0 @@ -5da36c3d720851d8ebd5e905399d1a9deca056128d2e01ee3f17a61f7145c807 backupper-2026.06.14.2-x86_64-1.txz diff --git a/dist/backupper-2026.06.14.2-x86_64-1.txz b/dist/backupper-2026.06.14.3-x86_64-1.txz similarity index 55% rename from dist/backupper-2026.06.14.2-x86_64-1.txz rename to dist/backupper-2026.06.14.3-x86_64-1.txz index 953146a..c0f8afa 100644 Binary files a/dist/backupper-2026.06.14.2-x86_64-1.txz and b/dist/backupper-2026.06.14.3-x86_64-1.txz differ diff --git a/dist/backupper-2026.06.14.3-x86_64-1.txz.sha256 b/dist/backupper-2026.06.14.3-x86_64-1.txz.sha256 new file mode 100644 index 0000000..7e74505 --- /dev/null +++ b/dist/backupper-2026.06.14.3-x86_64-1.txz.sha256 @@ -0,0 +1 @@ +36178615cdb1a303639d03ce5c211a3fb02ab889d5b47808b707cfe5e0c87db8 backupper-2026.06.14.3-x86_64-1.txz diff --git a/dist/backupper.plg b/dist/backupper.plg index 3854d97..d30e709 100644 --- a/dist/backupper.plg +++ b/dist/backupper.plg @@ -2,13 +2,16 @@ - + - + ]> +### 2026.06.14.3 +- Force a daemon restart after every plugin upgrade so new API endpoints become active immediately. + ### 2026.06.14.2 - Always show backup browser roots, display folder loading errors inline, and expose the running daemon version. @@ -63,7 +66,7 @@ chmod 0700 /boot/config/plugins/&name; -/etc/rc.d/rc.backupper start +/etc/rc.d/rc.backupper restart diff --git a/plugin/backupper.plg b/plugin/backupper.plg index 9b05a55..4068ad0 100644 --- a/plugin/backupper.plg +++ b/plugin/backupper.plg @@ -2,13 +2,16 @@ - + ]> +### 2026.06.14.3 +- Force a daemon restart after every plugin upgrade so new API endpoints become active immediately. + ### 2026.06.14.2 - Always show backup browser roots, display folder loading errors inline, and expose the running daemon version. @@ -63,7 +66,7 @@ chmod 0700 /boot/config/plugins/&name; -/etc/rc.d/rc.backupper start +/etc/rc.d/rc.backupper restart diff --git a/plugin/rc.backupper b/plugin/rc.backupper index ef3be80..f7b4c6b 100755 --- a/plugin/rc.backupper +++ b/plugin/rc.backupper @@ -11,11 +11,13 @@ start() { if [ -s "$PIDFILE" ] && kill -0 "$(cat "$PIDFILE")" 2>/dev/null; then return 0 fi + rm -f "$PIDFILE" /run/backupper/backupper.sock nohup "$DAEMON" >>"$LOGFILE" 2>&1 & echo $! >"$PIDFILE" } stop() { + STOPPED=0 if [ -s "$PIDFILE" ]; then PID=$(cat "$PIDFILE") kill "$PID" 2>/dev/null || true @@ -25,7 +27,22 @@ stop() { done kill -9 "$PID" 2>/dev/null || true rm -f "$PIDFILE" + STOPPED=1 fi + if [ "$STOPPED" -eq 0 ]; then + PIDS=$(pidof backupperd 2>/dev/null || true) + for PID in $PIDS; do + kill "$PID" 2>/dev/null || true + done + for _ in $(seq 1 30); do + [ -z "$(pidof backupperd 2>/dev/null)" ] && break + sleep 1 + done + for PID in $(pidof backupperd 2>/dev/null); do + kill -9 "$PID" 2>/dev/null || true + done + fi + rm -f /run/backupper/backupper.sock } case "${1:-}" in @@ -37,4 +54,3 @@ case "${1:-}" in ;; *) echo "Usage: $0 {start|stop|restart|status}"; exit 2 ;; esac - diff --git a/webgui/Backupper.page b/webgui/Backupper.page index 771fa5d..0a44da6 100644 --- a/webgui/Backupper.page +++ b/webgui/Backupper.page @@ -9,10 +9,10 @@ Tag="backup restic snapshots restore" - +
-

Backupper 2026.06.14.2

Encrypted Restic backups for Unraid

+

Backupper 2026.06.14.3

Encrypted Restic backups for Unraid

Connecting...
- +