What is the problem you are having with rclone?
Same problem as Rclone serve webdav + OneDrive: Expecting fs.Object or fs.Directory, got <nil>.
Using Rclone with a Union of OneDrive accounts (for test 2) in the log I keep getting
ERROR: {[path]}: Expecting fs.Object or fs.Directory, got <nil>
even though the transfer ends with no visible problems.
Is there any news on how to avoid this problem?
Run the command 'rclone version' and share the full output of the command.
rclone v1.63.1
- os/version: ubuntu 22.04 (64 bit)
- os/kernel: 5.19.0-46-generic (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.20.6
- go/linking: static
- go/tags: none
Which cloud storage system are you using? (eg Google Drive)
Union of two OneDrive
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
rclone serve webdav Unione-Crypt: --addr 192.168.3.66:8000 --vfs-cache-mode full --union-cache-time 0
The rclone config contents with secrets removed.
[OneDrive1]
type = onedrive
token = [secret]
drive_id = [secret]
drive_type = personal
[OneDrive2]
type = onedrive
token = [secret]
drive_id = [secret]
drive_type = personal
[Unione]
type = union
upstreams = OneDrive1: OneDrive2:
[Unione-Crypt]
type = crypt
remote = Unione:
password = [secret]
password2 = [secret]
A log from the command with the -vv
flag
2023/07/25 19:07:14 DEBUG : /[path]: OpenFile: flags=O_RDONLY, perm=----------
2023/07/25 19:07:14 DEBUG : [path]: Open: flags=O_RDONLY
2023/07/25 19:07:14 DEBUG : [path]: newRWFileHandle:
2023/07/25 19:07:14 DEBUG : [path]: >newRWFileHandle: err=<nil>
2023/07/25 19:07:14 DEBUG : [path]: >Open: fd=[path] (rw), err=<nil>
2023/07/25 19:07:14 DEBUG : /[path]: >OpenFile: fd=[path] (rw), err=<nil>
2023/07/25 19:07:14 DEBUG : [path](0xc0020491c0): close:
2023/07/25 19:07:14 DEBUG : [path](0xc0020491c0): >close: err=<nil>
2023/07/25 19:07:14 DEBUG : /[path]: OpenFile: flags=O_RDONLY, perm=----------
2023/07/25 19:07:14 DEBUG : [path]: Open: flags=O_RDONLY
2023/07/25 19:07:14 DEBUG : [path]: newRWFileHandle:
2023/07/25 19:07:14 DEBUG : [path]: >newRWFileHandle: err=<nil>
2023/07/25 19:07:14 DEBUG : [path]: >Open: fd=[path] (rw), err=<nil>
2023/07/25 19:07:14 DEBUG : /[path]: >OpenFile: fd=[path] (rw), err=<nil>
2023/07/25 19:07:14 ERROR : {[path] 0xc001c92000}: Expecting fs.Object or fs.Directory, got <nil>
2023/07/25 19:07:14 DEBUG : [path](0xc002049240): close:
2023/07/25 19:07:14 DEBUG : [path](0xc002049240): >close: err=<nil>