
我有 Windows 雙重啟動。我安裝了 OneDrive,效果很好。現在不再同步了。你有什麼建議嗎?
journalctl --user-unit onedrive -f
-- Logs begin at ג' 2018-04-03 12:46:32 IDT. --
אפר 03 09:50:30 Tsachi-Linux onedrive[1623]: src/main.d:190 void main.performSync(sync.SyncEngine) [0x5691c7]
אפר 03 09:50:30 Tsachi-Linux onedrive[1623]: src/main.d:166 _Dmain [0x568e64]
אפר 03 09:50:30 Tsachi-Linux onedrive[1623]: HTTP request returned status code 400 (Bad Request)
אפר 03 09:50:30 Tsachi-Linux onedrive[1623]: {
אפר 03 09:50:30 Tsachi-Linux onedrive[1623]: "error": "invalid_grant",
אפר 03 09:50:30 Tsachi-Linux onedrive[1623]: "error_codes": [
אפר 03 09:50:30 Tsachi-Linux systemd[1619]: onedrive.service: Main process exited, code=exited, status=1/FAILURE
אפר 03 09:50:30 Tsachi-Linux systemd[1619]: onedrive.service: Unit entered failed state.
אפר 03 09:50:30 Tsachi-Linux systemd[1619]: onedrive.service: Failed with result 'exit-code'.
答案1
我安裝了 OneDrive,效果很好。現在不再同步了。你有什麼建議嗎?
揭露:我是 Linux 版 OneDrive 用戶端的開發人員 -https://github.com/abraunegg/onedrive
此問題具體是由 OneDrive 驗證的變更引起的。
要解決此問題,您需要使用適合您平台的正確「onedrive」用戶端版本。參考https://github.com/abraunegg/onedrive/blob/master/docs/ubuntu-package-install.md有關如何為 Ubuntu 安裝的詳細資訊。