Hallo Linuxianer,
ich brauche mal euere Hilfe. Nach der Installation von OneDrive habe ich Probleme mit der Einrichtung. Ich habe mich an diese Anleitung [hhttps://www.linuxuprising.com/2020/02/how-to-keep-onedrive-in-sync-with.html] gehalten und den Client über das ppa installiert. Zur Einrichtung habe ich mich an diesen Artikel OneDrive gehalten.
Unter /home/kiri/.config/onedrive/sync_list habe ich eine Liste mit den Ordnern angelegt.
Beide Befehle bringen noch nicht das gewünschte Ergebnis:
onedrive --synchronize onedrive --resync
Nach copy&paste des Links nach automatischer Anmeldung bei OneDrive gibt es eine Timeout-Fehlermeldung.
So sehen die Fehlermeldungen aus:
kiri@kiri-HP-ProBook-440-G3:~$ onedrive --synchronize --verbose --dry-run Using 'user' Config Dir: /home/kiri/.config/onedrive Using 'system' Config Dir: /etc/onedrive No user or system config file found, using application defaults DRY-RUN Configured. Output below shows what 'would' have occurred. Initializing the OneDrive API ... Configuring Global Azure AD Endpoints Authorize this app visiting: https://login.microsoftonline.com/common/oauth2/v2.0/authorize?client_id=d50ca740-c83f-4d1b-b616....519384f0c&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: https://login.microsoftonline.com/common/oauth2/nativeclient?code=M.R3_BAY.7e0e3b37-009f-1f2c... ERROR: OneDrive returned an error with the following message: Error Message: '''Timeout was reached on handle 55ED93798C70''' Opening the item database ... All operations will be performed in: /home/kiri/OneDrive ERROR: OneDrive returned an error with the following message: Error Message: Timeout was reached on handle 55ED93798C70 ERROR: OneDrive returned an error with the following message: Error Message: HTTP request returned status code 401 (Unauthorized) Error Reason: Access token is empty. ERROR: Check your configuration as your refresh_token may be empty or invalid. You may need to issue a --logout and re-authorise this client. Speicherzugriffsfehler kiri@kiri-HP-ProBook-440-G3:~$ onedrive Configuring Global Azure AD Endpoints Authorize this app visiting: https://login.microsoftonline.com/common/oauth2/v2.0/authorize?client_id=d50ca740-c83f-4d1b-b....2c519384f0c&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: https://login.microsoftonline.com/common/oauth2/nativeclient?code=M.R3_BAY.389c4... Application has been successfully authorised, however no additional command switches were provided. Please use --help for further assistance in regards to running this application. kiri@kiri-HP-ProBook-440-G3:~$ onedrive --synchronize --verbose --dry-run Using 'user' Config Dir: /home/kiri/.config/onedrive Using 'system' Config Dir: /etc/onedrive No user or system config file found, using application defaults DRY-RUN Configured. Output below shows what 'would' have occurred. Initializing the OneDrive API ... Configuring Global Azure AD Endpoints Opening the item database ... All operations will be performed in: /home/kiri/OneDrive ERROR: OneDrive returned an error with the following message: Error Message: Timeout was reached on handle 557483D0EB70 ERROR: OneDrive returned an error with the following message: Error Message: HTTP request returned status code 401 (Unauthorized) Error Reason: Access token is empty. ERROR: Check your configuration as your refresh_token may be empty or invalid. You may need to issue a --logout and re-authorise this client. Speicherzugriffsfehler kiri@kiri-HP-ProBook-440-G3:~$ onedrive --resync Configuring Global Azure AD Endpoints --synchronize or --monitor switches missing from your command line input. Please add one (not both) of these switches to your command line or use --help for further assistance. No OneDrive sync will be performed without one of these two arguments being present. kiri@kiri-HP-ProBook-440-G3:~$ onedrive --synchronize Configuring Global Azure AD Endpoints ERROR: OneDrive returned an error with the following message: Error Message: Timeout was reached on handle 55D2E0112B50 ERROR: OneDrive returned an error with the following message: Error Message: HTTP request returned status code 401 (Unauthorized) Error Reason: Access token is empty. ERROR: Check your configuration as your refresh_token may be empty or invalid. You may need to issue a --logout and re-authorise this client. Speicherzugriffsfehler kiri@kiri-HP-ProBook-440-G3:~$ onedrive --logout Configuring Global Azure AD Endpoints Authorize this app visiting: https://login.microsoftonline.com/common/oauth2/v2.0/authorize?client_id=d50ca740-c83f-4d1b-b616-12c5...&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: https://login.microsoftonline.com/common/oauth2/nativeclient?code=M.R3_BAY.7f801847-5495-a320-4f10-c34c3639 ERROR: OneDrive returned an error with the following message: Error Message: Timeout was reached on handle 55942B458C30 Application has been successfully authorised, however no additional command switches were provided. Please use --help for further assistance in regards to running this application. kiri@kiri-HP-ProBook-440-G3:~$
Bin froh über einen guten Tipp,
Gruß
kirinoko