Closed IanBlakeley closed 4 years ago
@IanBlakeley When performing the re-auth, you need to ensure that all application processes / services are stopped before performing the re-auth. From the above, it appears that this may have not been done.
Please can you re-validate that you have performed the correct re-auth process.
onedrive --verbose --logout
Once you have confirmed that the re-auth is working as per:
onedrive --synchronize --verbose
then you can re-enable your service files that were previously running and check that correct operation is now occurring.
RE: seeing another error ... most likely the service files / application were still running when you performed the re-compile / re-install. Again, make sure no application is running / service file is running when you perform the upgrade
RE: Notification (dbus) server not available, disabling
- make sure when you are compiling, to enable to use notifications and start the service in the correct sequence to allow the notifications to be sent to the desktop.
@IanBlakeley And to confirm that this is not an issue:
[alex@centos7full onedrive]$ ./onedrive --confdir '~/.config/onedrive-personal/' --verbose --verbose --logout
[DEBUG] homePath: HOME environment variable set
[DEBUG] homePath: /home/alex
[DEBUG] configDirName: CLI override to set configDirName to: ~/.config/onedrive-personal/
[DEBUG] configDirName: A '~' was found in configDirName, using the calculated 'homePath' to replace '~'
Using Config Dir: /home/alex/.config/onedrive-personal/
[DEBUG] sync_dir: Getting syncDir from config value sync_dir
[DEBUG] sync_dir: A '~' was found in configured sync_dir, automatically expanding as SHELL and USER environment variable is set
[DEBUG] syncDir: /home/alex/OneDrivePersonal
Deleting the saved status ...
[DEBUG] --logout requested
[DEBUG] Testing network to ensure network connectivity to Microsoft OneDrive Service
Initializing the OneDrive API ...
[DEBUG] Downgrading all HTTP operations to HTTP/1.1 by default
[DEBUG] clientId = d50ca740-c83f-4d1b-b616-12c519384f0c
[DEBUG] companyName = abraunegg
[DEBUG] appTitle = OneDrive Client for Linux
Authorize this app visiting:
https://login.microsoftonline.com/common/oauth2/v2.0/authorize?client_id=d50ca740-c83f-4d1b-b616-12c519384f0c&scope=Files.ReadWrite%20Files.ReadWrite.all%20Sites.Read.All%20Sites.ReadWrite.All%20offline_access&response_type=code&redirect_uri=https://login.microsoftonline.com/common/oauth2/nativeclient
Enter the response uri: <redacted>
Application has been successfully authorised, however no additional command switches were provided.
Please use --help for further assistance in regards to running this application.
[alex@centos7full onedrive]$
Thanks for the quick and detailed response.
I'd recompiled without notifications, last time for the upgrade was the first time I chose that option. I did think I had stopped everything but perhaps not. So repeated again after the 2nd time running okay now.
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.
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.
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.
Upgraded to 2.4 a couple of days ago, after the upgrade was working and files were syncing, noticed yesterday evening on another device that files had not synced to my onedrive account on checking this morning saw the service did not start.
Saw the note here about reauthorising the client so did that but still seems same, could not authorise uri
Then I recompiled and reinstalled , now a different error is seen
Running Mint 19.3 desktop, onedrive personal account
config
curl