Cannot mount gdrive / fuse problem on docker / portainer

What is the problem you are having with rclone?

I try to mount a directory in gdrive but get an error from fuse

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

rclone v1.65.2

  • os/version: alpine 3.19.0 (64 bit)
  • os/kernel: 6.1.0-rpi7-rpi-v8 (aarch64)
  • os/type: linux
  • os/arch: arm64 (ARMv8 compatible)
  • go/version: go1.21.6
  • go/linking: static
  • go/tags: none

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

Google Drive

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

rclone mount gdrive/paperless /paperless_media/documents/gdrive

Please run 'rclone config redacted' and share the full output. If you get command not found, please make sure to update rclone.

[gdrive]
type = drive
client_id = XXX
client_secret = XXX
scope = drive
token = XXX
team_drive = 

A log from the command that you were trying to run with the -vv flag

2024/03/08 10:40:21 DEBUG : Creating backend with remote "gdrive/paperless"
2024/03/08 10:40:21 DEBUG : Using config file from "/config/rclone/rclone.conf"
2024/03/08 10:40:21 DEBUG : fs cache: renaming cache item "gdrive/paperless" to be canonical "/data/gdrive/paperless"
2024/03/08 10:40:21 INFO  : Local file system at /data/gdrive/paperless: poll-interval is not supported by this remote
2024/03/08 10:40:21 DEBUG : Local file system at /data/gdrive/paperless: Mounting on "/paperless_media/documents/gdrive"
2024/03/08 10:40:21 mount helper error: fusermount3: fuse device not found, try 'modprobe fuse' first
2024/03/08 10:40:21 Fatal error: failed to mount FUSE fs: fusermount: exit status 1

####additional Information
This is a Docker container with Portainer.
with this environment:

        "PUID=1000",
        "PGID=1000",
        "PHP_TZ=Europe/Berlin",
        "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
        "XDG_CONFIG_HOME=/config",
        "cap_add=SYS_ADMIN",
        "devices=/dev/fuse:/dev/fuse:rwm",
        "security_opt=apparmor:unconfined"

rclone Sync is working fine.

Clear, this is more a Linux / Docker environment problem, than a rclone issue.
But hopefully, someone can help to get fuse to work.

BTW: I swear! I've been searching the forum for two hours now before I post here. :frowning:

Firstly above is wrong. It should be:

rclone mount gdrive:paperless /paperless_media/documents/gdrive

my bad - this was an typo in here.

In terms of fuse make sure that your host system has fuse3 installed. Maybe it is not?

You are right - it's not.
Fuse seams to be installed but Fuse3 is not.
However, I also cannot use apt nor dpkg. So I wonder, how to install fuse or any other package.
As mentioned, I use the rclone container providet directly from rlone
https://hub.docker.com/r/rclone/rclone
I wonder if noone has tried to mount a drive with this container before.

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