Skip to content

[BUG] OneDrive GUI stuck on Starting, log says to authorize but no auth window popped out #255

@cipley

Description

@cipley

Describe the bug
The OneDrive GUI stuck on "Starting" status. The indicator was green for a while before going back to red.

No more window popped out to prompt inputting some kind of authentication.

Syncing the files using the onedrive CLI client works fine.

Perhaps related to #249

To Reproduce
Steps to reproduce the behavior:

  1. Open OneDriveGUI after configuring profile
  2. Click on the "play" button

Expected behavior
GUI manages to sync and displays the status of file sync.

Screenshots
Image

Log
If applicable, add relevant output from log file /tmp/onedrive-gui/onedrive-gui.log.

2025-11-19 09:23:53,043 [onedrivegui:1945][fn=__init__][INFO] - [GUI] Starting worker for profile cipley
2025-11-19 09:23:53,043 [onedrivegui:1949][fn=__init__][DEBUG] - [GUI] OneDrive config file: /home/cipley/.config/onedrive/accounts/cipley/config
2025-11-19 09:23:53,043 [onedrivegui:1950][fn=__init__][DEBUG] - [GUI] OneDrive config dir: <re.Match object; span=(0, 69), match='/home/cipley/.config/onedrive/accounts/cipley_zon>
2025-11-19 09:23:53,043 [onedrivegui:1952][fn=__init__][DEBUG] - [GUI] Monitoring command: 'exec onedrive --confdir='/home/cipley/.config/onedrive/accounts/cipley' --monitor -v '
2025-11-19 09:23:53,043 [onedrivegui:2548][fn=start_onedrive_monitor][INFO] - [GUI] Opening external login window
2025-11-19 09:23:53,051 [onedrivegui:2022][fn=read_stdout][INFO] - [cipley] Reading configuration file: /home/cipley/.config/onedrive/accounts/cipley/config
2025-11-19 09:23:53,051 [onedrivegui:2022][fn=read_stdout][INFO] - [cipley] Configuration file successfully loaded
2025-11-19 09:23:53,051 [onedrivegui:2022][fn=read_stdout][INFO] - [cipley] Using 'user' configuration path for application config and state data: /home/cipley/.config/onedrive/accounts/cipley
2025-11-19 09:23:53,053 [onedrivegui:2022][fn=read_stdout][INFO] - [cipley] D-Bus message bus daemon is available; GUI notifications are now enabled
2025-11-19 09:23:53,053 [onedrivegui:2022][fn=read_stdout][INFO] - [cipley] ERROR: Unable to create /var/log/onedrive
2025-11-19 09:23:53,053 [onedrivegui:2022][fn=read_stdout][INFO] - [cipley] ERROR: Please manually create '/var/log/onedrive' and set appropriate permissions to allow write access for your user to this location.
2025-11-19 09:23:53,053 [onedrivegui:2022][fn=read_stdout][INFO] - [cipley] ERROR: The requested client activity log will instead be located in your users home directory
2025-11-19 09:23:53,053 [onedrivegui:2022][fn=read_stdout][INFO] - [cipley] Using the following path to store the runtime application log: /home/cipley
2025-11-19 09:23:53,053 [onedrivegui:2022][fn=read_stdout][INFO] - [cipley] Using IPv4 and IPv6 (if configured) for all network operations
2025-11-19 09:23:53,054 [onedrivegui:2022][fn=read_stdout][INFO] - [cipley] Attempting to contact the Microsoft OneDrive Service
2025-11-19 09:23:53,150 [onedrivegui:2022][fn=read_stdout][INFO] - [cipley] Successfully reached the Microsoft OneDrive Service
2025-11-19 09:23:53,151 [onedrivegui:2022][fn=read_stdout][INFO] - [cipley] Checking Application Version ...
2025-11-19 09:23:53,223 [onedrivegui:2022][fn=read_stdout][INFO] - [cipley] Attempting to initialise the OneDrive API ...
2025-11-19 09:23:53,223 [onedrivegui:2022][fn=read_stdout][INFO] - [cipley] Configuring Global Azure AD Endpoints
2025-11-19 09:23:53,223 [onedrivegui:2022][fn=read_stdout][INFO] - [cipley] Please authorise this application by visiting the following URL:
2025-11-19 09:23:53,223 [onedrivegui:2022][fn=read_stdout][INFO] - [cipley] https://login.microsoftonline.com/common/oauth2/v2.0/authorize?client_id=d50ca740-c83f-4d1b-b616-12c519384f0c&scope=Files.ReadWrite%20Files.ReadWrite.All%20Sites.ReadWrite.All%20offline_access&response_type=code&prompt=login&redirect_uri=https://login.microsoftonline.com/common/oauth2/nativeclient
2025-11-19 09:23:53,223 [onedrivegui:2022][fn=read_stdout][INFO] - [cipley] After completing the authorisation in your browser, copy the full redirect URI (from the address bar) and paste it below.
2025-11-19 09:23:53,225 [onedrivegui:2022][fn=read_stdout][INFO] - [cipley] Paste redirect URI here: An empty or invalid response uri was entered
2025-11-19 09:23:53,225 [onedrivegui:2022][fn=read_stdout][INFO] - [cipley] The OneDrive API could not be initialised
2025-11-19 09:23:54,827 [onedrivegui:2560][fn=<lambda>][INFO] - finished worker cipley
2025-11-19 09:23:54,827 [onedrivegui:1956][fn=stop_worker][INFO] - [cipley] Waiting for worker to finish...
2025-11-19 09:23:54,827 [onedrivegui:1960][fn=stop_worker][INFO] - [cipley] Quitting thread
2025-11-19 09:23:54,827 [onedrivegui:1963][fn=stop_worker][INFO] - [cipley] Removing thread info
2025-11-19 09:23:54,827 [onedrivegui:1966][fn=stop_worker][INFO] - [GUI] Remaining running workers: {}

System Info

  • Linux distribution: Arch Linux
  • Desktop environment: KDE Plasma 6.4.5
  • Compositor: Wayland
  • Python version: 3.13.7
  • Version of OneDrive client: 2.5.9

OneDriveGUI info
How did you install OneDriveGUI?: AUR

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions