-
-
Notifications
You must be signed in to change notification settings - Fork 862
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
ERROR: The requested single directory to sync was not found on OneDrive #293
Comments
@mbkupfer The Likewise, when you use Note:
Also - |
Updated PR #292 to include |
@mbkupfer
Can you revalidate your configuration if possible? |
You were correct in noticing the typo, I fixed it and it is working well. I still need to play around to get comfortable. I noticed something strange though: my root folder (the one that I used to get the drive_id) was actually syncing to a sub-folder. It was very weird. I believe this can be better explained with illustration: Imagine I got my drive_id using drive_root/ |
@abraunegg |
Unsure. Potentially it could be due to having the typo, thus the items database is screwed up. Can you perform a My understanding here is:
Analyst is a top level folder in the 'Research' Shared Library Locally, you should have (I am assuming default local path here):
When you run the above command, the Analyst folder should 'sync' from the 'Research' Shared Library to the local |
It is probably related, as - if you take away the
Example:
|
Is this the sqlite db in my confdir? What happens when I delete it, which I tried as a troubleshoot? It seemed to just get recreated last time I did it.
Yes! That did it. Really interesting, I think I'm starting to wrap my head around how this works. Feel free to close the issue if you feel appropriate. p.s I have a directory called |
In your confdir you should have the following:
The
This was probably installed via some other package or application that you have installed for 'onedrive'. I would check your packages that you have installed and:
Is that directory safe to remove - most likely. |
Closing as resolved - configuration |
* Issue #293 was caused by a spelling error in the configuration file. If the configuration file has errors, we should not load it or run using the application defaults as this may have undesirable consequences for users data
* check config file keys for validity, use setValue instead of direct access * Update config.d Add 'drive_id' to be initialised, set to an empty string * exit application if there is a configuration file error * Issue #293 was caused by a spelling error in the configuration file. If the configuration file has errors, we should not load it or run using the application defaults as this may have undesirable consequences for users data * missed returning false on key issue * Missed this edit of the file
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Bug Report Details
Describe the bug
I'm trying to synchronize a shared folder, but it is not syncing. I got the shared folder id using the
--get-O365-drive-id
switch and added that to by config folder as mentioned in the readme. Now when I do--synchronize
nothing happens and when I chose single-directory, I'm getting an error that the directory was not found.It appears the onedrive cli is using a different directory since the drive id that comes up when I use
--verbose
is not the one that comes up when I use the get id switch.Application and Operating System Details:
uname -a
& provide your OS & version (CentOS 6.x, Ubuntu 18.x etc)Ubuntu 18
No
onedrive --version
onedrive v2.2.1-11-g9faaf4b
Business
dmd --version
orldmd2 --version
dmd-2.083.1
Complete Verbose Log Output
A clear and full log of the problem when running the application in the following manner (ie, not in monitor mode):
Additional context
Verification that folder does in fact exist:
Config folder
Using display config that was implemented in pull/292
Bug Report Checklist
The text was updated successfully, but these errors were encountered: