MacOS – `rclone mount` no longer working after update

What is the problem you are having with rclone?

After upgrading to version 1.54.0, the command rclone mount does no longer work.
On MacOS Mojave, here's the command that used to work until right before upgrading to rclone 1.54.0:

rclone mount --daemon Safe: /usr/local/mnt/rclone > /dev/null 2>&1

Unfortunately, the volume Safe is no longer present.

What is your rclone version (output from rclone version)

rclone v1.54.0

  • os/arch: darwin/amd64
  • go version: go1.15.7

Which OS you are using and how many bits (eg Windows 7, 64 bit)

MacOS Mojave 10.14.6

Which cloud storage system are you using? (eg Google Drive)

Regular VPS (Ubuntu)

The command you were trying to run (eg rclone copy /tmp remote:tmp)

rclone mount --daemon Safe: /usr/local/mnt/rclone > /dev/null 2>&1

The rclone config contents with secrets removed.

$ bat -p ~/.config/rclone/rclone.conf
[Safe]
type = crypt
remote = VPS:/home/USER/RESCUE
filename_encryption = standard
password = …
password2 = …
directory_name_encryption = true

[VPS]
type = sftp
host = <IP>
user = <USER>
port = <PORT>
key_use_agent = true
md5sum_command = md5sum
sha1sum_command = sha1sum

A log from the command with the -vv flag

$ rclone -vv mount --daemon Safe: /usr/local/mnt/rclone
2021/02/13 00:49:29 DEBUG : rclone: Version "v1.54.0" starting with parameters ["rclone" "-vv" "mount" "--daemon" "Safe:" "/usr/local/mnt/rclone"]
2021/02/13 00:49:29 DEBUG : Creating backend with remote "Safe:"
2021/02/13 00:49:29 DEBUG : Using config file from "/Users/USER/.config/rclone/rclone.conf"
2021/02/13 00:49:29 DEBUG : Creating backend with remote "VPS:/home/USER/RESCUE"
2021/02/13 00:49:29 DEBUG : sftp://USER2@IP2:PORT//home/USER/RESCUE: New connection IP:PORT->IP2:PORT2 to "SSH-2.0-OpenSSH_7.6p1 Ubuntu-4ubuntu0.3"
2021/02/13 00:49:29 DEBUG : rclone: Version "v1.54.0" finishing with parameters ["rclone" "-vv" "mount" "--daemon" "Safe:" "/usr/local/mnt/rclone"]

Very thankful to you for helping me solving this issue.

Can you try running without the --daemon flag and post the output? Rclone will need to stay running in the terminal it is running from - does that work? If not it should show some more useful logs.

Thanks for your help.

$ rclone mount -vv Safe: /usr/local/mnt/rclone
2021/02/13 12:09:58 DEBUG : rclone: Version "v1.54.0" starting with parameters ["rclone" "mount" "-vv" "Safe:" "/usr/local/mnt/rclone"]
2021/02/13 12:09:58 DEBUG : Creating backend with remote "Safe:"
2021/02/13 12:09:58 DEBUG : Using config file from "/Users/USER/.config/rclone/rclone.conf"
2021/02/13 12:09:58 DEBUG : Creating backend with remote "VPS:/home/USER/RESCUE"
2021/02/13 12:09:58 DEBUG : sftp://USER@IP2:PORT2//home/USER/RESCUE: New connection IP:PORT->IP2:PORT2 to "SSH-2.0-OpenSSH_7.6p1 Ubuntu-4ubuntu0.3"
2021/02/13 12:09:59 INFO  : Encrypted drive 'Safe:': poll-interval is not supported by this remote
2021/02/13 12:09:59 Fatal error: failed to mount FUSE fs: mount is not supported on MacOS when installed via Homebrew. Please install the binaries available at https://rclone.org/downloads/ instead if you want to use the mount command

Ah ha!

Unfortunately homebrew can't build using external dependencies (like macfuse) any more so you'll have to download the latest release here.

@darthShadow we should maybe make sure this message shows up before we fork if using --daemon?

1 Like

Good. I shall do that and update you soon. Thank you.

1 Like

Sure.

1 Like

Message from Homebrew:

$ brew info rclone

rclone: stable 1.54.0 (bottled), HEAD
Rsync for cloud storage
https://rclone.org/
Not installed
From: https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/rclone.rb
License: MIT
==> Dependencies
Build: go ✔
==> Options
--HEAD
        Install HEAD version
==> Caveats
Homebrew's installation does not include the `mount` subcommand on MacOS.

In fact, I missed the last line during the upgrade.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.