Commit Graph

85 Commits

Author SHA1 Message Date
MacRimi
17c5b89cc8 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>
2026-06-02 20:31:33 +02:00
MacRimi
11884799b7 Update install_proxmenux.sh 2026-05-31 14:31:42 +02:00
MacRimi
b24daf41e2 Update install_proxmenux.sh 2026-05-31 14:27:33 +02:00
MacRimi
9bce6b0a6b Cleanup NEED_HOOK_SYNC 2026-05-28 17:07:40 +02:00
MacRimi
3723888b0c Update Install 2026-05-20 20:46:58 +02:00
MacRimi
4112323961 Update AppImage 2026-05-20 18:14:32 +02:00
MacRimi
6d7e06a0d2 Update AppImage 2026-05-09 23:37:46 +02:00
MacRimi
37c60cb82a Upate menu 2026-04-18 00:58:25 +02:00
MacRimi
4b72490486 update menu 2026-04-18 00:33:40 +02:00
MacRimi
831bf67ee4 update install 2026-04-17 22:26:25 +02:00
MacRimi
bebf0e692a Update License 2026-01-19 17:15:00 +01:00
MacRimi
959433d737 Update install_proxmenux.sh 2025-11-17 17:11:41 +01:00
MacRimi
f9fa9ce6d8 Update install_proxmenux.sh 2025-11-17 16:58:45 +01:00
MacRimi
6b3a41dfe0 Update install_proxmenux.sh 2025-11-17 16:40:56 +01:00
MacRimi
6934df253f update menu 2025-11-16 10:19:50 +01:00
MacRimi
b2439331b3 Update install_proxmenux.sh 2025-11-14 17:26:08 +01:00
cod378
97fc72b78a fix: add validation for missing ProxMenux Monitor AppImage
- Check if AppImage exists before attempting installation
- Display clear error message when AppImage is not found
- Update config to track installation failure state
2025-11-13 03:23:11 +00:00
cod378
9f3286c570 feat: migrate to offline installer with enhanced monitor deployment
- Restructured installer to use local repository files instead of remote downloads for improved reliability
- Added comprehensive logging functions (spinner, type_text, msg_* helpers) and dual logo support for SSH/noVNC terminals
- Implemented AppImage version detection, SHA256 verification, and systemd service management for ProxMenux Monitor
- Updated metadata to reflect toolkit positioning and added contributor attribution
2025-11-13 02:50:41 +00:00
cod378
0a20821c41 refactor: remove verbose cleanup messages from temporary file removal 2025-11-12 05:00:06 +00:00
cod378
e0eaf6267f fix: suppress git clone output to reduce installation noise 2025-11-12 04:53:37 +00:00
cod378
3ddf98277f refactor: update utils script source URL to offline repository 2025-11-12 04:48:29 +00:00
cod378
85294bcd33 fix: correct utils.sh download URL format 2025-11-12 04:40:10 +00:00
cod378
acff4523f3 refactor: simplify utils.sh loading with inline sourcing
- Replaced conditional file check with direct curl sourcing using process substitution
- Streamlined error handling to single-line check
2025-11-12 04:29:40 +00:00
cod378
bf71e1f9b8 refactor: update comment for utils.sh loading 2025-11-12 04:23:43 +00:00
cod378
f0bcdc1c25 refactor: move utils.sh loading to script initialization because this is an installer dependency 2025-11-12 04:22:11 +00:00
cod378
43526c58bd refactor: reorganize installer to use git-based offline installation
- Changed from local script loading to cloning repository into temporary directory
- Added cleanup function with trap to ensure temporary files are removed on exit
- Added git as a required dependency for the installation process
2025-11-12 04:11:41 +00:00
cod378
58f9a7bc02 refactor: simplify utils.sh loading error handling 2025-11-04 22:47:00 +00:00
cod378
b8517a5b3e Merge branch 'ProxMenux-Offline' 2025-11-03 03:54:10 +00:00
code78
05e81053e0 feat: switch to local file installation and improve monitor setup
- Replaced remote file downloads with local file copying for more reliable installation
- Added proper cleanup of existing monitor service before reinstallation
- Enhanced error handling and logging for monitor service startup
- Improved SHA256 verification for monitor AppImage
- Added copying of install script and all utility scripts to base directory
- Updated progress messages to be more descriptive and accurate
- Increased monitor
2025-11-01 23:47:45 +00:00
MacRimi
26fc2ae9db Update install_proxmenux.sh 2025-11-01 17:09:38 +01:00
MacRimi
f1fa6b03d5 change license CC-BY-NC-4.0 2025-11-01 00:10:46 +01:00
MacRimi
45f6a0ec02 Update Install ProxMenux 2025-10-31 22:44:59 +01:00
MacRimi
3ea17331fe Update install_proxmenux.sh 2025-09-10 18:24:14 +02:00
MacRimi
1057fcc271 Update install_proxmenux.sh 2025-09-10 18:19:13 +02:00
MacRimi
49eeb6020d Update install_proxmenux.sh 2025-09-07 17:24:29 +02:00
MacRimi
7c272bd2a2 Update install_proxmenux.sh 2025-09-07 17:22:47 +02:00
MacRimi
7259b0a850 Update install_proxmenux.sh 2025-08-14 17:52:57 +02:00
MacRimi
3cadfd08d8 Update install_proxmenux.sh 2025-08-07 08:04:04 +02:00
MacRimi
681f5622c6 Update install_proxmenux.sh 2025-07-09 20:48:54 +02:00
MacRimi
d421c0c62c Update install_proxmenux.sh 2025-07-09 20:47:17 +02:00
MacRimi
0550aa9bd2 Update main menu 2025-07-08 23:21:11 +02:00
MacRimi
b7876d1774 Update install_proxmenux.sh 2025-07-05 16:31:24 +02:00
MacRimi
230847dace Update install Proxmenux 2025-07-04 22:37:16 +02:00
MacRimi
dd278fe3d3 Update install ProxMenux 2025-07-04 20:30:19 +02:00
MacRimi
c95947b397 Actualizar install_proxmenux.sh 2025-05-12 17:17:45 +02:00
MacRimi
e9e3d591b9 Actualizar install_proxmenux.sh 2025-05-09 12:18:14 +02:00
MacRimi
5ccdb9be6b Update install_proxmenux.sh 2025-05-07 19:14:26 +02:00
MacRimi
9b5c605dec Update install_proxmenux.sh 2025-05-05 11:27:51 +02:00
MacRimi
e8c60e887a Update menus dialog 2025-05-04 23:49:44 +02:00
MacRimi
c0de4da4d2 update 2025-02-25 19:20:20 +01:00