Error when mount Webdav driver to Nas

STOP and READ USE THIS TEMPLATE NO EXCEPTIONS - By not using this, you waste your time, our time and really hate puppies. Please remove these two lines and that will confirm you have read them.

What is the problem you are having with rclone?

I upgraded the synology Nas to DSM 7.2.1-69057 Update 3. Then I found that the mounted driver invalid. So, I used the same commands to mount the remote driver, but fail.
I also tried to add the "ln -s /bin/fusermount /bin/fusermount3", it also doesn't work. Please help.

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

rclone v1.65.0

  • os/version: unknown
  • os/kernel: 3.10.108 (x86_64)
  • os/type: linux
  • os/arch: amd64
  • go/version: go1.21.4
  • go/linking: static
  • go/tags: none

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

webdav

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

rclone mount One:/ /volume1/Plex/One --allow-other --attr-timeout 5m --vfs-cache-mode full --vfs-cache-max-age 24h --vfs-cache-max-size 10G --vfs-read-chunk-size-limit 100M --buffer-size 100M --daemon --allow-non-empty -v
v

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

[AliAlist]
type = webdav
url = http://192.168.2.68:5244/dav/Aliyun/
vendor = other
user = XXX
pass = XXX

[One]
type = webdav
url = http://192.168.2.68:5244/dav/One/
vendor = other
user = XXX
pass = XXX
### Double check the config for sensitive info before posting publicly

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

2024/02/14 21:16:02 DEBUG : rclone: Version "v1.65.0" starting with parameters ["rclone" "mount" "One:/" "/volume1/Plex/One" "--allow-other" "--attr-timeout" "5m" "--vfs-cache-mode" "full" "--vfs-cache-max-age" "24h" "--vfs-cache-max-size" "10G" "--vfs-read-chunk-size-limit" "100M" "--buffer-size" "100M" "--daemon" "--allow-non-empty" "-vv"]
2024/02/14 21:16:02 DEBUG : Creating backend with remote "One:/"
2024/02/14 21:16:02 DEBUG : Using config file from "/var/services/homes/xiaopaul/.config/rclone/rclone.conf"
2024/02/14 21:16:02 DEBUG : found headers:
2024/02/14 21:16:02 DEBUG : fs cache: renaming cache item "One:/" to be canonical "One:"
2024/02/14 21:17:02 DEBUG : Daemon timed out. Terminating daemon pid 31526
2024/02/14 21:17:02 Fatal error: mount not ready: /volume1/Plex/One

not a linux expert but that seems very old version?

on my synbox, i have

sh-4.4$ ./rclone version
rclone v1.65.2
- os/version: unknown
- os/kernel: 4.4.180+ (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.21.6
- go/linking: static
- go/tags: none

maybe, as a test, might try without --daemon.
or add --daemon-wait=0

Thank you very for the quick response.
I have updated the Nas OS to the latest. So I also don't know if the Linux is outdated. Only can wait for the synology's upgrade.

It has the different error with the --daemon-wait=0.

~$ rclone mount One:/ /volume1/Plex/One --allow-other --attr-timeout 5m --vfs-cache-mode full --vfs-cache-max-age 24h --vfs-cache-max-size 10G --vfs-read-chunk-size-limit 100M --buffer-size 100M --daemon-wait=0 --allow-non-empty
2024/02/14 21:58:51 ERROR : @eaDir/.DS_Store@SynoResource: vfs cache: failed to reload item: reload: failed to add virtual dir entry: file does not exist
2024/02/14 21:58:51 mount helper error: fusermount3: option allow_other only allowed if 'user_allow_other' is set in /opt/etc/fuse.conf
2024/02/14 21:58:51 Fatal error: failed to mount FUSE fs: fusermount: exit status 1

add user_allow_other to /opt/etc/fuse.conf

There is not fuse.conf file. Should I create one? Thank you.

as a test, that is what i would do.

image

rclone: Version "v1.65.2" starting with parameters ["./rclone" "mount" "sbox01_u312758-sub2_webdav:" "./mpoint2" "-vv" "--allow-other" "--vfs-cache-mode=full"]
2024/02/14 10:09:04 DEBUG : Creating backend with remote "sbox01_u312758-sub2_webdav:"
2024/02/14 10:09:04 DEBUG : Using config file from "/var/services/homes/user99/.config/rclone/rclone.conf"
2024/02/14 10:09:04 DEBUG : found headers:
2024/02/14 10:09:04 INFO  : webdav root '': poll-interval is not supported by this remote
2024/02/14 10:09:04 DEBUG : vfs cache: root is "/var/services/homes/user99/.cache/rclone"
2024/02/14 10:09:04 DEBUG : vfs cache: data root is "/var/services/homes/user99/.cache/rclone/vfs/sbox01_u312758-sub2_webdav"
2024/02/14 10:09:04 DEBUG : vfs cache: metadata root is "/var/services/homes/user99/.cache/rclone/vfsMeta/sbox01_u312758-sub2_webdav"
2024/02/14 10:09:04 DEBUG : Creating backend with remote "/var/services/homes/user99/.cache/rclone/vfs/sbox01_u312758-sub2_webdav/"
2024/02/14 10:09:04 DEBUG : fs cache: renaming cache item "/var/services/homes/user99/.cache/rclone/vfs/sbox01_u312758-sub2_webdav/" to be canonical "/var/services/homes/user99/.cache/rclone/vfs/sbox01_u312758-sub2_webdav"
2024/02/14 10:09:04 DEBUG : Creating backend with remote "/var/services/homes/user99/.cache/rclone/vfsMeta/sbox01_u312758-sub2_webdav/"
2024/02/14 10:09:04 DEBUG : fs cache: renaming cache item "/var/services/homes/user99/.cache/rclone/vfsMeta/sbox01_u312758-sub2_webdav/" to be canonical "/var/services/homes/user99/.cache/rclone/vfsMeta/sbox01_u312758-sub2_webdav"
2024/02/14 10:09:04 INFO  : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0)
2024/02/14 10:09:04 DEBUG : webdav root '': Mounting on "./mpoint2"
2024/02/14 10:09:04 DEBUG : : Root:
2024/02/14 10:09:04 DEBUG : : >Root: node=/, err=<nil>

HI, Asdffdsa,

What mount commands with flags are you using? I like to try it. And My Nas only can be updated to DSM 7.2.1-69057 Update 4, instead of 6.

in the post above, i posted the full debug log, including the exact command.

Oh, yes. I tried it later. Thank you.

Hi, Asdffdsa,

After checked the fuse.conf, the 'user_allow_other' has been added into the file as the following:

Set the maximum number of FUSE mounts allowed to non-root users.

The default is 1000.

mount_max = -1

Allow non-root users to specify the 'allow_other' or 'allow_root'

mount options.

user_allow_other

Hi, Asdffdas,

It seems the problem still happened.

$ rclone mount One: /volume1/Plex/One --allow-other --vfs-cache-mode=full -vv
2024/02/18 14:44:16 DEBUG : rclone: Version "v1.65.2" starting with parameters ["rclone" "mount" "One:" "/volume1/Plex/One" "--allow-other" "--vfs-cache-mode=full" "-vv"]
2024/02/18 14:44:16 DEBUG : Creating backend with remote "One:"
2024/02/18 14:44:16 DEBUG : Using config file from "/var/services/homes/xiaopaul/.config/rclone/rclone.conf"
2024/02/18 14:44:16 DEBUG : found headers:
2024/02/18 14:44:16 INFO : webdav root '': poll-interval is not supported by this remote
2024/02/18 14:44:16 DEBUG : vfs cache: root is "/var/services/homes/xiaopaul/.cache/rclone"
2024/02/18 14:44:16 DEBUG : vfs cache: data root is "/var/services/homes/xiaopaul/.cache/rclone/vfs/One"
2024/02/18 14:44:16 DEBUG : vfs cache: metadata root is "/var/services/homes/xiaopaul/.cache/rclone/vfsMeta/One"
2024/02/18 14:44:16 DEBUG : Creating backend with remote "/var/services/homes/xiaopaul/.cache/rclone/vfs/One/"
2024/02/18 14:44:16 DEBUG : fs cache: renaming cache item "/var/services/homes/xiaopaul/.cache/rclone/vfs/One/" to be canonical "/var/services/homes/xiaopaul/.cache/rclone/vfs/One"
2024/02/18 14:44:16 DEBUG : Creating backend with remote "/var/services/homes/xiaopaul/.cache/rclone/vfsMeta/One/"
2024/02/18 14:44:16 DEBUG : fs cache: renaming cache item "/var/services/homes/xiaopaul/.cache/rclone/vfsMeta/One/" to be canonical "/var/services/homes/xiaopaul/.cache/rclone/vfsMeta/One"
2024/02/18 14:44:16 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0)
2024/02/18 14:44:16 DEBUG : webdav root '': Mounting on "/volume1/Plex/One"
2024/02/18 14:44:16 mount helper error: fusermount3: option allow_other only allowed if 'user_allow_other' is set in /opt/etc/fuse.conf
2024/02/18 14:44:16 Fatal error: failed to mount FUSE fs: fusermount: exit status 1

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