You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I observe that Vorta is not finishing a backap when a Post-Backup-Script is in use that does not exit immediately but takes some processing time. The script can be really simple, e.g. using a sleep.
As the Start Backup button is pressed, a rotating progress indicator as part of the Start_Backup button is shown. It would be expected that this finished after few secs but it does not. Hitting the cancel button aborts the waiting state and the backup shows up in the Archive list, too. But it is not clear if the script ran to the end or not.
As the sleep is commented in the script, things work as expected.
I was able to reproduce the issue always.
Environment
OS: Ubuntu Linux 22.04 with pyenv 3.12.4
Vorta version: 0.9.1
Installed from: pip
Borg version: 1.4.0
Logs
2024-10-31 15:15:41,833 - vorta.borg.borg_job - INFO - Creating archive at XXXXXXXXXXX
2024-10-31 15:15:42,111 - vorta.scheduler - INFO - Setting timer for profile 1
2024-10-31 15:15:42,112 - vorta.scheduler - DEBUG - Scheduling next run for 2024-11-01 12:00:00
2024-10-31 15:15:47,567 - vorta.borg.jobs_manager - DEBUG - Finish job for site: 1
2024-10-31 15:15:47,567 - vorta.borg.jobs_manager - DEBUG - No more jobs for site: 1
2024-10-31 15:21:17,450 - vorta.borg.borg_job - DEBUG - Cancel job on site default
2024-10-31 15:21:17,450 - vorta.borg.borg_job - DEBUG - Cancel job on site 1
2024-10-31 15:21:17,451 - vorta.borg.jobs_manager - INFO - Finished cancelling all jobs
The text was updated successfully, but these errors were encountered:
frosch01
changed the title
Backup does not finish when scripts exits with a dely
Backup does not finish when scripts exits delayed
Oct 31, 2024
Description
I observe that Vorta is not finishing a backap when a Post-Backup-Script is in use that does not exit immediately but takes some processing time. The script can be really simple, e.g. using a sleep.
As the Start Backup button is pressed, a rotating progress indicator as part of the Start_Backup button is shown. It would be expected that this finished after few secs but it does not. Hitting the cancel button aborts the waiting state and the backup shows up in the Archive list, too. But it is not clear if the script ran to the end or not.
As the sleep is commented in the script, things work as expected.
I was able to reproduce the issue always.
Environment
Logs
The text was updated successfully, but these errors were encountered: