After upgrading from 2.4 to 2.5 #2992
Replies: 7 comments 7 replies
-
Please use v2.5.3 .. not v2.5.2
Please read the release notes - https://github.com/abraunegg/onedrive/releases which state: The way Client version v2.5.3 also has some significant performance improvements. My advice is you should be using that version instead of v2.5.2. |
Beta Was this translation helpful? Give feedback.
-
Hello, I am finally in 2.5.3. I copy here the running times I got doing standalone synchronization:
The generation of /delta response takes about 2 hours. Before finishing, it did a final additional /delta response with another 2 hours of time. I read another post, and this may be related to the use of --single-directory, which in 2.5 branch seems to be a bad choice (I was using this option in 2.4 branch and seemed to be good). To explain why I was doing this, my configuration of directories in my onedrive is as follows:
I use two profiles, one to sync /v1/directory1 in work and the second to sync /v1/directory2 in home. That is why I was using previously I read that to sync specific folders it is now better to use sync_list, and it is not a good choice to use --single-directory. I tried to do this, including in the sync_list of the home profile the entry /v1/directory2. Now I need to do --resync. I get:
I think this Fetching operation is going through the entire onedrive drive, including all three items in my previous list. So it is not just going inside /v1/directory2. I think this will take forever (it will have to go through not only one hundred thousand of files in /v1/directory2, but through two hundred thousand of files also going through /v1/directory1, plus the minor folders). Is there a way I can optimize this?. I know this sounds complicated, but I thank any recommendation on how I could proceed. Thank you very much for your help. |
Beta Was this translation helpful? Give feedback.
-
You were using --single-directory to sync your entire data. --single-directory is meant to be used to sync a deep folder in your structure and update this locally. Consider folk who use --sync only .. manually keeping things up to date. They update something online and/or locally deep in their folder structure. This option builds the online state for that exact location, nothing else. That is the use case, and your use of it to scan your entire top level - whilst it works - is the wrong use. |
Beta Was this translation helpful? Give feedback.
-
@amelcon-dot
It certainly does not take 2.5 hours to pull down 100K objects. Please look at your environment, network speed, processing speed of your environment. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the recommendations, I have followed them. It is safer and more elegant as you describe. In my case it did not make much difference, since I have in
Then, in What it is stranger, is that this error also happens when the broken symbolic link is outside the folder structure specified in Thanks again for your help. |
Beta Was this translation helpful? Give feedback.
-
This is because your 'sync_dir' is '~' The application is scanning your entire home directory and then filtering that based on your 'sync_list' rules. This is 100% normal behavior. |
Beta Was this translation helpful? Give feedback.
-
Thank you, now everything is clear to me. With |
Beta Was this translation helpful? Give feedback.
-
Hello,
After some time I have finally upgraded the client from 2.4 to 2.5.2.
First I run a standalone synchronization with --resync to be sure that everything is fresh clean.
Then I run regular standalone synchronization with just --sync. The only thing special that I include in --single-directory. I have noticed that the client is much slower than version 2.4. Before, standalone synchronization took around a couple of minutes in the same directory, and now it goes up to an hour. Is there anything special that need to be configured to get back to similar synchronization tasks as with 2.4 version?. Thanks.
Beta Was this translation helpful? Give feedback.
All reactions