Spaces:
Paused

somratpro Claude Sonnet 4.6 commited on
Commit
4a7c78e
Β·
1 Parent(s): 7ac2f89

fix backup status display, sync loop spin, and PM2 log leakage

Browse files

- postiz-sync.py: cmd_sync/cmd_restore now write status+message fields
alongside db_status so dashboard can show BACKUP: SUCCESS/ERROR/RESTORED
(previously only db_status was written; dashboard reads status/message)
- start.sh: sanitize SYNC_INTERVAL (strip non-digits, clamp β‰₯60s) to
prevent sleep "" failure causing tight infinite sync loop at startup
- start.sh: extend PM2 grep filter to drop backslash ASCII art (\\{4,}),
PM2 log headers (/root/.pm2/...log last N lines), and > pm2 command echoes

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

2 files changed +25 -11
Files changed (2)
postiz-sync.py+18-8
start.sh+7-3