vorta
vorta copied to clipboard
Vorta trying to fast after resume
Description
After waking up from suspension vorta is instantly trying to backup, as it needs to due to my configured schedule.
- Only connect your computer via WiFi, also allow Vorta to backup over this WiFi
- Set the schedule to backup every two minutes
- Put your computer in suspension
- Wait 3 minutes
- Wake the computer up again
- See the error noticiations
Reproduction
- [X] I tried to reproduce the issue.
- [ ] I was able to reproduce the issue.
OS
Manjaro 23.0.0, Gnome 44.4
Version of Vorta
0.8.12
What did you install Vorta with?
Distribution package
Version of Borg
1.2.4
Logs
2023-09-07 22:09:45,073 - vorta.scheduler - DEBUG - Got login suspend/resume notification
2023-09-07 22:09:45,073 - vorta.scheduler - DEBUG - Refreshing all scheduler timers
2023-09-07 22:09:45,076 - vorta.scheduler - INFO - Setting timer for profile 1
2023-09-07 22:09:45,077 - vorta.scheduler - DEBUG - Catching up by running job for Default (1)
2023-09-07 22:09:45,079 - vorta.scheduler - INFO - Starting background backup for Default
2023-09-07 22:09:45,080 - vorta.notifications - DEBUG - success notifications suppressed
2023-09-07 22:09:45,080 - vorta.keyring.abc - DEBUG - Only available on macOS
2023-09-07 22:09:45,082 - asyncio - DEBUG - Using selector: EpollSelector
2023-09-07 22:09:45,086 - vorta.keyring.abc - DEBUG - Using VortaSecretStorageKeyring
2023-09-07 22:09:45,086 - vorta.borg.borg_job - DEBUG - Using VortaSecretStorageKeyring keyring to store passwords.
2023-09-07 22:09:45,090 - asyncio - DEBUG - Using selector: EpollSelector
2023-09-07 22:09:45,098 - vorta.keyring.secretstorage - DEBUG - Found 1 passwords matching repo URL.
2023-09-07 22:09:45,103 - vorta.keyring.secretstorage - DEBUG - Retrieved password for repo ssh://[email protected]/./repo
2023-09-07 22:09:45,840 - vorta.network_status.network_manager - ERROR - Failed to get currently connected WiFi network, assuming none
Traceback (most recent call last):
File "/usr/lib/python3.11/site-packages/vorta/network_status/network_manager.py", line 33, in get_current_wifi
active_connection = self._nm.get_active_connection_info(active_connection_path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/vorta/network_status/network_manager.py", line 133, in get_active_connection_info
connection=read_dbus_property(active_connection, 'Connection'),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/vorta/network_status/network_manager.py", line 160, in read_dbus_property
return get_result(msg)
^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/vorta/network_status/network_manager.py", line 167, in get_result
raise DBusException("DBus call failed: {}".format(msg.arguments()))
vorta.network_status.network_manager.DBusException: DBus call failed: ['Object does not exist at path “/”']
Would this be fixed if Vorta waited a few minutes before refreshing its timers?
If not refreshing the timers means that no backup is being triggered, then yes. Even a couple of seconds should be enough.