Critical Fix: Database Locking During Backup
Previously, accessing the web viewer while a backup was running would cause a 500 error. Now fixed!
Changes
- WAL Mode: Enabled SQLite Write-Ahead Logging for concurrent reads during writes
- Connection Timeout: 30 second timeout prevents immediate failure
- Retry Logic: API retries 3 times with exponential backoff
- User-Friendly Error: Shows amber banner with 'Retry' button when database is busy
Result
- Web viewer should work seamlessly even during backup
- If backup is particularly intensive, you'll see a friendly message instead of a crash
Docker Images
- drumsergio/telegram-backup-automation:1.2.11
- drumsergio/telegram-backup-automation:latest