After my M1 Max laptop running MacOS Monterey 12.0.1 went to sleep (with lid open), the Rclone (v1.56.2) upload session is still alive, but no longer uploading. I know it's not the latest Rclone (1.57.0 is out now), but it's the one currently stuck. The "Elapsed time" is still going. Is it possible not to lose this upload?
Doubtful as I assume at this point all the sessions got closed/timed out. I'd assume it will error out at some point or potentially retry but the log level is pretty low to figure out what is going on.
Thank you, yeah I didn't get my hopes up, but figured it's worth asking. This isn't the first time it happened, but last time it was with lid closed. Was hoping keeping lid open would keep it running.
Do you know of any guide for ensuring upload stability on laptops or unstable connections?
Ah makes sense for unstable connections. I imagine this still wouldn't cross the "sleep" boundary. Right now rclone is still running (about 2 hours since it got stuck), which suggests that retries aren't pertinent here. Doesn't seem like it will ever be timing out. Perhaps it's some kind of MacOS's resume-after-sleep mechanism that it's not compatible with.
I can't say I'm sure how sleeping/resuming would work.
You could probably test but setting the log level a little higher, using --log-file something.log and close/open it and see what gets logged when it resumes.
In an effort to prevent a wild goose chase (since I "conveniently" disabled logs ) — I just realized that there could be another explanation.
This could have been caused by a switch from wired to wifi connection. Before laptop fell asleep, I unplugged it from my thunderbolt monitor that also serves as a hub to a wired network adapter. Rclone might have stopped working at that time. Eventually it might've "realized" that it needs to use another network interface.
104% seems like a bug. As before, the timer keeps going. In B2 interface the file doesn't show up as completed yet, there's only the stub saying "started large file" for this file. The others are completed successfully. I guess I'll keep waiting.
Moral of the story: when rclone is sitting there and doing nothing, give it some personal space, don't poke it, it will eventually come around by itself. It just needs some rest, some alone time.