Skip to content

Can't create a backup to repository that contains non-ASCII characters in path. #2332

@gaeulbyul

Description

@gaeulbyul

Description

Steps to reproduce

I can reproduce this issue either by creating new repository, or adding existing repository.

  1. Click "New Repository..."
  2. Click "Choose a local folder" button, and pick a directory that contains some non-ASCII characters
  3. Enter some passphrase, and Click "Add"

Expected behavior

It should be able to create a backup in that repository, just like the others.

Actual behavior

Vorta says "Your repo passphrase was stored in a password manager which is no longer available. Try unlinking and re-adding your repo.". and I can't create a new backup. unlinking and re-adding repository doesn't help.

Reproduction

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

OS

macOS 26.2 Tahoe

Version of Vorta

0.11.1

What did you install Vorta with?

Homebrew

Version of Borg

1.4.3

Logs

(NOTE: "TEST001" worked normally, but "TEST002한글" has a problem.)
-----------------------------
2025-12-23 03:09:19,668 - vorta.keyring.abc - DEBUG - No module named 'secretstorage'
2025-12-23 03:09:19,668 - vorta.keyring.abc - DEBUG - Using VortaDarwinKeyring
2025-12-23 03:09:31,111 - vorta.keyring.abc - DEBUG - No module named 'secretstorage'
2025-12-23 03:09:31,111 - vorta.keyring.abc - DEBUG - Using VortaDarwinKeyring
2025-12-23 03:09:31,121 - vorta.keyring.darwin - DEBUG - Retrieved password for repo /Users/(USERNAME)/Backups/TEST001
2025-12-23 03:09:42,083 - vorta.keyring.abc - DEBUG - No module named 'secretstorage'
2025-12-23 03:09:42,084 - vorta.keyring.abc - DEBUG - Using VortaDarwinKeyring
2025-12-23 03:09:42,084 - vorta.borg.borg_job - DEBUG - Using VortaDarwinKeyring keyring to store passwords.
2025-12-23 03:09:42,085 - vorta.keyring.darwin - DEBUG - Retrieved password for repo /Users/(USERNAME)/Backups/TEST001
2025-12-23 03:09:42,085 - vorta.borg.borg_job - DEBUG - Password not found in primary keyring. Falling back to VortaDBKeyring.
2025-12-23 03:09:42,086 - vorta.borg.jobs_manager - DEBUG - Add job for site default
2025-12-23 03:09:42,087 - vorta.borg.jobs_manager - DEBUG - Start job on site: default
2025-12-23 03:09:42,090 - vorta.borg.borg_job - INFO - Running command: /opt/homebrew/bin/borg init --info --log-json --encryption=repokey-blake2 /Users/(USERNAME)/Backups/TEST001
2025-12-23 03:09:42,459 - vorta.borg.borg_job - INFO - Initializing repository at "/Users/(USERNAME)/Backups/TEST001"
2025-12-23 03:09:42,468 - vorta.borg.borg_job - INFO - Key in "<Repository /Users/(USERNAME)/Backups/TEST001>" created.
2025-12-23 03:09:42,468 - vorta.borg.borg_job - INFO - Keep this key safe. Your data will be inaccessible without it.
2025-12-23 03:09:42,472 - vorta.borg.borg_job - INFO - Synchronizing chunks cache...
2025-12-23 03:09:42,472 - vorta.borg.borg_job - INFO - Archives: 0, w/ cached Idx: 0, w/ outdated Idx: 0, w/o cached Idx: 0.
2025-12-23 03:09:42,472 - vorta.borg.borg_job - INFO - Done.
2025-12-23 03:09:42,473 - vorta.borg.borg_job - WARNING - 
IMPORTANT: you will need both KEY AND PASSPHRASE to access this repo!

Key storage location depends on the mode:
- repokey modes: key is stored in the repository directory.
- keyfile modes: key is stored in the home directory of this user.

For any mode, you should:
1. Export the borg key and store the result at a safe place:
   borg key export           REPOSITORY encrypted-key-backup
   borg key export --paper   REPOSITORY encrypted-key-backup.txt
   borg key export --qr-html REPOSITORY encrypted-key-backup.html
2. Write down the borg key passphrase and store it at safe place.

2025-12-23 03:09:42,974 - vorta.keyring.darwin - DEBUG - Saved password for repo /Users/(USERNAME)/Backups/TEST001
2025-12-23 03:09:42,975 - vorta.borg.jobs_manager - DEBUG - Finish job for site: default
2025-12-23 03:09:42,976 - vorta.borg.jobs_manager - DEBUG - No more jobs for site: default
2025-12-23 03:09:43,067 - vorta.keyring.abc - DEBUG - No module named 'secretstorage'
2025-12-23 03:09:43,068 - vorta.keyring.abc - DEBUG - Using VortaDarwinKeyring
2025-12-23 03:09:43,068 - vorta.borg.borg_job - DEBUG - Using VortaDarwinKeyring keyring to store passwords.
2025-12-23 03:09:43,070 - vorta.keyring.darwin - DEBUG - Retrieved password for repo /Users/(USERNAME)/Backups/TEST001
2025-12-23 03:09:43,071 - vorta.borg.jobs_manager - DEBUG - Add job for site 3
2025-12-23 03:09:43,071 - vorta.borg.jobs_manager - DEBUG - Start job on site: 3
2025-12-23 03:09:43,072 - vorta.borg.borg_job - INFO - Running command: /opt/homebrew/bin/borg list --info --log-json --json /Users/(USERNAME)/Backups/TEST001
2025-12-23 03:09:43,490 - vorta.borg.jobs_manager - DEBUG - Finish job for site: 3
2025-12-23 03:09:43,491 - vorta.borg.jobs_manager - DEBUG - No more jobs for site: 3
2025-12-23 03:09:43,491 - vorta.scheduler - DEBUG - Scheduler for profile 1 is disabled.
2025-12-23 03:09:51,989 - vorta.keyring.abc - DEBUG - No module named 'secretstorage'
2025-12-23 03:09:51,990 - vorta.keyring.abc - DEBUG - Using VortaDarwinKeyring
2025-12-23 03:10:01,784 - vorta.keyring.abc - DEBUG - No module named 'secretstorage'
2025-12-23 03:10:01,784 - vorta.keyring.abc - DEBUG - Using VortaDarwinKeyring
2025-12-23 03:10:01,785 - vorta.keyring.darwin - DEBUG - Retrieved password for repo /Users/(USERNAME)/Backups/TEST002한글
2025-12-23 03:10:08,419 - vorta.keyring.abc - DEBUG - No module named 'secretstorage'
2025-12-23 03:10:08,420 - vorta.keyring.abc - DEBUG - Using VortaDarwinKeyring
2025-12-23 03:10:08,420 - vorta.borg.borg_job - DEBUG - Using VortaDarwinKeyring keyring to store passwords.
2025-12-23 03:10:08,420 - vorta.keyring.darwin - DEBUG - Retrieved password for repo /Users/(USERNAME)/Backups/TEST002한글
2025-12-23 03:10:08,421 - vorta.borg.borg_job - DEBUG - Password not found in primary keyring. Falling back to VortaDBKeyring.
2025-12-23 03:10:08,422 - vorta.borg.jobs_manager - DEBUG - Add job for site default
2025-12-23 03:10:08,422 - vorta.borg.jobs_manager - DEBUG - Start job on site: default
2025-12-23 03:10:08,425 - vorta.borg.borg_job - INFO - Running command: /opt/homebrew/bin/borg init --info --log-json --encryption=repokey-blake2 /Users/(USERNAME)/Backups/TEST002한글
2025-12-23 03:10:08,562 - vorta.borg.borg_job - INFO - Initializing repository at "/Users/(USERNAME)/Backups/TEST002한글"
2025-12-23 03:10:08,571 - vorta.borg.borg_job - INFO - Key in "<Repository /Users/(USERNAME)/Backups/TEST002한글>" created.
2025-12-23 03:10:08,571 - vorta.borg.borg_job - INFO - Keep this key safe. Your data will be inaccessible without it.
2025-12-23 03:10:08,574 - vorta.borg.borg_job - INFO - Synchronizing chunks cache...
2025-12-23 03:10:08,574 - vorta.borg.borg_job - INFO - Archives: 0, w/ cached Idx: 0, w/ outdated Idx: 0, w/o cached Idx: 0.
2025-12-23 03:10:08,574 - vorta.borg.borg_job - INFO - Done.
2025-12-23 03:10:08,575 - vorta.borg.borg_job - WARNING - 
IMPORTANT: you will need both KEY AND PASSPHRASE to access this repo!

Key storage location depends on the mode:
- repokey modes: key is stored in the repository directory.
- keyfile modes: key is stored in the home directory of this user.

For any mode, you should:
1. Export the borg key and store the result at a safe place:
   borg key export           REPOSITORY encrypted-key-backup
   borg key export --paper   REPOSITORY encrypted-key-backup.txt
   borg key export --qr-html REPOSITORY encrypted-key-backup.html
2. Write down the borg key passphrase and store it at safe place.

2025-12-23 03:10:08,704 - vorta.keyring.darwin - DEBUG - Saved password for repo /Users/(USERNAME)/Backups/TEST002한글
2025-12-23 03:10:08,704 - vorta.borg.jobs_manager - DEBUG - Finish job for site: default
2025-12-23 03:10:08,705 - vorta.borg.jobs_manager - DEBUG - No more jobs for site: default
2025-12-23 03:10:08,781 - vorta.keyring.abc - DEBUG - No module named 'secretstorage'
2025-12-23 03:10:08,781 - vorta.keyring.abc - DEBUG - Using VortaDarwinKeyring
2025-12-23 03:10:08,781 - vorta.borg.borg_job - DEBUG - Using VortaDarwinKeyring keyring to store passwords.
2025-12-23 03:10:08,782 - vorta.keyring.darwin - DEBUG - Retrieved password for repo /Users/(USERNAME)/Backups/TEST002한글
2025-12-23 03:10:08,782 - vorta.borg.borg_job - DEBUG - Password not found in primary keyring. Falling back to VortaDBKeyring.
2025-12-23 03:10:19,437 - vorta.keyring.abc - DEBUG - No module named 'secretstorage'
2025-12-23 03:10:19,437 - vorta.keyring.abc - DEBUG - Using VortaDarwinKeyring
2025-12-23 03:10:19,438 - vorta.borg.borg_job - DEBUG - Using VortaDarwinKeyring keyring to store passwords.
2025-12-23 03:10:19,438 - vorta.keyring.darwin - DEBUG - Retrieved password for repo /Users/(USERNAME)/Backups/TEST002한글
2025-12-23 03:10:19,439 - vorta.borg.borg_job - DEBUG - Password not found in primary keyring. Falling back to VortaDBKeyring.
2025-12-23 03:10:25,029 - vorta.keyring.abc - DEBUG - No module named 'secretstorage'
2025-12-23 03:10:25,029 - vorta.keyring.abc - DEBUG - Using VortaDarwinKeyring
2025-12-23 03:10:25,029 - vorta.borg.borg_job - DEBUG - Using VortaDarwinKeyring keyring to store passwords.
2025-12-23 03:10:25,033 - vorta.keyring.darwin - DEBUG - Retrieved password for repo /Users/(USERNAME)/Backups/TEST001
2025-12-23 03:10:25,044 - vorta.borg.jobs_manager - DEBUG - Add job for site 3
2025-12-23 03:10:25,044 - vorta.borg.jobs_manager - DEBUG - Start job on site: 3
2025-12-23 03:10:25,052 - vorta.borg.borg_job - INFO - Running command: /opt/homebrew/bin/borg list --info --log-json --json /Users/(USERNAME)/Backups/TEST001
2025-12-23 03:10:25,308 - vorta.borg.jobs_manager - DEBUG - Finish job for site: 3
2025-12-23 03:10:25,309 - vorta.borg.jobs_manager - DEBUG - No more jobs for site: 3
2025-12-23 03:10:25,309 - vorta.scheduler - DEBUG - Scheduler for profile 1 is disabled.
2025-12-23 03:10:30,684 - vorta.keyring.abc - DEBUG - No module named 'secretstorage'
2025-12-23 03:10:30,684 - vorta.keyring.abc - DEBUG - Using VortaDarwinKeyring
2025-12-23 03:10:30,684 - vorta.borg.borg_job - DEBUG - Using VortaDarwinKeyring keyring to store passwords.
2025-12-23 03:10:30,685 - vorta.keyring.darwin - DEBUG - Retrieved password for repo /Users/(USERNAME)/Backups/TEST002한글
2025-12-23 03:10:30,685 - vorta.borg.borg_job - DEBUG - Password not found in primary keyring. Falling back to VortaDBKeyring.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions