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

rclone path on macos #88

Closed
chrisb86 opened this issue Dec 9, 2023 · 2 comments · Fixed by #92
Closed

rclone path on macos #88

chrisb86 opened this issue Dec 9, 2023 · 2 comments · Fixed by #92

Comments

@chrisb86
Copy link

chrisb86 commented Dec 9, 2023

I installed restic and rclone with homebrew and try to connect to a repository in onedrive.

restic-browser complains that rclone binary wasn't found in $PATH.

echo $PATH
/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/TeX/texbin:/Users/chris/.local/bin:/Users/chris/bin:/opt/homebrew/sbin:/opt/homebrew/bin

which rclone
/opt/homebrew/bin/rclone
@emuell
Copy link
Owner

emuell commented Dec 9, 2023

The latest version of Restic Browser will try to manually locate the restic binary, but it won't do so for rclone, which is launched by restic internally.

Applications launched from the finder won't inherit your shell's PATH settings. Configuring the PATH globally on macOS is quite a pain. See this old thread for more info and possible workarounds: See #35 (comment)

The easiest workaround is launching the Restic browser from your shell instead of launching it from Finder.

@emuell
Copy link
Owner

emuell commented Jan 5, 2024

See #92

On macOS, rclone will now also be manually looked up at "/usr/local/bin:/opt/local/bin:/opt/homebrew/bin:~/bin", just like the restic executable.

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

Successfully merging a pull request may close this issue.

2 participants