Gmer4Lfe
369a9e6c19
Platform adapter: rename System_Essentials, add Plugin/unraid/adapter.sh, wire call sites
...
- Rename unRAID_Essentials/ → System_Essentials/ (git detects as rename)
- Add Plugin/unraid/adapter.sh: 13 platform_*() functions providing OS-agnostic API
for storage health, service management, mover, user scripts, notifications,
disk temps, and platform command validation
- Update load_config.sh: detect PLATFORM (unraid/truenas/unknown), export SCRIPTS_DIR,
auto-source Plugin/$PLATFORM/adapter.sh after common.sh
- Wire all call sites: replace direct rc.d, pgrep/pkill, var.ini, dynamix.cfg,
disks.ini, and validate_unraid_cmd calls with platform_*() functions across
watchdogs, orchestrators, and System_Essentials scripts
- Update all documentation: rename refs, update webgui escalation logic,
add platform adapter section to Plugin README, update main README with
portability vision and corrected self-healing stack description
2026-06-04 18:14:34 -04:00
Gmer4Lfe
921900b23b
rename appdata folder and repo from unraid_scripts to varaverk
...
- TARGET_DIR, DATA_DIR: /mnt/user/appdata/unraid_scripts → /mnt/user/appdata/varaverk
- GITEA_REPO_PATH: Varaverk/Unraid_Scripts.git → Varaverk/varaverk.git
- DEV_ROOT: .../Development/Unraid_Scripts → .../Development/varaverk
- deploy hook path updated in .claude/settings.json
- All script comments, docs, and manual paths updated throughout
2026-05-30 10:07:03 -04:00
Gmer4Lfe
2fa78a21b6
doc audit — fix stale watchdog vars, fallback_state_reset, add monthly_maintenance and mesh_monitor sections
...
- Tools/Manual-Tools.md: fallback_state_reset.sh marked not yet built; manual
workaround added; TOC entry updated; failover→fallback rename throughout
- Watchdogs/Manual-Watchdogs.md: System Watchdog config block updated — remove
pre-split vars (MEM_WARN_GB, MEM_SHUTDOWN_GB, MEM_GB, MEM_RECOVER_GB,
SYS_WATCHDOG_MEM_SHUTDOWN_EXCLUDED, SYS_WATCHDOG_REQUIRED_CONTAINERS);
add SYS_WATCHDOG_MEM_GB (reboot trigger only); fix state file path names
(watchdog_state.db → container_watchdog_state.db,
sys_watchdog_state.db → system_watchdog_state.db)
- Orchestrators/README-Orchestrators.md: add monthly_maintenance.sh section
with two-gate model, configuration reference, and usage examples
- Monitors/README-Monitors.md: add mesh_monitor.sh to both tables and diagram
- Monitors/Manual-Monitors.md: add mesh_monitor.sh section
- README-User_Script_Plug-in.md, Rsync/README-Rsync.md, Rsync/Manual-Rsync.md,
README.md: emby-failover → emby-fallback (missed from prior batch)
2026-05-22 22:07:46 -04:00
Gmer4Lfe
cf21efaeea
Structural reorganization: watchdog taxonomy + server_reboot integration
...
Watchdog renames and moves:
system_watchdog.sh → stability_watchdog.sh (last line of defense — reboots)
storage_watchdog.sh → Watchdogs/System/storage_watchdog.sh
webgui_restart.sh → Watchdogs/System/webgui_watchdog.sh (renamed to match folder convention)
New thin orchestrator:
Watchdogs/system_watchdog.sh — runs SYSTEM_WATCHDOG_SCRIPTS from master.conf
Sits between docker_watchdog and stability_watchdog in the orchestrator tier chain
System/ subfolder is the growth seam for future system component watchdogs
master.conf:
WATCHDOG_ORCHESTRATOR_SCRIPTS updated — storage removed, system_watchdog added as tier
SYSTEM_WATCHDOG_SCRIPTS array added — storage + webgui
server_reboot.sh:
Calls array_stopping.sh before VM shutdown for guaranteed safe array stop
Removed raw rc.docker stop and exit trap — orchestrator owns container shutdown
2026-05-22 20:17:22 -04:00
Gmer4Lfe
95151c2278
Watchdogs/ folder + host conf rename
...
Move all watchdog scripts to a dedicated Watchdogs/ folder:
Docker_Essentials/docker_watchdog.sh → Watchdogs/
unRAID_Essentials/system_watchdog.sh → Watchdogs/
unRAID_Essentials/resource_watchdog.sh → Watchdogs/
Orchestrators/watchdog_orchestrator.sh → Watchdogs/
Tools/watchdog_skip_list_manager.sh → Watchdogs/
Rename host config files:
master_host1.conf → host1.conf
master_host2.conf → host2.conf
Update all references across the ecosystem:
master.conf: WATCHDOG_ORCHESTRATOR_SCRIPTS paths → Watchdogs/
load_config.sh: host*.conf glob + all comments
git_pull_execute.sh: sparse checkout glob + all comments
Partnership/ssh_setup.sh: HOST_CONF path construction
user_script_plug-in.sh: all script paths + per-host conf path
common.sh, README.md, README-User_Script_Plug-in.md: comment refs
All Partnership, Fallback, Monitors, Transcodes, Tools scripts: comment refs
2026-05-22 17:08:36 -04:00
Gmer4Lfe
84f133b99b
Monitors echo/log audit pass
...
Status conclusions and clean-check summaries → echo: backup_verify (pre-flight
passed, all files match), bandwidth_monitor (logged transfer entry),
cert_monitor/smart_health (all healthy), system_tuning_monitor (snapshot written),
weekly_health_digest (smart no-findings exit, digest sent), zfs_memory_snapshot
(all pools ONLINE, all checks within thresholds). Manual-Monitors.md: added
Output Tiers section.
2026-05-21 17:28:01 -04:00
Gmer4Lfe
e13f2fa14f
feat: slskd reconnect guard in downloaders_reset, mass v2 sync
...
- downloaders_reset: connection check block before slskd API sections;
triggers PUT /api/v0/server reconnect if disconnected, polls 60s,
gates Stuck Searches and Dead Transfer Records on SLSKD_CONNECTED
- Sync all modified/new/deleted files from v2 refactor across Docker_Essentials,
Media, Monitors, Partnership, Rsync, Tools, Transcodes, unRAID_Essentials,
common.sh, master confs, and new Manual/README docs
2026-05-19 20:00:10 -04:00