Fix: Critical bug - cluster restore showing success with 0 databases restored
CRITICAL FIXES: - Add check for successCount == 0 to properly fail when no databases restored - Fix tryRestartPostgreSQL to use non-interactive sudo (-n flag) - Add 10-second timeout per restart attempt to prevent blocking - Try pg_ctl directly for postgres user (no sudo needed) - Set stdin to nil to prevent sudo from waiting for password input This fixes the issue where cluster restore showed success but no databases were actually restored due to sudo blocking on password prompts.
This commit is contained in:
@@ -4,8 +4,8 @@ This directory contains pre-compiled binaries for the DB Backup Tool across mult
|
||||
|
||||
## Build Information
|
||||
- **Version**: 3.42.34
|
||||
- **Build Time**: 2026-01-16_12:38:18_UTC
|
||||
- **Git Commit**: 510175f
|
||||
- **Build Time**: 2026-01-16_12:52:56_UTC
|
||||
- **Git Commit**: 62ddc57
|
||||
|
||||
## Recent Updates (v1.1.0)
|
||||
- ✅ Fixed TUI progress display with line-by-line output
|
||||
|
||||
Reference in New Issue
Block a user