-
Notifications
You must be signed in to change notification settings - Fork 127
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
Throw error on borg<=1.0.x to avoid missing --log-json arg #283
Comments
Can you check your borg version? It somehow looks like you have borg 1.0.x there, but vorta wants 1.1.x. IIRC, vorta bundles borg, but maybe it prefers a borg installed at OS level (== within your linux distribution). So maybe you just need to get rid of the old borg. |
This could be a new version-dependent case. I'm guessing |
Thanks guys for responding so quickly! Correct the error occurred with borg 1.0.12 Once I upgraded to the binary version of borg 1.1.9 the problem went away! Thank you! Sorry I missed the version requirements. For anyone else who runs into this:
|
Since we use Reopening to provide a clear error message in such a case. |
Describe the bug
Trying to run my first backup on with Vorta on Linux Mint - Unable to initialize a new repository
To Reproduce
019-05-13 11:04:15,280 - vorta.borg.borg_thread - DEBUG - Using VortaSecretStorageKeyring keyring to store passwords.
2019-05-13 11:04:15,280 - asyncio - DEBUG - Using selector: EpollSelector
2019-05-13 11:04:15,288 - root - DEBUG - Found 0 passwords matching repo URL.
2019-05-13 11:04:15,288 - vorta.borg.borg_thread - DEBUG - Password not found in primary keyring. Falling back to VortaDBKeyring.
2019-05-13 11:04:15,389 - vorta.borg.borg_thread - INFO - Running command /usr/bin/borg init --info --log-json --encryption=repokey /home/my_user/test_vorta
2019-05-13 11:04:15,590 - vorta.borg.borg_thread - WARNING - usage: borg [-h] [-V] ...
2019-05-13 11:04:15,590 - vorta.borg.borg_thread - WARNING - borg: error: unrecognized arguments: --log-json
Desktop (please complete the following information):
Additional context
Using the borg commands I have been able to create a repository, but I would much rather do this through vorta/gui
My apology in advance if I missed a docs or an existing issue. I reviewed open and closed issues, google, etc. prior to posting this.
The text was updated successfully, but these errors were encountered: