I have a mount going with some long living uploads, but whenever I hibernate my computer and later resume it the network temporarily drops out as Windows renegotiates with the router, the small network drop causes rclone to drop the currently uploading file and start a new one once the network resumes. Was wondering the best way to keep rclone from dropping the file and just have it continually retry or wait until the network becomes sane again
Run the command 'rclone version' and share the full output of the command.
Yes, 1.57.0
Which cloud storage system are you using? (eg Google Drive)
Google Drive
The command you were trying to run (eg rclone copy /tmp remote:tmp)
[archive]
type = drive
client_id =
client_secret =
scope = drive
token =
[archiveenc]
type = crypt
remote = archive:Encrypted
filename_encryption = standard
directory_name_encryption = true
password =
password2 =
A log from the command with the -vv flag
couldn't list directory: Get "https://www.googleapis.com/drive/v3/files?alt=json&fields=files%28id%2Cname%2Csize%2Cmd5Checksum%2Ctrashed%2CexplicitlyTrashed%2CmodifiedTime%2CcreatedTime%2CmimeType%2Cparents%2CwebViewLink%2CshortcutDetails%2CexportLinks%29%2CnextPageToken%2CincompleteSearch&includeItemsFromAllDrives=true&pageSize=1000&prettyPrint=false&q=trashed%3Dfalse+and+%28%271MaosAIJKLBpK2IWEiagxcqq3iJocxjnW%27+in+parents%29+and+%28name%3D%276nvo0dfn0ejmef6b9j703pfmo8%27%29&supportsAllDrives=true": dial tcp: lookup www.googleapis.com: no such host
The problem isnt that it errors out the file and doesn't retry it later, the problem is that all progress on the file is lost, which can sometimes amount to a good amount of time if the file is large enough. For instance, if a file is at 64% uploaded and rclone loses internet even for a small second or two, the file will be errored out and restart at 0 the next time it loops through the cache
I absolutely love the tool and use it constantly, this is the only major hurdle I have ever come across
Couldn't get the error to happen tonight, its seemingly related to timing though, I'm guessing if something lines up just wrong between Windows bringing the network back up and rclone trying to use it.
If I can get the error to pop up again I'll make sure to post it here. Of course when I try to get something to error to report it it never does