Disclosure: I am the developer of the OneDrive Client for Linux - https://github.com/abraunegg/onedrive
I have installed the onedrive package in my Ubuntu Server 20.04 environment.
What version did you install? What is the output of onedrive --version
Please note, installing the client from the Ubuntu repositories is not supported. Those repositories contain obsolete and outdated client versions.
To install the client correctly on any Ubuntu platform you must follow this document: https://github.com/abraunegg/onedrive/blob/master/docs/ubuntu-package-install.md
If you want this process or position to change, someone from the Ubuntu community needs to become the package maintainer and keep the Ubuntu 'onedrive' package up-to-date.
However, it regularly runs for just a few hours, then it just stops syncing without an error message.
It sounds like you are hitting this known issue: https://github.com/abraunegg/onedrive/blob/master/docs/known-issues.md#application-stops-running-without-any-visible-reason
Application 'stops' running without any visible reason
When running the client and performing an upload or download operation, the application just stops working without any reason or explanation. If echo $?
is used after the application has exited without visible reason, an error level of 141 may be provided.
Additionally, this issue has mainly been seen when the client is operating against Microsoft's Europe Data Centre's.
Explanation:
The client is heavily dependent on Curl and OpenSSL to perform the activities with the Microsoft OneDrive service. Generally, when this issue occurs, the following is found in the HTTPS Debug Log: OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno 104
The only way to determine that this is the cause of the application ceasing to work is to generate a HTTPS debug log using the following additional flags: --verbose --verbose --debug-https
Additionally in the future, please post your questions or issue using the client on the GitHub site so that they can be tracked better & responded to in a timely fashion.