mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-09-11 22:12:23 +00:00
1a1184d27f
When the SQLite resource database is corrupted (malformed disk image), NewSQLiteResourceStore now backs up the corrupted file to *.corrupted.<timestamp> and recreates a fresh database. Without this, every /api/resources request returned 500 with no recovery path until the admin manually deleted the file. Resource data is derived from monitor state and repopulated on the next poll cycle; user-authored metadata (links, notes) in the corrupted file is preserved in the backup.