Mounting WebDAV remote does not mount content

What is the problem you are having with rclone?

Mounting a WebDAV remote does not "mount" all the remote files in the local mounted directory.

What is your rclone version (output from rclone version)

/data $ rclone version
rclone v1.56.0
- os/version: alpine 3.14.0 (64 bit)
- os/kernel: 4.19.0-8-amd64 (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.16.6
- 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)

["/usr/local/bin/rclone", "mount", "--allow-other", "--vfs-cache-mode", "full", "--webdav-pass", "my-password-obscured", "icedrive:", "/data/mount"]

The rclone config contents with secrets removed.

[icedrive]
type = webdav
url = https://webdav.icedrive.io
vendor = other

A log from the command with the -vv flag

(Had to redact a lot of errors like data/files/file.md: Received error: 429 Too Many Requests - low level retry 8/10.)

2021/09/05 14:05:57 DEBUG : pacer: Reducing sleep to 381.642411ms
2021/09/05 14:05:58 DEBUG : pacer: Reducing sleep to 286.231808ms
2021/09/05 14:05:58 DEBUG : data/files/file.md: Received error: 429 Too Many Requests - low level retry 8/10
....
2021/09/05 14:05:58 DEBUG : pacer: Reducing sleep to 214.673856ms
2021/09/05 14:05:58 DEBUG : pacer: Reducing sleep to 161.005392ms
2021/09/05 14:05:59 DEBUG : pacer: low level retry 1/1 (error 429 Too Many Requests)
2021/09/05 14:05:59 DEBUG : pacer: Rate limited, increasing sleep to 322.010784ms
2021/09/05 14:05:59 DEBUG : pacer: Reducing sleep to 241.508088ms
2021/09/05 14:05:59 DEBUG : pacer: low level retry 1/1 (error 429 Too Many Requests)
2021/09/05 14:05:59 DEBUG : pacer: Rate limited, increasing sleep to 483.016176ms
2021/09/05 14:05:59 DEBUG : pacer: low level retry 1/1 (error 429 Too Many Requests)
2021/09/05 14:05:59 DEBUG : pacer: Rate limited, increasing sleep to 966.032352ms
2021/09/05 14:06:00 DEBUG : pacer: low level retry 1/1 (error 429 Too Many Requests)
2021/09/05 14:06:00 DEBUG : pacer: Rate limited, increasing sleep to 1.932064704s
2021/09/05 14:06:01 DEBUG : pacer: Reducing sleep to 1.449048528s
2021/09/05 14:06:02 DEBUG : pacer: Reducing sleep to 1.086786396s
2021/09/05 14:06:03 DEBUG : pacer: Reducing sleep to 815.089797ms
2021/09/05 14:06:04 DEBUG : pacer: Reducing sleep to 611.317347ms
2021/09/05 14:06:05 DEBUG : pacer: Reducing sleep to 458.48801ms
2021/09/05 14:06:05 DEBUG : pacer: Reducing sleep to 343.866007ms
2021/09/05 14:06:06 DEBUG : pacer: Reducing sleep to 257.899505ms
2021/09/05 14:06:06 DEBUG : pacer: Reducing sleep to 193.424628ms
2021/09/05 14:06:07 DEBUG : pacer: Reducing sleep to 145.068471ms
....
2021/09/05 14:06:07 DEBUG : pacer: low level retry 1/1 (error 429 Too Many Requests)
2021/09/05 14:06:07 DEBUG : pacer: Rate limited, increasing sleep to 290.136942ms
2021/09/05 14:06:07 DEBUG : pacer: low level retry 1/1 (error 429 Too Many Requests)
2021/09/05 14:06:07 DEBUG : pacer: Rate limited, increasing sleep to 580.273884ms
2021/09/05 14:06:07 DEBUG : pacer: low level retry 1/1 (error 429 Too Many Requests)
2021/09/05 14:06:07 DEBUG : pacer: Rate limited, increasing sleep to 1.160547768s
2021/09/05 14:06:08 DEBUG : pacer: low level retry 1/1 (error 429 Too Many Requests)
2021/09/05 14:06:08 DEBUG : pacer: Rate limited, increasing sleep to 2s


Additional Information

I am working on my Docker solution for Icedrive by leveraging WebDAV:

I almost never used WebDAV before this, so I have a little trouble in getting this to work, as I'd like it to work.

Basically, I want to have a remote storage, by imitating something like SSHFS or whatever usual solution you would choose.

The basic concept works, like uploading files, etc. The rate limiting is still an issue I have to find a solution for. Not sure, if the rate limiting is directly related to the issue of this thread.

So, when I mount the remote to a folder, the files are "not there". They are not displayed as being in the "mounted" folder. Sure, when I run something like rclone lsd or whatever, everything shows up, as it should. No problems there. However, it does not show up, when simply mounting the remote. The mounted folder seems "empty".

To solve this issue, all the remote files and folders have to show up in the "mounted" folder, as if it were a remote-only storage, like SSHFS or something else FUSEy.

It seems like, whenever the Docker composition is restarted, one needs to unmount the share properly, or a re-mount on the next start won't be effective, in the way desired.

I can confirm that the following did not work:

umount -l /data/mount

The following however works from within the container:

fusermount -u /data/mount

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