]> ###2026.06.08 - Fix column misalignment on non-English webGUI language packs (e.g. German, French) - The Activity header is now inserted by column position instead of matching the translated "Errors" header text, so the header and data cells stay aligned and the Free column no longer disappears in other languages ###2026.06.07 - Fix "already installed" error preventing reinstall after uninstall - Removal now removes the correctly versioned Slackware package (disk.activity-<version>) instead of the bare name, so the package database no longer keeps a stale entry - Install now uses upgradepkg --reinstall so the package is always extracted even if a stale package-DB entry exists (recovers systems already stuck in the broken state) ###2026.05.20 - Add plugin icon ###2026.05.19.1 - Fix activity bar incorrectly shown on ZFS pool header row ("Data Partition ONLINE") - Fix Cache/Logs Device rows showing "-" instead of activity bar (URL-encoded device name mismatch) - Fix activity cells not updating from "-" to bar after first data fetch ###2026.05.19 - Fix activity bars misplaced after Unraid 7.3.0 update - Unraid 7.3.0 added a new FS column causing colspan cells to shift the injection point - Replaced naive td-count insertion with visual-column tracking that correctly handles colspan cells ###2026.05.01 - Fix "Starting disk_activity daemon..." message persisting in Unraid footer after array start - Stop event now suppresses output to keep footer clean ###2026.03.15.2 - Activity bar now fills entire cell width instead of fixed 60px - Fix daemon not starting automatically when plugin is installed while array is running - Add configurable averaging window: Instant (2s), 10 seconds, 1 minute, 5 minutes - Daemon uses circular buffer with rolling average over selected window - Column header dynamically reflects selected window (e.g. "10S Activity", "1MIN Activity") - New Averaging Window dropdown on Settings page ###2026.03.09 - Initial release - Show disk I/O activity percentage (0-100%) next to Errors column on Main page - Supports Array Devices, Pool Devices, and Boot Device - Summary rows display average activity across all pool members - Three display modes: progress bar, colored text, or plain text - Configurable via Settings > Disk Activity - Real-time polling every 2 seconds - Color-coded thresholds: green (<40%), orange (40-69%), red (70-89%), dark red (90%+) - Light theme support - Automatic start/stop with array via Unraid event hooks /dev/null fi ]]> &txzURL; &md5; /dev/null; then /usr/local/emhttp/plugins/disk.activity/scripts/rc.disk_activity start fi # Clean up old versions from boot flash cd /boot/config/plugins/disk.activity shopt -s nullglob for f in disk.activity-*.txz; do [[ "$f" == "disk.activity-&version;.txz" ]] && continue rm -f "$f" done echo "" echo "----------------------------------------------------" echo " Disk Activity Plugin v&version; installed." echo " Refresh the Main page to see the Activity column." echo "----------------------------------------------------" echo "" ]]> " (e.g. # disk.activity-2026.05.20), so a bare "removepkg disk.activity" fails with # "No such package" and leaves a stale entry in /var/log/packages/. That stale # entry later makes upgradepkg skip extraction ("already installed") on reinstall. # Remove every matching versioned package to keep the package DB clean. for pkg in /var/log/packages/disk.activity-*; do [ -e "$pkg" ] || continue removepkg "$(basename "$pkg")" 2>/dev/null done # Clean up runtime files rm -f /var/local/emhttp/disk_activity.ini rm -f /var/local/emhttp/disk_activity.tmp rm -f /var/run/disk_activity.pid # Clean up plugin directory (only emhttp, not boot config) rm -rf /usr/local/emhttp/plugins/disk.activity # Clean up boot flash config rm -rf /boot/config/plugins/disk.activity echo "" echo "----------------------------------------------------" echo " Disk Activity Plugin removed." echo "----------------------------------------------------" echo "" ]]>