Thanks for the response! We did end up using the branch just released by olihey.
We are close! We got a token with an admin account and for every user we are creating a different drive_id and remote: for rclone. It seems to work after following all the instructions on sites that reference O365 impersonation. Very large team sites are getting difficult to clone… They often crash and the clone has to be restarted. If we spread them out with a set of cron jobs, it survives. Are we doing this right? Well, what I mean is… Would you recommend a different way?
Turns out there are two separate issues. One is the impersonation (which we think by using olihey’s branch is working!), but the other is a crash when we are pushing our own Sharepoint library (we are a consulting company, doing this for a client. We wanted to eat our own dog food. Their’s is working, ours is ~800GB):
I tried to put the error in here and it says that new users can only put 2 links in a post. The links are things like:
This looks like a serious error that almost definitely indicates a bug… Can you try using the “Preformatted text” button in the editor? If not, can you try for example https://pastebin.com/ and share with us the error? That would be of much help. Thanks!
I see that you are encountering this problem when uploading something to the remote. Are you source files in your local file system, or in another remote? Are there any other log messages that you can share (obtained with -vv argument) with us? For example some network or file system errors? Any additional clues would be appreciated!
(More detailed info: There seem to be no good reason that nil is passed into the function setMetaData. I doubt if a size of 0 is passed into uploadMultipart.)