vorta icon indicating copy to clipboard operation
vorta copied to clipboard

Error mounting archive when using right-click menu

Open eblanshey opened this issue 1 year ago • 4 comments

Description

  1. Right click an archive, select the Mount... option
  2. Select an empty folder that you have write permissions for
  3. Observe error: sending file descriptor: Bad file descriptor

If you click an archive and press the Mount... button below the archive list area, mounting works properly, so this is probably a UI issue. I am using the Flatpak version in Ubuntu 22.04.

Reproduction

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

OS

Ubuntu 22.04

Version of Vorta

Vorta 0.9.1

What did you install Vorta with?

Flatpak

Version of Borg

Borg 1.2.4

Logs

Cannot figure out how to extract the log

eblanshey avatar Jan 18 '24 01:01 eblanshey

Logs can be found through the link in the misc / about tab. The context mount corresponds to the mount button on the right side of the archive list and only mounts a single archive. The mount button below the list mounts all archives in the repository. Therefore we need some more information for debugging this. Are you sure the directory you want to mount is empty and doesn't contain a mount yet? In the logs you can find the borg command corresponding to the failing mount operation. You can paste that in a terminal and to have a look whether it fails on its own too.

real-yfprojects avatar Jan 22 '24 21:01 real-yfprojects

Thank you, I found the logs. Unfortunately there's no useful info there apart from the error I posted, "WARNING - sending file descriptor: Bad file descriptor".

It seems that the first backup created is the one that can't be mounted, whether through the context menu or right-hand side menu. The followup (incremental) backups can be mounted no problem.

I couldn't figure out how to manually run the mount command that was in the logs, as it's running through a flatpak container. For example I tried:

 flatpak run --command="/app/bin/borg --log-json mount /REPOINFO::NAME /home/user/Temp/Mnt" com.borgbase.Vorta

This gave me a "No such file or directory" error.

eblanshey avatar Jan 27 '24 17:01 eblanshey

Thank you, I found the logs. Unfortunately there's no useful info there apart from the error I posted, "WARNING - sending file descriptor: Bad file descriptor".

I am imagine there being a lot of useful info like what happened before and after the error, at what step in the process the error occurred, which mount command was run from the context menu and which from the button on the right side, ...

real-yfprojects avatar Feb 09 '24 12:02 real-yfprojects

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 May 10 '24 02:05 github-actions[bot]

This issue was closed because it has been stalled for 7 days with no activity.

github-actions[bot] avatar May 18 '24 02:05 github-actions[bot]