-
-
Notifications
You must be signed in to change notification settings - Fork 874
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug: client crashes after downloading deltas and database optimization #3139
Comments
@htw-ikt-noelle |
To those watching | impacted by this bug(s) I was working on this issue heavily yesterday (1st March 2025) and the solution was working rather well with all testing. This morning, when I was re validating the code, overnight there has been an account change to all of my OneDrive Personal accounts where the accounts now have the 'sea8cc6beffdb43d7976fbc7da445c639' Microsoft change. As such, when I now query the API for all the folders online, the /delta query that this client heavily uses no longer is providing the Shared Folder JSON data that the /delta query was providing yesterday before the 'sea8cc6beffdb43d7976fbc7da445c639' account change. I have raised a bug with Microsoft for this issue - but until this data quality issue from the Microsoft OneDrive API is fixed, a full resolution for this insideous series of bugs caused by this 'sea8cc6beffdb43d7976fbc7da445c639' change cannot be resolved. The new API bug is listed here: OneDrive/onedrive-api-docs#1891 |
To those watching | impacted by this bug(s) Caution This maybe a 100% coding fix - however at the moment this needs a workaround to also be implemented by impacted users Please can you test this updated PR and provide valuable feedback. To test the PR, first install all the require platform dependencies to build the client on your respective platforms. Please read https://github.com/abraunegg/onedrive/blob/master/docs/install.md#building-from-source---high-level-requirements and then follow correctly for your platform. Important Currently there is an issue with installing the DMD or LDC compiler using the documentation instructions: This is not something I can solve and I have emailed the appropriate folk and raised dlang/dmd#20830 Please augment the installation of DMD or LDC with your distribution version if it is available Once this is done, to clone the PR to resolve your issue, you can use a script like the following:
This script will create a local folder called Important Before running this PR please add to your configuration file This will bypass the new OneDrive API /delta bug OneDrive/onedrive-api-docs#1891 where OneDrive Personal Folder details are no longer sent in the /delta response when your account has been migrated to the new Microsoft OneDrive platform. You can tell when you are impacted as when you run the application in verbose mode, it will look like this:
To run the PR, you need to run the client from the PR build directory:
To install the PR, you will need to perform When running the PR, your version should be: If you still encounter an issue, please generate a new verbose debug log following this process: https://github.com/abraunegg/onedrive/wiki/Generate-debug-log-for-support |
To those watching | impacted by this bug(s) Please rebuild your PR client version to A further UPPERCASE / lowercase API inconsistency has been uncovered, that required remediation as part of this PR. Please can you ensure you are running this version + apply the Whilst your client will run slower due to manually building a /delta response, Microsoft need to fix their API to provide again the Shared Folder data in the /delta API query, that is now removed when your account is moved to their new backend platform. Please read OneDrive/onedrive-api-docs#1891 for details. |
To those watching | impacted by this bug(s) Please rebuild your PR client version to It potentially appears that Microsoft has resolved the /delta API query bug that failed to send OneDrive Personal Shared Folder details, thus potentially you may be able to stop the use of the If you get this sort of error or similar without
You need to re-enable When using this client version, please use Please can you test this client version and advise. |
Closing this issue as fixed, and is being tracked by #3115 |
Describe the bug
It appears that the client crashes after downloading the delta from a personal shared folder and database optimization. The problem occurred recently, while the same configuration (client version, system setup,...) worked fine before.
Operating System Details
6.11.0-17-generic #17~24.04.2-Ubuntu SMP PREEMPT_DYNAMIC Mon Jan 20 22:48:29 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
Client Installation Method
From 3rd Party Source (PPA, OpenSuSE Build Service etc)
OneDrive Account Type
Personal
What is your OneDrive Application Version
onedrive v2.5.4-1+np1+1.1
What is your OneDrive Application Configuration
What is your 'curl' version
Where is your 'sync_dir' located
Local
What are all your system 'mount points'
What are all your local file system partition types
How do you use 'onedrive'
I normally use the client as a service to sync my local folders with OneDrive between two Ubuntu installations on two different laptops. Both systems recently started to show the same "crash behaviour".
The same problem occurs if I start the client manually with onedrive -s -v
Steps to reproduce the behaviour
onedrive -s -v
Complete Verbose Log Output
Screenshots
No response
Other Log Information or Details
Additional context
No response
The text was updated successfully, but these errors were encountered: