Unable to upload files larger than 300MB to One Drive


#1

Hi,

I have configured a OneDrive Business account through Webdav. When running rclone sync local/dir remote:dir everything goes smoothly until any file larger than 300MB is found. Then, the following errors are shown:

2018-12-04 22:33:55 ERROR : PATH/TO/FILE1: Failed to copy: 404
2018-12-04 22:33:55 ERROR : PATH/TO/FILE2: Failed to copy: 404
2018-12-04 22:33:55 ERROR : webdav root ‘Laptop’: not deleting files as there were IO errors
2018-12-04 22:33:55 ERROR : webdav root ‘Laptop’: not deleting directories as there were IO errors
2018-12-04 22:33:55 ERROR : Attempt 1/3 failed with 2 errors and: 404
2018-12-04 22:33:57 ERROR : PATH/TO/FILE1: Failed to copy: 404
2018-12-04 22:33:57 ERROR : PATH/TO/FILE2: Failed to copy: 404
2018-12-04 22:33:57 ERROR : webdav root ‘Laptop’: not deleting files as there were IO errors
2018-12-04 22:33:57 ERROR : webdav root ‘Laptop’: not deleting directories as there were IO errors
2018-12-04 22:33:57 ERROR : Attempt 2/3 failed with 2 errors and: 404
2018-12-04 22:33:59 ERROR : PATH/TO/FILE1: Failed to copy: 404
2018-12-04 22:33:59 ERROR : PATH/TO/FILE2: Failed to copy: 404
2018-12-04 22:33:59 ERROR : webdav root ‘Laptop’: not deleting files as there were IO errors
2018-12-04 22:33:59 ERROR : webdav root ‘Laptop’: not deleting directories as there were IO errors
2018-12-04 22:33:59 ERROR : Attempt 3/3 failed with 2 errors and: 404

What FILE1 and FILE2 have in common is that they are the only files larger than 300 MB under local/dir. Having said that, it is true that it might be a coincidence the fact that those files are larger than 300MB. Actually, they have 318 and 322 MB, respectively. However, as a simple test, I created a dummy file of 250MB that was uploaded without problems.

rclone v1.45

  • os/arch: linux/amd64 (Ubuntu 16.04)
  • go version: go1.11.2

Any idea of what’s going on?

Thanks,

Juan


#2

I have the same problem


#3

Can you run with -vv --dump responses which will produce a lot of output, but what I’m interested in is the full 404 response error - I’m hoping there might be more of a clue in there.

THere is mention of a 250MB limit here but I’m not sure that is relevant or not.

Can you use the onedrive backend instead of the webdav backend?


#4

Tried to configure the onedrive backend but didn’t work.The output you are asking for is here: https://pastebin.com/g6izxyHx

I hope you can provide some solution. Anyway, thank you very much for your help.


#5

There isn’t anything more in there unfortunately :frowning:

Could it be some limit your sysadmin has put on?

What happened?


#6

I get the admin approval required message when trying to log in into my account.

I cannot paste here the whole output because of the size. Please, see if this works: https://pastebin.com/raw/g6izxyHx


#7

When trying to use the onedrive backend?

Thank you. That didn’t give me any more clues, unfortunately.

Can you ask your admin what the max file size is? It is possible to set it so maybe they have tweaked it?