"Mount is not ready" when trying to mount in docker on Mac M1

What is the problem you are having with rclone?

I can't find the fuse path to mount after installing the MacFUSE.
Hope against hope, I tried to run it without mounting the fuse into the container.
The container runing seems well, but I ran into the following issue when tried to Mount:
Fatal error: mount not ready

Run the command 'rclone version' and share the full output of the command.

Docker image rclone/rclone
rclone v1.60.0

  • os/version: alpine 3.16.2 (64 bit)
  • os/kernel: 5.15.49-linuxkit (aarch64)
  • os/type: linux
  • os/arch: arm64
  • go/version: go1.19.2
  • go/linking: static
  • go/tags: none

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

Google Drive, as well as a webDAV

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

First I ran docker run as below:

docker run -it \
--name=rclone \
--restart=always \
-v /Users/kevin/Documents/docker/rclone/data:/data \
-v /Users/kevin/Documents/docker/rclone/config:/config/rclone \
--user $(id -u):$(id -g) \
-v /etc/passwd:/etc/passwd:ro \
-v /etc/group:/etc/group:ro \
rclone/rclone config

it works fine so far, then I ran the below in the container:

clone mount backup15G:/ /data/google \
--cache-dir /tmp/google \
--allow-other \
--allow-non-empty \
--vfs-cache-mode full \
--vfs-cache-max-age 24h \
--vfs-cache-max-size 5G \
--attr-timeout 10m \
--daemon

It got stuck for a while then here is the output:

2022/11/19 13:37:38 Fatal error: mount not ready

The rclone config contents with secrets removed.

[backup15G]
type = drive
scope = drive
token = {"access_token":"xxxxxx"}
use_trash = false

A log from the command with the -vv flag

2022/11/19 13:51:45 DEBUG : rclone: Version "v1.60.0" starting with parameters ["rclone" "mount" "-vv" "backup15G:/" "/data/google" "--cache-dir" "/tmp/google" "--allow-other" "--allow-non-empty" "--vfs-cache-mode" "full" "--vfs-cache-max-age" "24h" "--vfs-cache-max-size" "5G" "--attr-timeout" "10m" "--daemon"]
2022/11/19 13:51:45 DEBUG : Creating backend with remote "backup15G:/"
2022/11/19 13:51:45 DEBUG : Using config file from "/config/rclone/rclone.conf"
2022/11/19 13:51:47 DEBUG : Google drive root '': 'root_folder_id = 0AODtaU-YvN2dUk9PVA' - save this in the config to speed up startup
2022/11/19 13:51:47 DEBUG : fs cache: renaming cache item "backup15G:/" to be canonical "backup15G:"
2022/11/19 13:52:47 DEBUG : Daemon timed out. Terminating daemon pid 40
2022/11/19 13:52:47 Fatal error: mount not ready

I am not sure if it's the problem caused by running without the fuse (I have checked to use gRPC fuse for file sharing in docker preference..).
No any further idea comes to mind after trying again and again.
Any help will be highly appreciated!!!
Thank you in advance,
Kev

Run it without daemon and share the log file.

thank you, bro!
Here is what I got without --Daemon
2022/11/20 02:44:22 DEBUG : rclone: Version "v1.60.0" starting with parameters ["rclone" "mount" "-vv" "backup15G:/" "/data/google" "--cache-dir" "/tmp/google" "--allow-other" "--allow-non-empty" "--vfs-cache-mode" "full" "--vfs-cache-max-age" "24h" "--vfs-cache-max-size" "5G" "--attr-timeout" "10m"]

2022/11/20 02:44:22 DEBUG : Creating backend with remote "backup15G:/"

2022/11/20 02:44:22 DEBUG : Using config file from "/config/rclone/rclone.conf"

2022/11/20 02:44:22 DEBUG : backup15G: Loaded invalid token from config file - ignoring

2022/11/20 02:44:24 DEBUG : Saving config "token" in section "backup15G" of the config file

2022/11/20 02:44:25 DEBUG : Keeping previous permissions for config file: -rwxrwxrwx

2022/11/20 02:44:25 DEBUG : backup15G: Saved new token in config file

2022/11/20 02:44:26 DEBUG : Google drive root '': 'root_folder_id = 0AODtaU-YvN2dUk9PVA' - save this in the config to speed up startup

2022/11/20 02:44:26 DEBUG : fs cache: renaming cache item "backup15G:/" to be canonical "backup15G:"

2022/11/20 02:44:26 DEBUG : vfs cache: root is "/tmp/google"

2022/11/20 02:44:26 DEBUG : vfs cache: data root is "/tmp/google/vfs/backup15G"

2022/11/20 02:44:26 DEBUG : vfs cache: metadata root is "/tmp/google/vfsMeta/backup15G"

2022/11/20 02:44:26 DEBUG : Creating backend with remote "/tmp/google/vfs/backup15G/"

2022/11/20 02:44:26 DEBUG : Creating backend with remote "/tmp/google/vfsMeta/backup15G/"

2022/11/20 02:44:26 DEBUG : Google drive root '': Mounting on "/data/google"

2022/11/20 02:44:26 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0)

2022/11/20 02:44:26 mount helper error: fusermount: fuse device not found, try 'modprobe fuse' first

2022/11/20 02:44:26 Fatal error: failed to mount FUSE fs: fusermount: exit status 1

I noticed there is a "mount helper error: fusermount: fuse device not found, try 'modprobe fuse' first," I assume it's lack of fuse device.
Can you hlep with mounting the fuse device into this container?
Thank you again!

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