Comments (11)
@axiopaladin
Firstly, a segfault on download is a very odd issue - even on AARCH64 .... no issue like this has ever been reported - even on AARCH64, so this is potentially something unique to how and where the client is trying to write the temporary files when downloading - this is just a theory as your output only shows Segmentation fault
and not any of the other additional output which would be generated.
Secondly - regardless, this issue, if a bug, will not be fixed in v2.4.25 - sorry.
My advice is that you change to start using v2.5.0-rc1 - please read #2662 on how to obtain, build and start using. In your instance, post compiling, you will need to run make install
to ensure you install the latest client.
from onedrive.
I've compiled onedrive v2.5.0-rc1-12-ga6e2f77
and it runs into the same problem. I tried running it with the -vvv
switch enabled but it doesn't seem to give much more information; here is the last chunk of debug messages before it segfaults on this version:
DEBUG: ------------------------------------------------------------------
DEBUG: Number of JSON items to process is: 447
DEBUG: Number of JSON items processed was: 447
DEBUG: Updating completed deltaLink in DB to: https://graph.microsoft.com/v1.0/drives/[redacted]
DEBUG: Number of items to download from OneDrive: 6
DEBUG: Attempting to calculate local filesystem path for [redacted] and 01Q7ZUJ4TZPPB2GLRSFZDYLQZP7KAPLBUJ
DEBUG: Attempting to calculate local filesystem path for [redacted] and 01Q7ZUJ4TZPPB2GLRSFZDYLQZP7KAPLBUJ
DEBUG: Attempting to calculate local filesystem path for [redacted] and 01Q7ZUJ4SDSWTHRZQMIJCKKCU5D5IIRKYD
DEBUG: Attempting to calculate local filesystem path for [redacted] and 01Q7ZUJ4TZPPB2GLRSFZDYLQZP7KAPLBUJ
DEBUG: Attempting to calculate local filesystem path for [redacted] and 01Q7ZUJ4TZPPB2GLRSFZDYLQZP7KAPLBUJ
DEBUG: Attempting to calculate local filesystem path for [redacted] and 01Q7ZUJ4SDSWTHRZQMIJCKKCU5D5IIRKYD
DEBUG: JSON Item calculated full path for download is: [redacted]/test.txt
Segmentation fault
One odd thing I've noticed is that this v2.5.0-rc1 version seems to convince itself that it has synced successfully, even though it hasn't. (This doesn't happen on v2.4.25.) So after an initial (or --resync
) scan and segfault, invoking v2.5.0-rc1 again will report like this:
@ ./onedrive --sync
Using IPv4 and IPv6 (if configured) for all network operations
Configuring Global Azure AD Endpoints
Fetching items from the OneDrive API for Drive ID: [redacted] ..
No additional changes or items that can be applied were discovered while processing the data received from Microsoft OneDrive
Performing a database consistency and integrity check on locally stored data .
Scanning the local file system '~/OneDrive' for new data to upload .
Performing a last examination of the most recent online data within Microsoft OneDrive to complete the reconciliation process
Fetching items from the OneDrive API for Drive ID: [redacted] .
No additional changes or items that can be applied were discovered while processing the data received from Microsoft OneDrive
Sync with Microsoft OneDrive is complete
...despite the fact that it never downloaded any new files/changes.
I'm not sure what things I could try to interrogate next. Is it a problem with my cloud account? Some configuration problem on my local machine that affected both old and new versions?
from onedrive.
@axiopaladin
Please can you do the following:
- Recompile v2.5.0-rc1 and add
--enable-debug
- Generate a debug log using this process:
onedrive --resync --resync-auth --sync --verbose --verbose > debug_output.log 2>&1
- Archive the debug log and email it through, password protect it if necessary
If you are concerned about data sensitivity, please read:
- https://github.com/abraunegg/onedrive#reporting-an-issue-or-bug
- https://github.com/abraunegg/onedrive/blob/master/docs/privacy-policy.md
Some configuration problem on my local machine that affected both old and new versions?
There is probably something wrong with your actual local system - the debug log with compiler debugging enabled should show what is going on. When was the last time you:
- Performed a full file system check (fsck etc)? You have redacted your file system type in your post so I do not know what you are running and what to suggest.
- Restarted the system?
- Run an exhaustive hardware diagnostics?
- Run extended system memory checks?
If you could do the above steps to recompile and generated a proper debug log that would be greatly appreciated.
...despite the fact that it never downloaded any new files/changes.
This is because the online 'change' was actually processed already. Microsoft only ever send this change once, and if the file fails to download (error or otherwise) - the only mechanism to get Microsoft to resend the data is to perform a --resync
from onedrive.
@axiopaladin
Any update or info regarding these 4 questions:
- Performed a full file system check (fsck etc)? You have redacted your file system type in your post so I do not know what you are running and what to suggest.
- Restarted the system?
- Run an exhaustive hardware diagnostics?
- Run extended system memory checks?
from onedrive.
One odd thing I've noticed is that this v2.5.0-rc1 version seems to convince itself that it has synced successfully, even though it hasn't.
@abraunegg
This is precisely what issues #2660 and #2637 were about, the behavior simply does not meet users' expectations. Although there exists a solution for this, it only works until a user explicitly identifies the inconsistency. There must be some ways to prevent this. At least I still don't understand why you claim these changes are only sent once as discussed in #2637 (comment).
from onedrive.
One odd thing I've noticed is that this v2.5.0-rc1 version seems to convince itself that it has synced successfully, even though it hasn't.
@abraunegg This is precisely what issues #2660 and #2637 were about, the behavior simply does not meet users' expectations. Although there exists a solution for this, it only works until a user explicitly identifies the inconsistency. There must be some ways to prevent this. At least I still don't understand why you claim these changes are only sent once as discussed in #2637 (comment).
And this is why it would be beneficial to you to communicate offline or via MS Teams , so I can show you want I mean by this statement - and how various elements are only ever sent once because of the design of the OneDrive API - however you are reluctant to do this.
Outside of this, I have been working on a proper solution - but not that you would be aware, as you do not wish to communicate offline.
from onedrive.
@axiopaladin
Please can you respond regarding the questions I have raised.
from onedrive.
@axiopaladin
Please can you respond regarding the questions I have raised.
from onedrive.
One odd thing I've noticed is that this v2.5.0-rc1 version seems to convince itself that it has synced successfully, even though it hasn't.
This particular issue has been resolved in 3d66092
from onedrive.
@axiopaladin
Please can you respond regarding the questions I have raised:
- Have you performed a full file system check (fsck etc)? You have redacted your file system type in your post so I do not know what you are running and what to suggest.
- When did you last restart the system?
- Have you run an exhaustive hardware diagnostics?
- Have you run extended system memory checks?
This issue will be closed 5th April if no response is received.
from onedrive.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
from onedrive.
Related Issues (20)
- Bug: Files modified on upload (doc/docx/xls/xlsx) with SharePoint Shared Libraries HOT 3
- Bug: Inconsistencies When Interrupted During Download Activity HOT 4
- Bug: Process: 374335 ExecStart=/usr/bin/onedrive --monitor (code=exited, status=1/FAILURE) HOT 2
- Bug: Issues with onedrive 2.5.0-rc1 HOT 28
- Bug: Spelling error in message in onedrive-2.5-rc HOT 2
- Bug: ERROR: An internal database error occurred: disk I/O error HOT 2
- Bug: Skipping item - invalid name (Microsoft Naming Convention) for aparently good folder names. HOT 3
- Bug: Older versions of onedrive pulled from Docker Hub HOT 2
- Feature Request: Docker Environment Variable for `--sync-shared-files` HOT 2
- Bug: dbus not found HOT 4
- Bug: Does not synchronize during "Performing a database consistency" HOT 4
- Feature Request: Consider adding support for the OAuth2 Device Authorization Flow HOT 3
- Feature Request: Can the printing time be added to the log? HOT 4
- Bug: Synchorinze is not working on subfolder HOT 4
- Bug: Synced file is removed when updated on the remote while being processed by onedrive HOT 10
- Feature Request: Add file path to warnings HOT 3
- Feature Request: Multi-threadded synchronization HOT 2
- Feature Request: Add information about file creator/last editor as extended file attributes HOT 2
- Cannot find dependencies HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from onedrive.