A Microsoft file hosting and synchronization service.
I have Onedrive 2.4.13-1build1. But, synchronizing is not working fine. Many folders are not fully synced.
And upoloading sync not work too...
What it should be?
Firstly, Microsoft does not provide the OneDrive client you are using, so your first port of call should be https://github.com/abraunegg/onedrive where the documentation for the client you have installed can be found.
From there, you will read that v2.4.13 as you have installed is not supported (due to you installing from distribution repositories). To install the client correctly on any Ubuntu (or Ubuntu based distribution like Linux Mint) you must install the client the correct way following these instructions: https://github.com/abraunegg/onedrive/blob/master/docs/ubuntu-package-install.md
Post installation of the correct client version (currently v2.4.25 at the time this was written) - please re-try any sync activity to ensure there are no more issues.
If you do encounter any issues:
- Read the documentation to assist
- Have a question that cannot be answered, please raise a discussion item on GitHub: https://github.com/abraunegg/onedrive/discussions
- Potentially found a bug? Please raise an issue on GitHub: https://github.com/abraunegg/onedrive/issues
Now - for this message in your log file:
abr 26 11:50:50 MBP2010 onedrive[1301]: ERROR: Microsoft OneDrive API returned an error with the following message:
abr 26 11:50:50 MBP2010 onedrive[1301]: Error Message: Timeout was reached on handle 55B810085230
abr 26 11:50:50 MBP2010 onedrive[1301]: Calling Function: download()
abr 26 11:50:53 MBP2010 onedrive[1301]: ERROR: File download size mis-match. Increase logging verbosity to determine why.
abr 26 11:50:53 MBP2010 onedrive[1301]: ERROR: File download hash mis-match. Increase logging verbosity to determine why.
Essentially your current client version (v2.4.13) is having trouble communicating with the Microsoft OneDrive service - mainly due to you running an obsolete client version which was released Jul 14, 2021 on a Linux distribution based on Ubuntu 22.04.
The timeout is hit because your system (Linux Mint) cannot resolve various aspects to communicate with Microsoft OneDrive and the underlying cause here is actually 'curl' and how it can flip-flop between IPv4 and IPv6 resolution (which causes the error you are seeing).
When you install the correct client version, you can then use the configuration option 'ip_protocol_version' to specify what TCP/IP protocol version to use to communicate with Microsoft OneDrive. Please read the client documentation for futher assistance.