[SOLVED] rclone fuse

Kodey

Member
Oct 26, 2021
109
5
23
Hi,

I'm trying to add Onedrive and google drive to a media server container.
The package I'm using is rclone which went pretty smoothly until I tried to mount the cloudshare.

Code:
rclone mount --vfs-cache-mode full onedrive:Documents /srv/storage/onedrive -v --debug-fuse --poll-interval=0
2021/10/25 15:31:06 INFO  : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0)
2021/10/25 15:31:06 mount helper error: fusermount: fuse device not found, try 'modprobe fuse' first
2021/10/25 15:31:06 Fatal error: failed to mount FUSE fs: fusermount: exit status 1

I installed fuse in the container:
Code:
# apt-get install fuse3 libfuse2
...
# modprobe fuse
# lsmod | grep fuse
# ls -al /dev/fuse
ls: cannot access '/dev/fuse': No such file or directory

But it has to be installed in the host. So...
Code:
root@pmhost:/etc# modprobe fuse
root@pmhost:/etc# lsmod | grep fuse
root@pmhost:/etc# insmod fuse
insmod: ERROR: could not load module fuse: No such file or directory

This could be a kernel issue
Code:
root@pmhost:/etc# dpkg-query -W '*fuse'
ceph-fuse       14.2.21-1
fuse    2.9.9-5
zfs-fuse
root@pmhost:/etc# dpkg-query -W 'linux-image-*'
linux-image-2.6
root@pmhost:/etc# dpkg-query -W '*pve'
lxc-pve 4.0.9-4
novnc-pve       1.2.0-3
pve-kernel-5.11.22-4-pve        5.11.22-9
pve-kernel-5.11.22-5-pve        5.11.22-10
pve-kernel-5.4.140-1-pve        5.4.140-1

I wonder why linux-image is 2.6 while kernel is 5.x and what could be stopping fuse from loading.
Maybe it has something to do with the pve 6.4 to 7 upgrade.
How can I analyse this further?
 
Last edited:
you can try to enable 'fuse' for the container under options->features
 
I eventually figured out that this was entirely the wrong approach for restricted containers.
Instead, I used rclone inside the host and mounted that on the container.
It my have been better to use a dedicated vm for rclone to avoid running anything on the host.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!