Gmer4Lfe
17012bcd8c
refactor: move unraid-specific tools into Plugin/unraid/tools/
...
api_cache_writer, remote_arr_cache_writer, conf_populate, storage_migrate are
all Unraid-adapter-specific — they read Docker appdata paths, Unraid service
configs, and drive the Unraid web plugin cache. They don't belong in Tools/.
- Tools/{4 scripts + php} → Plugin/unraid/tools/
- Fix source depth: ../ → ../../../ (now 3 levels from repo root)
- Fix conf_populate SCRIPTS_ROOT bug: was never set, would expand to empty
- api/arrs.php, api/storage.php: SCRIPTS_DIR/Tools/ → dirname(__DIR__)/tools/
- schedule.json: key IDs updated to Plugin/unraid/tools/...
- Cron rebuilt — live entries updated immediately
2026-06-05 20:04:51 -04:00
Gmer4Lfe
0bcb773332
Cache: warm at array start, extend stale tolerance to 5 min, fix last uptime copy
...
- ARRAY_START_SCRIPTS: add api_cache_writer.sh so monitor/arrs cache is populated
immediately on array start (/tmp is tmpfs — cleared on reboot, so first-boot
load was hitting live API for up to 60 seconds until the cron fired)
- api/monitor.php + arrs.php: raise cache TTL from 90s to 300s — stale-but-instant
beats a 6-second live API wait if the writer is momentarily behind
- include/unraid_api.php: replace last inline uptime formatter with vv_format_uptime()
2026-06-04 16:46:50 -04:00
Gmer4Lfe
2223cf80f7
Arrs: remote host cards via SSH cache, vv_arrs_local_node(), 2h refresh schedule
2026-06-03 18:16:56 -04:00
Gmer4Lfe
13ed584d73
arrs: move settings into vv_arrs_all() so cache writer includes them
2026-06-03 18:03:40 -04:00
Gmer4Lfe
6104cde755
Arrs page overhaul: big stats, disk bars, queue badges, health strips, settings card
2026-06-03 17:55:04 -04:00
Gmer4Lfe
65075ed599
Add file-based API cache — monitor and arrs pages now serve from /tmp/vv_cache instead of making live HTTP calls on every page load
2026-06-03 16:15:35 -04:00
Gmer4Lfe
fb051b60c1
Varaverk: FallBack + Watchdog tabs; plugin path restructure to Plugin/unraid/
...
- FallBack tab: per-node tier inventory + active fallback card with duration, tier, handback strikes, running container status
- Watchdog tab: live system health (RAM bar + thresholds, load, uptime, daemon), docker watchdog strikes + skip list + restart history, stability strikes + reboot log, resource pressure alert card, config inventory (mem limits, required, pause/stop lists)
- Swapped partnership/arrs tab order; FallBack between partnership and watchdog
- Plugin source tree moved from Plugin/usr/local/emhttp/plugins/varaverk/ to Plugin/unraid/
- Deployment/ conf templates added
2026-05-28 22:24:50 -04:00