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 using internal Borg and not the homebrew installed version #1001

Closed
TensorBlast opened this issue May 30, 2021 · 2 comments
Closed

Vorta using internal Borg and not the homebrew installed version #1001

TensorBlast opened this issue May 30, 2021 · 2 comments
Labels
os:macos Affects only macOS status:ready

Comments

@TensorBlast
Copy link

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. As per instructions type: brew install --cask macfuse
  2. brew install borgbackup/tap/borgbackup-fuse
  3. brew install --cask vorta
  4. Open Vorta
  5. Go to "Misc" page which shows that vorta is using borg from within its Applications/Contents/Resources/borg-dir/ directory (screenshot attached)

Expected Result: The homebrew borg is installed (default) in /opt/homebrew/bin/borg which should be used

KIND REQUEST: DO NOT MARK THIS AS SUPPORT AS THIS IS A BUG NOT JUST A ONE OFF UNLESS YOU CAN PROVE OTHERWISE.

Environment (please complete the following information):

  • OS: Mac OS Big Sur 11.4
  • Vorta version: 0.7.5
  • Installed from: brew install --cask vorta

Screen Shot 2021-05-30 at 4 04 51 PM

Vorta and Borg versions can be found in Main Window > Misc Tab.

Additional context
If appropriate include logs. Can be found in Main Window > Misc Tab > Log.

@TensorBlast
Copy link
Author

As a potential hotfix: creating a symlink from homebrew's cellar to /usr/local/bin (basically copying /opt/homebrew/bin/borg to /usr/local/bin/borg) worked.
But, this needs to be addressed in the code for Vorta to look at directory /opt/hombrew/bin/borg too

m3nu added a commit to m3nu/vorta that referenced this issue May 30, 2021
@m3nu
Copy link
Contributor

m3nu commented May 30, 2021

You're right. /opt/homebrew/bin isn't in our PATH variable for macOS yet. Added a new PR #1002 to address this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
os:macos Affects only macOS status:ready
Projects
None yet
Development

No branches or pull requests

2 participants