Open laf0rge opened 1 day ago
@laf0rge Please can you provide:
Whilst your non-verbose log is showing an error, I need to see and trace through where and why and if something can be done for your scenario.
You may also need to investigate having the owner of the sharepoint site provide a few more permissions for your account to allow some of these queries to occur - which sets up a number of things in the way the application works internally.
@laf0rge Please can you test PR #2943 to potentially resolve your issue. Your debug logs may still be required if this does not resolve your issue.
First install all the required 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.
Once this is done, to clone the PR to resolve your issue, you can use a script like the following:
#!/bin/bash
PR=2943
rm -rf ./onedrive-pr${PR}
git clone https://github.com/abraunegg/onedrive.git onedrive-pr${PR}
cd onedrive-pr${PR}
git fetch origin pull/${PR}/head:pr${PR}
git checkout pr${PR}
# Configure and Build
./configure --enable-debug --enable-notifications; make clean; make;
./onedrive --version
This script will create a local folder called onedrive-pr2943
with the PR version.
To run the PR, you need to run the client from the PR build directory:
./onedrive <any other options needed>
To install the PR, you will need to perform sudo make install
to install the PR version to your system.
When running the PR, your version should be: onedrive v2.5.2-29-gd42bbfd
or greater.
@laf0rge Please can you respond
Describe the bug
I would like to use this software to synchronize files from a business sharepoint site to my local machine. I can access the https://undisclosed-site.sharepoint.com/ via the web browser just fine.
However, when I want to use this software, after the initial authentication it always fails like this:
I think this may be related to the fact that my account has no [personal] OneDrive or Office 365 at all. It only has access to that sharepoint instance.
The oauth first seems to succeed but then the GET to
/v1.0/me/drive
fails with HTTP status 400.Operating System Details
Client Installation Method
From Distribution Package
OneDrive Account Type
SharePoint
What is your OneDrive Application Version
onedrive v2.5.2-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'
intended use is just to sync some sharepoint folders.
Steps to reproduce the behaviour
onedrive --get-sharepoint-drive-id membergateway.sharepoint.com
Complete Verbose Log Output
Screenshots
No response
Other Log Information or Details
No response
Additional context
I have never used nor any intention to use any other microsoft services than this business sharepoint.