Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vorta requests that kwallet create a new wallet with error text as wallet name if I don't unlock wallet quickly enough after reboot. #2198

Open
2 tasks done
gargolito opened this issue Jan 31, 2025 · 0 comments

Comments

@gargolito
Copy link

Description

kwallet reports that vorta-repo reqested to create a new wallet with name:
'Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.' please see screenshot of the kwallet error.

Image

Steps to reproduce:

  1. Create a backup configuration
  2. Use kwallet to store key
  3. Configure kde with autologin
  4. Add vorta-backup to autostart apps
  5. Reboot
  6. Do not unlock kwallet when prompted, wait a couple of minutes. A window with the error should appear

I know enough python to do some debugging and I believe that the problem maybe how try_unlock() in site-packages/vorta/keyring/kwallet.py LINE# 63 is handling the output from kwallet, instead of requesting a sensible wallet name if it doesn't find the name it expects, it uses the error I mentioned in the request for a new wallet in LINE# 66

PS: This isn't a new problem, I've been dealing with it for years, but finally decided to take a closer look and report the annoyance.

Reproduction

  • I tried to reproduce the issue.
  • I was able to reproduce the issue.

OS

Kubuntu 24.04.1 LTS

Version of Vorta

0.10.3

What did you install Vorta with?

Flatpak

Version of Borg

1.4.0

Logs

2025-01-31 10:46:32,088 - vorta.scheduler - DEBUG - Refreshing all scheduler timers
2025-01-31 10:46:32,099 - vorta.scheduler - INFO - Setting timer for profile 1
2025-01-31 10:46:32,103 - vorta.scheduler - DEBUG - Scheduling next run for 2025-01-31 12:43:07.208242
2025-01-31 11:01:32,122 - vorta.scheduler - DEBUG - Refreshing all scheduler timers
2025-01-31 11:01:32,127 - vorta.scheduler - INFO - Setting timer for profile 1
2025-01-31 11:01:32,128 - vorta.scheduler - DEBUG - Scheduling next run for 2025-01-31 12:43:07.208242
2025-01-31 11:16:32,079 - vorta.scheduler - DEBUG - Refreshing all scheduler timers
2025-01-31 11:16:32,085 - vorta.scheduler - INFO - Setting timer for profile 1
2025-01-31 11:16:32,085 - vorta.scheduler - DEBUG - Scheduling next run for 2025-01-31 12:43:07.208242
2025-01-31 11:31:32,070 - vorta.scheduler - DEBUG - Refreshing all scheduler timers
2025-01-31 11:31:32,075 - vorta.scheduler - INFO - Setting timer for profile 1
2025-01-31 11:31:32,076 - vorta.scheduler - DEBUG - Scheduling next run for 2025-01-31 12:43:07.208242
2025-01-31 11:46:32,136 - vorta.scheduler - DEBUG - Refreshing all scheduler timers
2025-01-31 11:46:32,142 - vorta.scheduler - INFO - Setting timer for profile 1
2025-01-31 11:46:32,142 - vorta.scheduler - DEBUG - Scheduling next run for 2025-01-31 12:43:07.208242
2025-01-31 12:01:32,158 - vorta.scheduler - DEBUG - Refreshing all scheduler timers
2025-01-31 12:01:32,164 - vorta.scheduler - INFO - Setting timer for profile 1
2025-01-31 12:01:32,165 - vorta.scheduler - DEBUG - Scheduling next run for 2025-01-31 12:43:07.208242
2025-01-31 12:16:32,120 - vorta.scheduler - DEBUG - Refreshing all scheduler timers
2025-01-31 12:16:32,126 - vorta.scheduler - INFO - Setting timer for profile 1
2025-01-31 12:16:32,127 - vorta.scheduler - DEBUG - Scheduling next run for 2025-01-31 12:43:07.208242
2025-01-31 12:31:32,167 - vorta.scheduler - DEBUG - Refreshing all scheduler timers
2025-01-31 12:31:32,173 - vorta.scheduler - INFO - Setting timer for profile 1
2025-01-31 12:31:32,174 - vorta.scheduler - DEBUG - Scheduling next run for 2025-01-31 12:43:07.208242
2025-01-31 12:43:07,124 - vorta.scheduler - INFO - Starting background backup for Default
2025-01-31 12:43:07,125 - vorta.notifications - DEBUG - success notifications suppressed
2025-01-31 12:43:07,126 - vorta.keyring.abc - DEBUG - No module named 'objc'
2025-01-31 12:43:07,127 - vorta.keyring.abc - DEBUG - Using VortaKWallet5Keyring
2025-01-31 12:43:07,128 - vorta.borg.borg_job - DEBUG - Using VortaKWallet5Keyring keyring to store passwords.
2025-01-31 12:43:08,034 - vorta.keyring.kwallet - DEBUG - Retrieved password for repo /bucket/backups
2025-01-31 12:43:08,111 - vorta.scheduler - INFO - Preparation for backup successful.
2025-01-31 12:43:08,111 - vorta.borg.jobs_manager - DEBUG - Add job for site 1
2025-01-31 12:43:08,111 - vorta.borg.jobs_manager - DEBUG - Start job on site: 1
2025-01-31 12:43:08,121 - vorta.borg.borg_job - INFO - Running command /app/bin/borg create --list --progress --info --log-json --json --filter=AM -C auto,lzma,6 --exclude-from /tmp/tmpr_n6d4wh /bucket/backups::silent-2025-01-31-124308 /storage/projects /home/gargolito/.config /home/gargolito/.local /storage/bash /storage/apps/comfyui
2025-01-31 12:43:09,179 - vorta.borg.borg_job - INFO - Creating archive at "/bucket/backups::silent-2025-01-31-124308"
2025-01-31 12:46:32,070 - vorta.scheduler - DEBUG - Refreshing all scheduler timers
2025-01-31 12:46:32,072 - vorta.scheduler - INFO - Setting timer for profile 1
2025-01-31 12:46:32,073 - vorta.scheduler - DEBUG - Scheduling next run for 2025-01-31 18:43:08.111877
2025-01-31 12:46:53,700 - vorta.borg.jobs_manager - DEBUG - Finish job for site: 1
2025-01-31 12:46:53,701 - vorta.borg.jobs_manager - DEBUG - No more jobs for site: 1
2025-01-31 12:46:53,703 - vorta.scheduler - INFO - Setting timer for profile 1
2025-01-31 12:46:53,706 - vorta.scheduler - DEBUG - Scheduling next run for 2025-01-31 18:46:53.686750
2025-01-31 12:46:53,989 - vorta.notifications - DEBUG - success notifications suppressed
2025-01-31 12:46:53,989 - vorta.scheduler - INFO - Backup creation successful.
2025-01-31 12:46:53,990 - vorta.scheduler - INFO - Doing post-backup jobs for Default
2025-01-31 12:46:53,991 - vorta.keyring.abc - DEBUG - No module named 'objc'
2025-01-31 12:46:53,992 - vorta.keyring.abc - DEBUG - Using VortaKWallet5Keyring
2025-01-31 12:46:53,992 - vorta.borg.borg_job - DEBUG - Using VortaKWallet5Keyring keyring to store passwords.
2025-01-31 12:46:53,993 - vorta.keyring.kwallet - DEBUG - Retrieved password for repo /bucket/backups
2025-01-31 12:46:54,137 - vorta.borg.jobs_manager - DEBUG - Add job for site 1
2025-01-31 12:46:54,139 - vorta.borg.jobs_manager - DEBUG - Start job on site: 1
2025-01-31 12:46:54,143 - vorta.keyring.abc - DEBUG - No module named 'objc'
2025-01-31 12:46:54,145 - vorta.keyring.abc - DEBUG - Using VortaKWallet5Keyring
2025-01-31 12:46:54,146 - vorta.borg.borg_job - DEBUG - Using VortaKWallet5Keyring keyring to store passwords.
2025-01-31 12:46:54,151 - vorta.keyring.kwallet - DEBUG - Retrieved password for repo /bucket/backups
2025-01-31 12:46:54,154 - vorta.borg.borg_job - INFO - Running command /app/bin/borg prune --list --info --log-json --keep-hourly 2 --keep-daily 7 --keep-weekly 4 --keep-monthly 6 --keep-yearly 2 -a silent-* --keep-within 10H /bucket/backups
2025-01-31 12:46:54,156 - vorta.borg.jobs_manager - DEBUG - Add job for site 1
2025-01-31 12:46:54,160 - vorta.scheduler - INFO - Finished background task for profile Default
2025-01-31 12:46:54,161 - vorta.notifications - DEBUG - success notifications suppressed
2025-01-31 12:46:54,162 - vorta.scheduler - INFO - Setting timer for profile 1
2025-01-31 12:46:54,163 - vorta.scheduler - DEBUG - Scheduling next run for 2025-01-31 18:46:53.686750
2025-01-31 12:46:54,579 - vorta.borg.borg_job - INFO - Keeping archive (rule: within #1):           silent-2025-01-31-124308             Fri, 2025-01-31 12:43:09 [bef008f6cc90f1611b36e42af18cf0e706a9e1d8439dd142131dd7955b0edea0]
2025-01-31 12:46:54,579 - vorta.borg.borg_job - INFO - Keeping archive (rule: within #2):           silent-2025-01-31-063925             Fri, 2025-01-31 06:39:26 [45749e500e8ef6ece57bae7f359de8a227e90a8b3960871d2a732b10f0804cd9]
2025-01-31 12:46:54,579 - vorta.borg.borg_job - INFO - Keeping archive (rule: hourly #1):           silent-2025-01-31-003525             Fri, 2025-01-31 00:35:26 [3bfd52a18cc986ddd52a687aec54e958faabf63f79eec7fb401c0c0d74cefa4b]
2025-01-31 12:46:54,579 - vorta.borg.borg_job - INFO - Keeping archive (rule: hourly #2):           silent-2025-01-30-182958             Thu, 2025-01-30 18:29:59 [6981e64dc6bbad5d3b64dfa92f34843ade329a99ed88d83b3251afdf86e100f5]
2025-01-31 12:47:16,743 - vorta.borg.borg_job - INFO - Pruning archive (1/1):                       silent-2025-01-30-122618             Thu, 2025-01-30 12:26:19 [acecd6c490f3b70222ac1dfb02296400d9f5fc891515c4fba7b76c610e928b5c]
2025-01-31 12:47:16,744 - vorta.borg.borg_job - INFO - Keeping archive (rule: daily #1):            silent-2025-01-29-181334             Wed, 2025-01-29 18:13:35 [955b8366c385633f8c04350339abfca17066fa836663340ae3ac80f60ce0acbc]
2025-01-31 12:47:16,744 - vorta.borg.borg_job - INFO - Keeping archive (rule: daily #2):            silent-2025-01-28-175736             Tue, 2025-01-28 17:57:37 [22853d414ff0efd552140906829046a996196b2d9bbd75663ae70791d5d60075]
2025-01-31 12:47:16,744 - vorta.borg.borg_job - INFO - Keeping archive (rule: daily #3):            silent-2025-01-27-234532             Mon, 2025-01-27 23:45:33 [d2c7b3c15ea4983b40b3119c7b1fc3f22b2b4fabcee3aeaa5b8a1c179a1e04e1]
2025-01-31 12:47:16,744 - vorta.borg.borg_job - INFO - Keeping archive (rule: daily #4):            silent-2025-01-26-232817             Sun, 2025-01-26 23:28:18 [ffcb92b075e33c7e851190c99da3a968bb3ec825521bdd25c14ea74cb9b7f000]
2025-01-31 12:47:16,744 - vorta.borg.borg_job - INFO - Keeping archive (rule: daily #5):            silent-2025-01-25-231133             Sat, 2025-01-25 23:11:34 [89830d520bd238e351ceaebe71b24f8ad8bf98fc9e939a6ef6ae0fd6fa009806]
2025-01-31 12:47:16,744 - vorta.borg.borg_job - INFO - Keeping archive (rule: daily #6):            silent-2025-01-24-225617             Fri, 2025-01-24 22:56:18 [1e2b6a9996ce32a5dba2946c0351f31387cf2581273566e0774a1277c3f0d4ee]
2025-01-31 12:47:16,744 - vorta.borg.borg_job - INFO - Keeping archive (rule: daily #7):            silent-2025-01-23-223620             Thu, 2025-01-23 22:36:23 [1f4edf12a7b5b5a4a50c16b9b1da3cdf6fc982ce889b5eeed84164899b2580aa]
2025-01-31 12:47:16,744 - vorta.borg.borg_job - INFO - Keeping archive (rule: weekly #1):           silent-2025-01-19-201301             Sun, 2025-01-19 20:13:02 [88b0030ee7905afb5c4afae84787c232e37cb9c27be71b1e3b2bd42eac5f0e29]
2025-01-31 12:47:16,744 - vorta.borg.borg_job - INFO - Keeping archive (rule: weekly #2):           silent-2025-01-12-181843             Sun, 2025-01-12 18:18:43 [7a806555cffcf7744db75e073016cda7707d23e8b99927b0fe9fff6d24c209a5]
2025-01-31 12:47:16,744 - vorta.borg.borg_job - INFO - Keeping archive (rule: weekly #3):           silent-2025-01-05-223833             Sun, 2025-01-05 22:38:34 [fe2838ad49cf865d6a6f1584171369351a241c935a75b806d758b29fcf3ed8ec]
2025-01-31 12:47:16,744 - vorta.borg.borg_job - INFO - Keeping archive (rule: monthly #1):          silent-2024-12-31-212636             Tue, 2024-12-31 21:26:37 [b9b41e4649063cf4fd03dd9b229e34d1ce76f82500d95c010e9fd669d551ef95]
2025-01-31 12:47:16,744 - vorta.borg.borg_job - INFO - Keeping archive (rule: weekly #4):           silent-2024-12-29-202859             Sun, 2024-12-29 20:28:59 [c76e044a02906a42807eae4783eea7f72a2cb512b58215dcf556a879baf21d38]
2025-01-31 12:47:16,745 - vorta.borg.borg_job - INFO - Keeping archive (rule: monthly #2):          silent-2024-11-30-193800             Sat, 2024-11-30 19:38:00 [aadc1a9b798df67e3ccc00c2159bd24db6efd8d681a633f4044ff59bdf79eb60]
2025-01-31 12:47:16,745 - vorta.borg.borg_job - INFO - Keeping archive (rule: monthly #3):          silent-2024-10-31-201834             Thu, 2024-10-31 20:18:35 [776fa6e899e1c64df92bd33bf8b4594dd8ab1d21970970d0c92ff8619f89d6d7]
2025-01-31 12:47:16,745 - vorta.borg.borg_job - INFO - Keeping archive (rule: monthly #4):          silent-2024-09-30-215327             Mon, 2024-09-30 21:53:30 [ed9b128d35aec160760bc323f7c4600133d2f912d107ab818eba612f52cefab6]
2025-01-31 12:47:16,745 - vorta.borg.borg_job - INFO - Keeping archive (rule: monthly #5):          silent-2024-08-31-182239             Sat, 2024-08-31 18:22:39 [2fb0797da9d685c081db63a0fadb6484acd9fc4b36d35d03586e2670972afdda]
2025-01-31 12:47:16,745 - vorta.borg.borg_job - INFO - Keeping archive (rule: monthly #6):          silent-2024-07-31-204521             Wed, 2024-07-31 20:45:21 [87dfee0b4eb30b114b54cc54a52080c9d50a8cdcdb9e6a62f57023e575a47eb0]
2025-01-31 12:47:16,745 - vorta.borg.borg_job - INFO - Keeping archive (rule: yearly #1):           silent-2023-12-31-190119             Sun, 2023-12-31 19:01:22 [c3e97b2bb82a21859b9aa207edf2a29b81dc869331cf6b12293e2252d5fecda3]
2025-01-31 12:47:16,745 - vorta.borg.borg_job - INFO - Keeping archive (rule: yearly[oldest] #2):   silent-2023-05-07-171456             Sun, 2023-05-07 17:14:56 [23dcec0aa014d9051c141bb22de18ed5a89d788fd9b14276211f9fa3b94f2d66]
2025-01-31 12:47:19,991 - vorta.borg.jobs_manager - DEBUG - Finish job for site: 1
2025-01-31 12:47:19,992 - vorta.borg.jobs_manager - DEBUG - Start job on site: 1
2025-01-31 12:47:19,995 - vorta.borg.borg_job - INFO - Running command /app/bin/borg list --info --log-json --json /bucket/backups
2025-01-31 12:47:19,996 - vorta.scheduler - INFO - Setting timer for profile 1
2025-01-31 12:47:20,000 - vorta.scheduler - DEBUG - Scheduling next run for 2025-01-31 18:46:53.686750
2025-01-31 12:47:20,778 - vorta.borg.jobs_manager - DEBUG - Finish job for site: 1
2025-01-31 12:47:20,780 - vorta.borg.jobs_manager - DEBUG - No more jobs for site: 1
2025-01-31 12:47:20,781 - vorta.scheduler - INFO - Setting timer for profile 1
2025-01-31 12:47:20,783 - vorta.scheduler - DEBUG - Scheduling next run for 2025-01-31 18:46:53.686750
2025-01-31 13:01:32,149 - vorta.scheduler - DEBUG - Refreshing all scheduler timers
2025-01-31 13:01:32,155 - vorta.scheduler - INFO - Setting timer for profile 1
2025-01-31 13:01:32,156 - vorta.scheduler - DEBUG - Scheduling next run for 2025-01-31 18:46:53.686750
2025-01-31 13:16:32,070 - vorta.scheduler - DEBUG - Refreshing all scheduler timers
2025-01-31 13:16:32,076 - vorta.scheduler - INFO - Setting timer for profile 1
2025-01-31 13:16:32,076 - vorta.scheduler - DEBUG - Scheduling next run for 2025-01-31 18:46:53.686750
2025-01-31 13:31:32,073 - vorta.scheduler - DEBUG - Refreshing all scheduler timers
2025-01-31 13:31:32,082 - vorta.scheduler - INFO - Setting timer for profile 1
2025-01-31 13:31:32,085 - vorta.scheduler - DEBUG - Scheduling next run for 2025-01-31 18:46:53.686750
2025-01-31 13:46:32,069 - vorta.scheduler - DEBUG - Refreshing all scheduler timers
2025-01-31 13:46:32,077 - vorta.scheduler - INFO - Setting timer for profile 1
2025-01-31 13:46:32,080 - vorta.scheduler - DEBUG - Scheduling next run for 2025-01-31 18:46:53.686750
2025-01-31 14:01:32,077 - vorta.scheduler - DEBUG - Refreshing all scheduler timers
2025-01-31 14:01:32,078 - vorta.scheduler - INFO - Setting timer for profile 1
2025-01-31 14:01:32,079 - vorta.scheduler - DEBUG - Scheduling next run for 2025-01-31 18:46:53.686750
2025-01-31 14:16:32,069 - vorta.scheduler - DEBUG - Refreshing all scheduler timers
2025-01-31 14:16:32,078 - vorta.scheduler - INFO - Setting timer for profile 1
2025-01-31 14:16:32,079 - vorta.scheduler - DEBUG - Scheduling next run for 2025-01-31 18:46:53.686750
2025-01-31 14:31:32,071 - vorta.scheduler - DEBUG - Refreshing all scheduler timers
2025-01-31 14:31:32,080 - vorta.scheduler - INFO - Setting timer for profile 1
2025-01-31 14:31:32,083 - vorta.scheduler - DEBUG - Scheduling next run for 2025-01-31 18:46:53.686750
2025-01-31 14:42:09,977 - vorta.i18n - DEBUG - Loading translation succeeded for ['en-Latn-US', 'en-US', 'en'].
2025-01-31 14:42:10,090 - root - DEBUG - Not a private SSH key file: authorized_keys
2025-01-31 14:42:10,137 - vorta.views.source_tab - DEBUG - Added item number 0 from 1
2025-01-31 14:42:10,138 - vorta.views.source_tab - DEBUG - Added item number 1 from 2
2025-01-31 14:42:10,139 - vorta.views.source_tab - DEBUG - Added item number 2 from 3
2025-01-31 14:42:10,139 - vorta.views.source_tab - DEBUG - Added item number 3 from 4
2025-01-31 14:42:10,140 - vorta.views.source_tab - DEBUG - Added item number 4 from 5
2025-01-31 14:42:10,590 - root - INFO - Using NetworkManagerMonitor NetworkStatusMonitor implementation.
2025-01-31 14:42:10,613 - vorta.scheduler - INFO - Setting timer for profile 1
2025-01-31 14:42:10,614 - vorta.scheduler - DEBUG - Catching up by running job for Default (1)
2025-01-31 14:42:10,615 - vorta.scheduler - INFO - Starting background backup for Default
2025-01-31 14:42:10,615 - vorta.notifications - DEBUG - success notifications suppressed
2025-01-31 14:42:10,620 - vorta.keyring.abc - DEBUG - No module named 'objc'
2025-01-31 14:42:10,865 - vorta.keyring.abc - DEBUG - Using VortaKWallet5Keyring
2025-01-31 14:42:10,865 - vorta.borg.borg_job - DEBUG - Using VortaKWallet5Keyring keyring to store passwords.
2025-01-31 14:43:26,078 - vorta.scheduler - ERROR - Conditions for backup not met. Aborting.
2025-01-31 14:43:26,078 - vorta.scheduler - ERROR - Please unlock your system password manager or disable it under Misc
2025-01-31 14:43:26,080 - vorta.notifications - DEBUG - notification not suppressed
2025-01-31 14:43:26,115 - vorta.scheduler - DEBUG - Paused 1 until 2025-01-31 14:53:26
2025-01-31 14:43:26,125 - vorta.scheduler - DEBUG - Nothing scheduled for profile 1 because of timeout until 2025-01-31 14:53:26.
2025-01-31 14:43:26,127 - vorta.scheduler - DEBUG - Nothing scheduled for profile 1 because of timeout until 2025-01-31 14:53:26.
2025-01-31 14:43:26,154 - vorta.borg.jobs_manager - DEBUG - Add job for site default
2025-01-31 14:43:26,154 - vorta.borg.jobs_manager - DEBUG - Start job on site: default
2025-01-31 14:43:26,158 - vorta.borg.borg_job - INFO - Running command /app/bin/borg --version
2025-01-31 14:43:26,977 - vorta.borg.jobs_manager - DEBUG - Finish job for site: default
2025-01-31 14:43:26,977 - vorta.borg.jobs_manager - DEBUG - No more jobs for site: default
2025-01-31 14:43:26,978 - vorta.scheduler - DEBUG - Refreshing all scheduler timers
2025-01-31 14:43:26,984 - vorta.scheduler - DEBUG - Nothing scheduled for profile 1 because of timeout until 2025-01-31 14:53:26.
2025-01-31 14:53:26,064 - vorta.scheduler - INFO - Setting timer for profile 1
2025-01-31 14:53:26,065 - vorta.scheduler - DEBUG - Scheduling next run for 2025-01-31 18:46:53.686750
2025-01-31 14:57:10,063 - vorta.scheduler - DEBUG - Refreshing all scheduler timers
2025-01-31 14:57:10,065 - vorta.scheduler - INFO - Setting timer for profile 1
2025-01-31 14:57:10,065 - vorta.scheduler - DEBUG - Scheduling next run for 2025-01-31 18:46:53.686750
2025-01-31 15:12:10,064 - vorta.scheduler - DEBUG - Refreshing all scheduler timers
2025-01-31 15:12:10,072 - vorta.scheduler - INFO - Setting timer for profile 1
2025-01-31 15:12:10,077 - vorta.scheduler - DEBUG - Scheduling next run for 2025-01-31 18:46:53.686750
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant