-
-
Notifications
You must be signed in to change notification settings - Fork 758
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
Not able to mount due to FUSE issue #8657
Comments
Also, I am able to use fuse-based drivers like ntfs-3g on my system - so this means I must have some version of fuse? |
@athulpa I don't know if that is an issue with that binary, you could ask bauerj. Also, you could try to reproduce without using the binary, see our docs how to install using pip. |
The issue has been posted on bauerj's repo as Issue 13. |
@ThomasWaldmann , I couldn't install using pip, with these instructions. It can't find a dependency installed on my system, maybe related to the same error that I got from the borg executable? INSTALLATION ERROR: Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting borgbackup[llfuse]
Using cached borgbackup-1.4.0.tar.gz (3.8 MB)
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'error'
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [19 lines of output]
Traceback (most recent call last):
File "/home/athul/borg-env/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 389, in <module>
main()
File "/home/athul/borg-env/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 373, in main
json_out["return_val"] = hook(**hook_input["kwargs"])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/athul/borg-env/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 143, in get_requires_for_build_wheel
return hook(config_settings)
^^^^^^^^^^^^^^^^^^^^^
File "/tmp/pip-build-env-715_2tvn/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 334, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=[])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/pip-build-env-715_2tvn/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 304, in _get_build_requires
self.run_setup()
File "/tmp/pip-build-env-715_2tvn/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 320, in run_setup
exec(code, locals())
File "<string>", line 134, in <module>
File "<string>", line 125, in lib_ext_kwargs
Exception: Could not find crypto lib/headers, please set BORG_OPENSSL_PREFIX or ensure libcrypto.pc is in PKG_CONFIG_PATH.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip. |
When installing from source (that includes the pip package), you need to first install the OS-level requirements, see our install docs: https://borgbackup.readthedocs.io/en/stable/installation.html#from-source |
This issue is similar to Issue 8388. However, the solution there didn't work for me.
I installed borg 1.4.0 on my raspberry pi 5, by using the standalone binaries from bauerj.eu - ARMv8 version.
I am able to create backups, run the "check", "info", "list" commands, and extract an archive as well.
However, the "borg mount" command is not working due to some issue with FUSE.
COMMAND:
./borg mount <path to borg repo> ~/borgmount # I'm mounting a repo, not an archive
ERROR MSG:
Runtime Error: borg mount not available: no FUSE support, BORG_FUSE_IMPL=pyfuse3,llfuse.
What I tried (these didn't solve the original error):
Some further comments:
I understand that FUSE is a userspace driver that is used to mount virtual filesystems, and the borg documentation gave me a good idea of how this works with borg mount.
I wonder if FUSE is not included in the standalone binary at all?
The installation instructions give the impression that the standalone binaries are the best way to install borg.
At the least, it doesn't mention anything about the mount feature not working or needing some other dependencies for it to work.
If this is indeed the problem, there should be a doc update (in the installation page) warning new users that standalone binaries don't support FUSE/"borg mount".
Meanwhile, how can I get FUSE to work with the standalone binary?
The text was updated successfully, but these errors were encountered: