vorta icon indicating copy to clipboard operation
vorta copied to clipboard

Unable to mount backup - FUSE mount failed

Open daPhipz opened this issue 6 months ago • 7 comments

Description

I am unable to mount any archive. I want to restore some files from a previous backup, but it gives an error message and renders the mount point directory unreadable.

Steps to reproduce:

  1. Create a mount point directory: mkdir ~/restore
  2. Right-click on the archive you want to restore and select "Mount…" (with the folder icon, unsure of the exact label since I use the German version)
  3. Wait for some time, eventually Vorta throws an error: ERROR - Runtime Error: FUSE mount failed
  4. The folder disappears in Dolphin (KDEs File Manager) and seems to be broken:
~> ls -a
ls: cannot access 'restore': Transport endpoint is not connected
[…]
d????????? ? ?       ?          ?            ?  restore/
[…]

Additional Information: This happens regardless if I create the folder ahead of time via mkdir or Dolphin, or if I use the "New folder" option in the file chooser Vorta opens.

In the log file, there is this line just before the actual error message:

2025-07-08 16:30:15,240 - vorta.borg.borg_job - WARNING - sending file descriptor: Bad file descriptor

This sounds like it is related, but I have no idea what it means.

Reproduction

  • [x] I tried to reproduce the issue.
  • [x] I was able to reproduce the issue.

OS

Kubuntu 25.04, KDE Plasma 6.3.5

Version of Vorta

0.10.3

What did you install Vorta with?

Flatpak

Version of Borg

1.4.1

Logs

2025-07-08 16:29:59,795 - vorta.keyring.abc - DEBUG - No module named 'objc'
2025-07-08 16:29:59,799 - vorta.keyring.abc - DEBUG - Using VortaKWallet5Keyring
2025-07-08 16:29:59,800 - vorta.borg.borg_job - DEBUG - Using VortaKWallet5Keyring keyring to store passwords.
2025-07-08 16:29:59,823 - vorta.keyring.kwallet - DEBUG - Retrieved password for repo ssh://[email protected]/volume1/Borg Repo/remote.borg
2025-07-08 16:30:06,203 - vorta.borg.jobs_manager - DEBUG - Add job for site 2
2025-07-08 16:30:06,204 - vorta.borg.jobs_manager - DEBUG - Start job on site: 2
2025-07-08 16:30:06,269 - vorta.borg.borg_job - INFO - Running command /app/bin/borg --log-json --remote-path=/usr/local/bin/borg mount ssh://[email protected]/volume1/Borg\ Repo/remote.borg::Desktop_kubuntu-25.04_2025-07-06_01:37:41 /home/philipp/restore
2025-07-08 16:30:15,240 - vorta.borg.borg_job - WARNING - sending file descriptor: Bad file descriptor
2025-07-08 16:30:15,457 - vorta.borg.borg_job - ERROR - Runtime Error: FUSE mount failed
2025-07-08 16:30:15,913 - vorta.borg.jobs_manager - DEBUG - Finish job for site: 2
2025-07-08 16:30:15,929 - vorta.borg.jobs_manager - DEBUG - No more jobs for site: 2

daPhipz avatar Jul 08 '25 14:07 daPhipz

I'm having the same issue, also Kubuntu 25.04.

Victor239 avatar Jul 10 '25 19:07 Victor239

It seems Kubuntu has no AppArmor profile for fusermount3, these commands will temporarily resolve the issue by disabling AppArmor for it:

sudo ln -s /etc/apparmor.d/fusermount3 /etc/apparmor.d/disable/
sudo apparmor_parser -R /etc/apparmor.d/fusermount3

Then restart Vorta.

And it can be reverted using:

sudo rm /etc/apparmor.d/disable/fusermount3
sudo apparmor_parser -r /etc/apparmor.d/fusermount3

Victor239 avatar Jul 10 '25 20:07 Victor239

@Victor239 Do you also use a Flatpak-install of Vorta?

goebbe avatar Jul 31 '25 15:07 goebbe

I do indeed.

Victor239 avatar Jul 31 '25 18:07 Victor239

Here is the corresponding Ubuntu bug https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/2120439

sophie-h avatar Aug 12 '25 12:08 sophie-h

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Nov 11 '25 02:11 github-actions[bot]

Since this needs to be fixed upstream, feel free to close this issue. We could leave it open for visibility, though.

daPhipz avatar Nov 11 '25 06:11 daPhipz