[BUG] Backup failure during update for apps with large data directories causing app to fail to update
Describe the bug This bug occurs when an app's update process gets stuck trying to back up an unexpectedly massive data directory, triggering a system timeout of some sort. Because the backup fails mid-stream, the update aborts, leaving the application in a corrupted, semi-suspended state. The app repeatedly tries to restart and re-apply the update, trapping the app in an infinite loop of failing, crashing, and retrying.
To Reproduce Steps to reproduce the behavior: When attempting to update an application that contains a significant volume of data within its app-data directory, the automated backup process triggered prior to the update consistently fails.
Expected behavior Expect the app to fully backup and then upgrade
Server (please complete the following information):
- OS: Debian 13
- Tipi Version: v4.10.1
Additional context Logs below from error.log.history. My guess is its the default 5 minute timeout for events. The odd thing is I couldn't get plex to update or even start so I ended up having to uninstall and reinstall and then restore from an old backup.
2026-07-18T16:58:48.978Z - error > The queue timed out while processing the request. Try restarting your instance before retrying. 2026-07-18T16:58:48.979Z - error > Failed to update app plex:migrated: RPC response timed out 2026-07-18T17:38:47.670Z - error > The queue timed out while processing the request. Try restarting your instance before retrying. 2026-07-18T17:38:47.671Z - error > Failed to update app plex:migrated: RPC response timed out 2026-07-18T17:38:51.365Z - error > The queue timed out while processing the request. Try restarting your instance before retrying. 2026-07-18T17:38:51.366Z - error > App plex:migrated stop failed: RPC response timed out 2026-07-18T17:38:54.578Z - error > The queue timed out while processing the request. Try restarting your instance before retrying. 2026-07-18T17:38:54.579Z - error > App plex:migrated stop failed: RPC response timed out 2026-07-18T17:39:21.297Z - error > The queue timed out while processing the request. Try restarting your instance before retrying. 2026-07-18T17:39:21.298Z - error > App plex:migrated stop failed: RPC response timed out 2026-07-18T18:01:59.609Z - error > Queue connection error CONNECTION_FORCED - broker forced connection closure with reason 'shutdown' AMQPConnectionError: CONNECTION_FORCED - broker forced connection closure with reason 'shutdown' at Na4._handleChunk (file:///app/main.mjs:804:83705) at A (file:///app/main.mjs:804:80613) at process.processTicksAndRejections (node:internal/process/task_queues:105:5) 2026-07-18T18:01:59.619Z - error > Failed to update app plex:migrated: RPC channel closed unexpectedly 2026-07-18T18:01:59.626Z - error > Queue connection error CONNECTION_FORCED - broker forced connection closure with reason 'shutdown' AMQPConnectionError: CONNECTION_FORCED - broker forced connection closure with reason 'shutdown' at Na4._handleChunk (file:///app/main.mjs:804:83705) at A (file:///app/main.mjs:804:80613) at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
Source: runtipi/runtipi