rclone: Fatal error: failed to mount FUSE fs: fusermount: exec: "fusermount": executable file not found in $PATH

Hi, I am new with rclone. I installed rclone with snap on Ubuntu 16.04.2 and rclone-browser from ppa following this guide: http://www.webupd8.org/2017/02/rclone-is-now-available-as-snap-package.html#more

The issue I am seeing happens on the GUI or in cmd:

rclone mount -v --allow-non-empty --allow-other DropBox: /mnt/HDD/Cloud/DropBox/
2017/02/28 22:13:29 rclone: Version "v1.35-DEV" starting with parameters ["/snap/rclone/60/bin/rclone" "mount" "-v" "--allow-non-empty" "--allow-other" "DropBox:" "/mnt/HDD/Cloud/DropBox/"]
2017/02/28 22:13:30 Dropbox root '': Modify window not supported
2017/02/28 22:13:30 Dropbox root '': Mounting on "/mnt/HDD/Cloud/DropBox/"
2017/02/28 22:13:30 Fatal error: failed to mount FUSE fs: fusermount: exec: "fusermount": executable file not found in $PATH
fusermount -V
fusermount version: 2.9.4
rclone -vv copy /tmp remote:tmp
2017/02/28 22:19:45 rclone: Version "v1.35-DEV" starting with parameters ["/snap/rclone/60/bin/rclone" "-vv" "copy" "/tmp" "remote:tmp"]
2017/02/28 22:19:45 Failed to create file system for "remote:tmp": didn't find section in config file

Any idea of the issue?

Merci

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 23 (10 by maintainers)

Commits related to this issue

Most upvoted comments

You probably need the fuse package installed.

@logix2 the snap package is a bit broken. I’m going to try to get some help to fix it but in the mean time please use the binary release.

Okay, I managed to figure it out. I’m surely missing something here, though, because they cannot be serious. Here goes:

cd github.com/ncw/rclone
snapcraft
# this builds rclone_1.37_amd64.snap. I guess this file can also be uploaded to their store?
# otherwise install it using:
sudo snap install --classic rclone_*.snap --dangerous

# allow rclone to use fuse
sudo snap connect rclone:fuse-support :fuse-support

# only root can mount
folder="/folder/must/exist/on/host"
sudo snap run rclone mount someremote:/ $folder

# figure out process ID of snap-rclone
pid=$(ps aux | awk '/\/rclone\/.* mount /{print $2}')

# list mounted directory (also only root)
sudo ls -l /proc/$pid/root/$folder

There is very little documentation on the fuse support of snapd. I pieced above together by reading their test cases: https://github.com/snapcore/snapd/blob/master/tests/main/interfaces-fuse_support/task.yaml

Hopefully someone more familiar with snap in general can provide some insight here.