Rclone gives a size IO error every time I upload a file

What is the problem you are having with rclone?

When I upload a file or folder of files, no matter the file or destination on the remote, it gives me an error referencing a size difference of vs 0. I've tried to copy it while ignoring size, and running the webDAV remote with vfs-cache-mode set to writes; -ignore-size does nothing and I'm returned to the command line. I tried copying through command line and by dragging, both resulted in the error. I tried the official version and a fork, both wouldn't work.

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

rclone v1.59.2

  • os/version: Microsoft Windows 10 Home 21H2 (64 bit)
  • os/kernel: 10.0.19044.2130 (x86_64)
  • os/type: windows
  • os/arch: amd64
  • go/version: go1.18.6
  • go/linking: static
  • go/tags: cmount

Yes, I am using 1.59.2 which I downloaded today.

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

I am using Real-Debrid via WebDAV.

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

./rclone cmount plexdebrid:torrents X: --dir-cache-time 10s --vfs-cache-mode writes

The rclone config contents with secrets removed.

{
    "plexdebrid": {
        "pass": "[pass]",
        "type": "webdav",
        "url": "https://dav.real-debrid.com/",
        "user": "[user]",
        "vendor": "other"
    }
}

A log from the command with the -vv flag

At the end, I forgot to add:

2022/10/17 12:55:35 INFO  : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0)

hello and welcome to the forum,

can you copy a single file using rclone copy, not using rclone mount
for example, rclone copy c:\path\to\file.ext plexdebrid:torrents -vv --retries=1
and post the full debug log

and this is a normal, expected output
2022/10/17 12:55:35 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0)
the vfs file cache is empty, no files in use, no files are in the process of uploading.

2022/10/17 13:11:37 DEBUG : rclone: Version "v1.59.2" starting with parameters ["C:\\Users\\dnktn\\Desktop\\rclone\\rclone.exe" "copy" "C:\\Users\\dnktn\\Desktop\\test.txt" "plexdebrid:torrents" "-vv" "--retries=1"]
2022/10/17 13:11:37 DEBUG : Creating backend with remote "C:\\Users\\dnktn\\Desktop\\test.txt"
2022/10/17 13:11:37 DEBUG : Using config file from "C:\\Users\\dnktn\\AppData\\Roaming\\rclone\\rclone.conf"
2022/10/17 13:11:37 DEBUG : fs cache: adding new entry for parent of "C:\\Users\\dnktn\\Desktop\\test.txt", "//?/C:/Users/dnktn/Desktop"
2022/10/17 13:11:37 DEBUG : Creating backend with remote "plexdebrid:torrents"
2022/10/17 13:11:37 DEBUG : found headers:
2022/10/17 13:11:38 ERROR : Attempt 1/1 failed with 1 errors and: is a directory not a file
2022/10/17 13:11:38 INFO  :
Transferred:              0 B / 0 B, -, 0 B/s, ETA -
Errors:                 1 (retrying may help)
Elapsed time:         0.6s

2022/10/17 13:11:38 DEBUG : 3 go routines active
2022/10/17 13:11:38 Failed to copy: is a directory not a file

I got this.

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