mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2026-06-15 04:47:00 +00:00
v1.2.2.1: rewrite monitor unit on every update to point at AppRun (#222)
The v1.2.2 install layout extracts the AppImage into /usr/local/share/proxmenux/monitor-app/ and runs AppRun out of that directory — but install_proxmenux_monitor's update branch only called create_monitor_service on fresh installs, leaving the inherited unit's `ExecStart=/usr/local/share/proxmenux/ProxMenux-Monitor.AppImage` in place. That path used to be the FUSE-mounted AppImage entry point, which v1.2.2 deliberately replaced to clear a Wazuh rule-521 false positive on /tmp/.mount_*. On PVE 9.x / Debian 13 the bare AppImage fails to exec straight away (status=203/EXEC) so the service entered the activating loop reported in #222 and never came back up. Always rewrite the unit before the post-update `systemctl start` — idempotent for installs whose unit is already correct, recovering for those whose isn't. The new helper `_proxmenux_rewrite_monitor_unit_for_apprun` mirrors the unit body the fresh-install path emits in `create_monitor_service`, with the same template-from-repo / inline-fallback fork, so both paths converge on the same content. Reproduced and validated on PVE 9.x lab: before: Process: ExecStart=/usr/local/share/proxmenux/ProxMenux-Monitor.AppImage (code=exited, status=203/EXEC) Active: activating (auto-restart) after: ExecStart=/usr/local/share/proxmenux/monitor-app/AppRun Active: active (running) Bumps version.txt to 1.2.2.1 so the existing menu update path picks this up automatically. For users already stuck on a broken v1.2.2, re-running the installer manually applies the same fix: bash -c "$(wget -qLO - https://raw.githubusercontent.com/MacRimi/ProxMenux/main/install_proxmenux.sh)" Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
10
CHANGELOG.md
10
CHANGELOG.md
@@ -1,6 +1,16 @@
|
||||
|
||||
## 2026-06-02
|
||||
|
||||
### Hotfix ProxMenux v1.2.2.1 — *Restore Monitor service after v1.2.1 → v1.2.2 update*
|
||||
|
||||
Single-purpose patch for [#222](https://github.com/MacRimi/ProxMenux/issues/222). Users updating from any v1.2.1.x stable installation to v1.2.2 hit a `proxmenux-monitor.service` that refused to start with `status=203/EXEC`. The v1.2.2 install layout extracts the AppImage into `/usr/local/share/proxmenux/monitor-app/` and runs `AppRun` out of that directory — but the installer's update path was reusing whichever unit file was already present and only refreshing the unit on a fresh install, so the inherited unit kept its old `ExecStart=/usr/local/share/proxmenux/ProxMenux-Monitor.AppImage` line. That path used to be a FUSE-mounted AppImage run, which v1.2.2 deliberately moved away from to clear a Wazuh rule-521 false positive on `/tmp/.mount_*`; under PVE 9.x / Debian 13 the bare AppImage failed to exec and the service entered the activating loop. The installer now always rewrites the unit to point at `AppRun` on every update — idempotent for installs whose unit is already correct, recovering for those whose isn't.
|
||||
|
||||
To recover an existing broken v1.2.2 install without waiting for the update prompt, run the installer manually once: `bash -c "$(wget -qLO - https://raw.githubusercontent.com/MacRimi/ProxMenux/main/install_proxmenux.sh)"`.
|
||||
|
||||
---
|
||||
|
||||
## 2026-06-02
|
||||
|
||||
### New version ProxMenux v1.2.2 — *Stable consolidation of the v1.2.1.x cycle*
|
||||
|
||||
Stable release that brings the four prereleases of the **v1.2.1.x** cycle to the main channel in one move. The work over those four betas centred on three themes: making the Health Monitor genuinely configurable instead of just observable (per-category thresholds, per-event dismiss durations, an audit log of active suppressions), expanding the notification stack to cover roughly 80 services through Apprise while persisting events across Quiet Hours, and turning the Monitor process itself into a quieter, more predictable system citizen on idle hosts. On top of those, this release lands automatic upgrade detection for LXC containers, an end-to-end rewrite of the Coral TPU installer with the latest upstream drivers, and a long list of operator-visible fixes — HTTPS terminal handshake, kernel-update detection on PVE 9.x, NVIDIA installer flow on Alpine LXC, mixed-GPU passthrough audio companion handling, and several runtime optimizations on the Monitor scanning loops. Five direct code contributions from the community ship alongside ([@jcastro](https://github.com/jcastro) ×5, [@pespinel](https://github.com/pespinel) ×1) and the GPU passthrough work was driven by [@ghosthvj](https://github.com/ghosthvj)'s detailed field reports — see the Acknowledgments at the end.
|
||||
|
||||
Reference in New Issue
Block a user