admin
bdbe170a54
feat: storage watchdog — USB disconnect detection, auto-stop, safe eject, auto-reconnect (v0.17.0)
...
New storage watchdog monitors registered storage paths every 5s. On disconnect
(3 consecutive probe failures), auto-stops affected apps, lazy-unmounts stale
VFS entries, fires alerts/notifications/hub report. On reconnect (UUID detected),
auto-remounts via fstab, cleans stale restic locks, offers app restart.
Safe disconnect UI for USB drives: confirmation dialog, stop apps, sync, unmount.
Disconnected state visible across all pages (dashboard, settings, backups, monitoring)
with hatched red bars and badges. Backup guards skip disconnected drives.
22 files changed (1 new: monitor/watchdog.go), ~1500 lines added.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-19 19:42:26 +01:00
admin
2687506b08
feat: add controller_url to hub reports (v0.16.1)
...
Controller now includes its external URL in periodic hub reports so the
hub can trigger self-updates remotely via the /api/selfupdate/update endpoint.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-02-19 18:16:32 +01:00
admin
75ea9d73f0
Fix bugs from BUGHUNT.md: restore race conditions, infra backup, DR wiring, docker-setup.sh, restore.html
2026-02-19 14:06:42 +01:00
admin
6713df2186
v0.15.5: Disaster recovery — Hub-based infra backup, auto-mount, restore UI
...
Complete DR implementation (TASK2.md Phases 1-4):
- Hub infra-backup push/pull endpoints (controller.yaml, disk layout, stacks)
- Fresh-deployment detection pulls config from Hub, auto-mounts drives by UUID
- Full-page restore UI with drive status, app table, sequential restore
- docker-setup.sh shows DR instructions when customer_id is configured
New files: disk_layout.go, restore_scan.go, restore_app_linux.go,
restore_drives_linux.go, infra_backup.go, infra_pull.go,
handler_restore.go, restore.html
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-19 13:16:46 +01:00
admin
00c668fc92
v0.15.5: Fix startup hub report — Push() returns real errors, startup retries 3x with 15s delay
2026-02-19 10:08:43 +01:00
admin
f54d1a23de
v0.15.4: Hub disabled notification, PushOnce, ReportingDisabled field
2026-02-19 09:45:40 +01:00
admin
215ba8a83d
v0.15.3: Show all storage paths on dashboard/monitoring + fix hub report
2026-02-19 09:06:59 +01:00
admin
aca3b8680a
v0.9.0: Storage paths registry, per-app HDD_PATH resolution, storage management UI
...
- Fix backup toggles not appearing (read each app's own HDD_PATH from app.yaml)
- Storage paths registry in settings.json with auto-discovery from deployed apps
- Settings page "Adattárolók" section with disk usage, add/remove/default/schedulable
- Deploy page path field as dropdown of registered storage paths
- Health check storage monitoring (mount point, disk usage alerts)
- Mount-point validation utilities (Linux syscall + cross-platform stubs)
- Controller docker-compose mount changed to /mnt:/mnt:rw for multi-storage
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-17 09:04:28 +01:00
admin
7d801d1094
Phase 3 complete: per-app backup toggles, restore, storage overview
...
- Storage overview on backup page (SSD/HDD bars, repo stats)
- Restic password visibility + hub sync for disaster recovery
- App data discovery (HDD bind mounts, Docker volumes)
- Per-app backup toggle checkboxes with settings persistence
- Dynamic backup paths: enabled app HDD data included in restic snapshots
- Limited app restore from snapshots (self-service recovery)
- Snapshots API endpoint for restore dropdown
- Version bump to 0.8.0
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-16 21:29:56 +01:00
admin
97074e7a0c
v0.6.0: healthcheck + hub reporting implementation
...
- Add heartbeat ping (every 5 min, controller alive signal)
- Add backup integrity check (weekly restic check, Sunday 04:00)
- Add Heartbeat + BackupIntegrity fields to PingUUIDsConfig
- Add HubConfig for central hub reporting
- Add report package (types, builder, pusher) for hub push
- Wire hub reporting into scheduler (configurable interval)
- Update controller.yaml.example with new monitoring + hub sections
- Add monitoring/DEPRECATED.md for legacy bash scripts
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-16 13:19:08 +01:00