borgbase / vorta

Desktop Backup Client for Borg Backup
https://vorta.borgbase.com
GNU General Public License v3.0
1.98k stars 130 forks source link

borg mount not available: loading FUSE support failed #735

Closed pin00b closed 3 years ago

pin00b commented 3 years ago

Describe the bug Trying to mount an archive from a given repo fails, ERROR: borg mount not available: loading FUSE support failed (ImportError: dlopen(/Applications/Vorta.app/Resources/borg- dir/llfuse.cpython-37m-darwin.so,2): Library not loaded: @loader _path/libosxfuse.2.dylib Referenced from: /Applications/Vorta.app/Contents/Resources/borg-dir/llfuse.cpython-37m-darwin.so Reason: no suitable image found Did find: file system relative paths not allowed in hardened programs

Desktop:

If appropriate include logs. Can be found in Main Window > Misc Tab > Log. --> 2020-12-04 17:21:18,174 - vorta.borg.borg_thread - ERROR - borg mount not available: loading FUSE support failed [ImportError: dlopen(/Applications/Vorta.app/Contents/Resources/borg-dir/llfuse.cpython-37m-darwin.so, 2): Library not loaded: @loader_path/libosxfuse.2.dylib Referenced from: /Applications/Vorta.app/Contents/Resources/borg-dir/llfuse.cpython-37m-darwin.so Reason: no suitable image found. Did find: file system relative paths not allowed in hardened programs]

Any help greatly appreciated! Thx!

samuel-w commented 3 years ago

I believe this is a duplicate of https://github.com/borgbase/vorta/issues/733.

pin00b commented 3 years ago

I believe this is a duplicate of #733.

Similar, but not identical, since in my case it states the library not to be loaded, in #733 the error is the following: [ImportError: No module named 'llfuse']

m3nu commented 3 years ago

FUSE support was recently removed from Homebrew/macOS. We now maintain a custom Tap for it:

https://github.com/borgbackup/homebrew-tap

So most likely we won't include Borg in future Vorta releases, since it got too complex to include FUSE. Too sensitive to different FUSE versions.

pin00b commented 3 years ago

FUSE support was recently removed from Homebrew/macOS. We now maintain a custom Tap for it:

https://github.com/borgbackup/homebrew-tap

So most likely we won't include Borg in future Vorta releases, since it got too complex to include FUSE. Too sensitive to different FUSE versions.

Maybe I am too stupid to understand it properly: I installed both Vorta and FUSE via DMG and .pkg respectively. Should I better install both via Homebrew and use FUSE from the tap you support? - Did you plan to remove FUSE support from Vorta in the future? Because Vorta without Borg doesn't make any sense at all!? No? - What would a possibility to mount archives or even repos look like in the future?

m3nu commented 3 years ago

If you want FUSE support, you need to install Borg via PyPi or our Tap above. The Tap is rather new and not documented yet.

The official Homebrew Borg doesn't support FUSE any more and the built-in version only works with specific FUSE versions.

We don't plan on removing FUSE support, but we do have to follow developments upstream.

dnszero commented 3 years ago

In the Vorta GUI (after installing via DMG), the Archives tab still has a link to go download and install FUSE. ...which is what I did before getting the same error as pin00b and landing here.

Just a reminder to change that message/link for future updates.

m3nu commented 3 years ago

There are many changes to macFUSE at the moment. We need to wait how it plays our, also in relation to macOS arm64.

m3nu commented 3 years ago

Generally best to follow the install instructions on the website and use Homebrew. We recently added a Borg tap with working FUSE support: https://vorta.borgbase.com/install/macos/

arnonel commented 3 years ago

Followed instructions above and still get error: "No suitable image found" and "file system relative paths not allowed in hardened programs"