bpozdena / OneDriveGUI

A simple GUI for OneDrive Linux client with multi-account support.
GNU General Public License v3.0
766 stars 34 forks source link

Sharepoint libraries do not sync when using OneDriveGUI (works in onedrive) #178

Closed zany130 closed 2 months ago

zany130 commented 3 months ago

Describe the bug Sharepoint libraries do not sync when using OneDriveGUI (works in onedrive)

To Reproduce

  1. Configure OneDriveGUI with a share point library
  2. try to sync that libary

Expected behavior files are synced

Screenshots If applicable, add screenshots to help explain your problem.

Log

2024-07-22 21:02:31,177 [OneDriveGUI.py:3093][fn=config_client_bin_path][INFO] - Onedrive client location: '/home/linuxbrew/.linuxbrew/bin/onedrive'
2024-07-22 21:02:31,183 [OneDriveGUI.py:2854][fn=get_installed_client_version][DEBUG] - [GUI] Installed client version is 2425
2024-07-22 21:02:31,187 [OneDriveGUI.py:2889][fn=create_global_config][DEBUG] - [GUI] - loading default config {'onedrive': {'sync_dir': '"~/OneDrive"', 'monitor_interval': '"300"', 'log_dir': '"/var/log/onedrive/"', 'drive_id': '""', 'upload_only': '"false"', 'check_nomount': '"false"', 'check_nosync': '"false"', 'download_only': '"false"', 'disable_notifications': '"false"', 'disable_upload_validation': '"false"', 'enable_logging': '"false"', 'force_http_11': '"false"', 'local_first': '"false"', 'no_remote_delete': '"false"', 'skip_symlinks': '"false"', 'debug_https': '"false"', 'skip_dotfiles': '"false"', 'dry_run': '"false"', 'min_notify_changes': '"5"', 'monitor_log_frequency': '"5"', 'monitor_fullscan_frequency': '"10"', 'sync_root_files': '"false"', 'classify_as_big_delete': '"1000"', 'user_agent': '""', 'remove_source_files': '"false"', 'skip_dir_strict_match': '"false"', 'application_id': '""', 'resync': '"false"', 'bypass_data_preservation': '"false"', 'azure_ad_endpoint': '""', 'azure_tenant_id': '"common"', 'sync_business_shared_folders': '"false"', 'sync_dir_permissions': '"700"', 'sync_file_permissions': '"600"', 'rate_limit': '"125000000"', 'operation_timeout': '"3600"', 'webhook_enabled': '"false"', 'webhook_public_url': '""', 'webhook_listening_host': '""', 'webhook_listening_port': '"8888"', 'webhook_expiration_interval': '"86400"', 'webhook_renewal_interval': '"43200"', 'skip_file': '"~*|.~*|*.tmp"', 'skip_dir': '""'}}
2024-07-22 21:02:31,187 [OneDriveGUI.py:2933][fn=create_global_config][DEBUG] - [GUI]{'SharePoint_All_Company_Documents': {'config_file': '/home/zany130/.config/onedrive/accounts/SharePoint_All_Company_Documents/config', 'auto_sync': 'True', 'account_type': 'Documentlibrary', 'free_space': 'Not Available', 'onedrive': {'sync_dir': '"~/OneDrive/SharePoint_All_Company_Documents"', 'monitor_interval': '"300"', 'log_dir': '"/home/zany130/Logs"', 'drive_id': '"b!BCfTVfGDT0er1YwSJCXx9AjMIbrTm2dBgeZp7OmF5zw_pXCs90MZSpMbBORw_S5J"', 'upload_only': '"false"', 'check_nomount': '"false"', 'check_nosync': '"false"', 'download_only': '"false"', 'disable_notifications': '"false"', 'disable_upload_validation': '"false"', 'enable_logging': '"true"', 'force_http_11': '"false"', 'local_first': '"false"', 'no_remote_delete': '"false"', 'skip_symlinks': '"false"', 'debug_https': '"false"', 'skip_dotfiles': '"false"', 'dry_run': '"false"', 'min_notify_changes': '"5"', 'monitor_log_frequency': '"5"', 'monitor_fullscan_frequency': '"10"', 'sync_root_files': '"true"', 'classify_as_big_delete': '"1000"', 'user_agent': '""', 'remove_source_files': '"false"', 'skip_dir_strict_match': '"false"', 'application_id': '""', 'resync': '"false"', 'bypass_data_preservation': '"false"', 'azure_ad_endpoint': '""', 'azure_tenant_id': '"common"', 'sync_business_shared_folders': '"false"', 'sync_dir_permissions': '"700"', 'sync_file_permissions': '"600"', 'rate_limit': '"125000000"', 'operation_timeout': '"3600"', 'webhook_enabled': '"false"', 'webhook_public_url': '""', 'webhook_listening_host': '""', 'webhook_listening_port': '"8888"', 'webhook_expiration_interval': '"86400"', 'webhook_renewal_interval': '"43200"', 'skip_file': '"~*|.~*|*.tmp"', 'skip_dir': '""'}}}
2024-07-22 21:02:31,187 [OneDriveGUI.py:2942][fn=save_global_config][DEBUG] - [save_global_config]:[1]{'SharePoint_All_Company_Documents': {'config_file': '/home/zany130/.config/onedrive/accounts/SharePoint_All_Company_Documents/config', 'auto_sync': 'True', 'account_type': 'Documentlibrary', 'free_space': 'Not Available', 'onedrive': {'sync_dir': '"~/OneDrive/SharePoint_All_Company_Documents"', 'monitor_interval': '"300"', 'log_dir': '"/home/zany130/Logs"', 'drive_id': '"b!BCfTVfGDT0er1YwSJCXx9AjMIbrTm2dBgeZp7OmF5zw_pXCs90MZSpMbBORw_S5J"', 'upload_only': '"false"', 'check_nomount': '"false"', 'check_nosync': '"false"', 'download_only': '"false"', 'disable_notifications': '"false"', 'disable_upload_validation': '"false"', 'enable_logging': '"true"', 'force_http_11': '"false"', 'local_first': '"false"', 'no_remote_delete': '"false"', 'skip_symlinks': '"false"', 'debug_https': '"false"', 'skip_dotfiles': '"false"', 'dry_run': '"false"', 'min_notify_changes': '"5"', 'monitor_log_frequency': '"5"', 'monitor_fullscan_frequency': '"10"', 'sync_root_files': '"true"', 'classify_as_big_delete': '"1000"', 'user_agent': '""', 'remove_source_files': '"false"', 'skip_dir_strict_match': '"false"', 'application_id': '""', 'resync': '"false"', 'bypass_data_preservation': '"false"', 'azure_ad_endpoint': '""', 'azure_tenant_id': '"common"', 'sync_business_shared_folders': '"false"', 'sync_dir_permissions': '"700"', 'sync_file_permissions': '"600"', 'rate_limit': '"125000000"', 'operation_timeout': '"3600"', 'webhook_enabled': '"false"', 'webhook_public_url': '""', 'webhook_listening_host': '""', 'webhook_listening_port': '"8888"', 'webhook_expiration_interval': '"86400"', 'webhook_renewal_interval': '"43200"', 'skip_file': '"~*|.~*|*.tmp"', 'skip_dir': '""'}}}
2024-07-22 21:02:31,230 [OneDriveGUI.py:2998][fn=save_global_config][INFO] - SharePoint_All_Company_Documents config saved
2024-07-22 21:02:31,230 [OneDriveGUI.py:3000][fn=save_global_config][INFO] - All configs saved
2024-07-22 21:02:31,230 [OneDriveGUI.py:3001][fn=save_global_config][DEBUG] - {'SharePoint_All_Company_Documents': {'config_file': '/home/zany130/.config/onedrive/accounts/SharePoint_All_Company_Documents/config', 'auto_sync': 'True', 'account_type': 'Documentlibrary', 'free_space': 'Not Available', 'onedrive': {'sync_dir': '"~/OneDrive/SharePoint_All_Company_Documents"', 'monitor_interval': '"300"', 'log_dir': '"/home/zany130/Logs"', 'drive_id': '"b!BCfTVfGDT0er1YwSJCXx9AjMIbrTm2dBgeZp7OmF5zw_pXCs90MZSpMbBORw_S5J"', 'upload_only': '"false"', 'check_nomount': '"false"', 'check_nosync': '"false"', 'download_only': '"false"', 'disable_notifications': '"false"', 'disable_upload_validation': '"false"', 'enable_logging': '"true"', 'force_http_11': '"false"', 'local_first': '"false"', 'no_remote_delete': '"false"', 'skip_symlinks': '"false"', 'debug_https': '"false"', 'skip_dotfiles': '"false"', 'dry_run': '"false"', 'min_notify_changes': '"5"', 'monitor_log_frequency': '"5"', 'monitor_fullscan_frequency': '"10"', 'sync_root_files': '"true"', 'classify_as_big_delete': '"1000"', 'user_agent': '""', 'remove_source_files': '"false"', 'skip_dir_strict_match': '"false"', 'application_id': '""', 'resync': '"false"', 'bypass_data_preservation': '"false"', 'azure_ad_endpoint': '""', 'azure_tenant_id': '"common"', 'sync_business_shared_folders': '"false"', 'sync_dir_permissions': '"700"', 'sync_file_permissions': '"600"', 'rate_limit': '"125000000"', 'operation_timeout': '"3600"', 'webhook_enabled': '"false"', 'webhook_public_url': '""', 'webhook_listening_host': '""', 'webhook_listening_port': '"8888"', 'webhook_expiration_interval': '"86400"', 'webhook_renewal_interval': '"43200"', 'skip_file': '"~*|.~*|*.tmp"', 'skip_dir': '""'}}}
2024-07-22 21:02:31,829 [OneDriveGUI.py:3019][fn=main_window_start_state][INFO] - [GUI] Starting OneDriveGUI maximized
2024-07-22 21:02:31,830 [OneDriveGUI.py:1098][fn=__init__][INFO] - SharePoint_All_Company_Documents
2024-07-22 21:02:32,320 [connectionpool.py:1052][fn=_new_conn][DEBUG] - Starting new HTTPS connection (1): api.github.com:443
2024-07-22 21:02:32,459 [connectionpool.py:546][fn=_make_request][DEBUG] - https://api.github.com:443 "GET /repos/abraunegg/onedrive/releases/latest HTTP/1.1" 200 1244
2024-07-22 21:02:32,467 [OneDriveGUI.py:2472][fn=client_version_check][DEBUG] - [GUI] Client version check: {'latest_client_version': 'v2.4.25', 'installed_client_version': 'v2.4.25'}
2024-07-22 21:02:32,779 [OneDriveGUI.py:2545][fn=autostart_monitor][DEBUG] - [SharePoint_All_Company_Documents] Compatible client version found: True
2024-07-22 21:02:32,779 [OneDriveGUI.py:2546][fn=autostart_monitor][DEBUG] - [SharePoint_All_Company_Documents] Auto-sync enabled for profile: True
2024-07-22 21:02:32,779 [OneDriveGUI.py:2024][fn=__init__][INFO] - [GUI] Starting worker for profile SharePoint_All_Company_Documents
2024-07-22 21:02:32,779 [OneDriveGUI.py:2028][fn=__init__][DEBUG] - [GUI] OneDrive config file: /home/zany130/.config/onedrive/accounts/SharePoint_All_Company_Documents/config
2024-07-22 21:02:32,779 [OneDriveGUI.py:2029][fn=__init__][DEBUG] - [GUI] OneDrive config dir: <re.Match object; span=(0, 79), match='/home/zany130/.config/onedrive/accounts/SharePoin>
2024-07-22 21:02:32,779 [OneDriveGUI.py:2031][fn=__init__][DEBUG] - [GUI] Monitoring command: 'exec /home/linuxbrew/.linuxbrew/bin/onedrive --confdir='/home/zany130/.config/onedrive/accounts/SharePoint_All_Company_Documents' --monitor -v '
2024-07-22 21:02:32,779 [OneDriveGUI.py:2561][fn=start_onedrive_monitor][INFO] - [GUI] Opening external login window
2024-07-22 21:02:32,787 [OneDriveGUI.py:2100][fn=read_stdout][INFO] - [SharePoint_All_Company_Documents] Using 'user' Config Dir: /home/zany130/.config/onedrive/accounts/SharePoint_All_Company_Documents
2024-07-22 21:02:32,787 [OneDriveGUI.py:2100][fn=read_stdout][INFO] - [SharePoint_All_Company_Documents] Using config option for Global Azure AD Endpoints
2024-07-22 21:02:32,787 [OneDriveGUI.py:2100][fn=read_stdout][INFO] - [SharePoint_All_Company_Documents] Configuration file successfully loaded
2024-07-22 21:02:32,787 [OneDriveGUI.py:2100][fn=read_stdout][INFO] - [SharePoint_All_Company_Documents] Using logfile dir: /home/zany130/Logs
2024-07-22 21:02:33,075 [OneDriveGUI.py:2100][fn=read_stdout][INFO] - [SharePoint_All_Company_Documents] Checking Application Version ...
2024-07-22 21:02:33,175 [OneDriveGUI.py:2100][fn=read_stdout][INFO] - [SharePoint_All_Company_Documents] Initializing the OneDrive API ...
2024-07-22 21:02:33,176 [OneDriveGUI.py:2100][fn=read_stdout][INFO] - [SharePoint_All_Company_Documents] Configuring Global Azure AD Endpoints
2024-07-22 21:02:33,176 [OneDriveGUI.py:2100][fn=read_stdout][INFO] - [SharePoint_All_Company_Documents] Using Curl defaults for all HTTP operations
2024-07-22 21:02:33,176 [OneDriveGUI.py:2100][fn=read_stdout][INFO] - [SharePoint_All_Company_Documents] User Configured Rate Limit: 125000000
2024-07-22 21:02:33,176 [OneDriveGUI.py:2100][fn=read_stdout][INFO] - [SharePoint_All_Company_Documents] Opening the item database ...
2024-07-22 21:02:33,178 [OneDriveGUI.py:2100][fn=read_stdout][INFO] - [SharePoint_All_Company_Documents] All operations will be performed in: /home/zany130/OneDrive/SharePoint_All_Company_Documents
2024-07-22 21:02:34,425 [OneDriveGUI.py:2100][fn=read_stdout][INFO] - [SharePoint_All_Company_Documents] Application version: v2.4.25
2024-07-22 21:02:34,426 [OneDriveGUI.py:2100][fn=read_stdout][INFO] - [SharePoint_All_Company_Documents] Account Type: documentLibrary
2024-07-22 21:02:34,426 [OneDriveGUI.py:2135][fn=read_stdout][INFO] - [SharePoint_All_Company_Documents] Account type: documentLibrary
2024-07-22 21:02:34,426 [OneDriveGUI.py:2942][fn=save_global_config][DEBUG] - [save_global_config]:[1]{'SharePoint_All_Company_Documents': {'config_file': '/home/zany130/.config/onedrive/accounts/SharePoint_All_Company_Documents/config', 'auto_sync': 'True', 'account_type': 'Documentlibrary', 'free_space': 'Not Available', 'onedrive': {'sync_dir': '"~/OneDrive/SharePoint_All_Company_Documents"', 'monitor_interval': '"300"', 'log_dir': '"/home/zany130/Logs"', 'drive_id': '"b!BCfTVfGDT0er1YwSJCXx9AjMIbrTm2dBgeZp7OmF5zw_pXCs90MZSpMbBORw_S5J"', 'upload_only': '"false"', 'check_nomount': '"false"', 'check_nosync': '"false"', 'download_only': '"false"', 'disable_notifications': '"false"', 'disable_upload_validation': '"false"', 'enable_logging': '"true"', 'force_http_11': '"false"', 'local_first': '"false"', 'no_remote_delete': '"false"', 'skip_symlinks': '"false"', 'debug_https': '"false"', 'skip_dotfiles': '"false"', 'dry_run': '"false"', 'min_notify_changes': '"5"', 'monitor_log_frequency': '"5"', 'monitor_fullscan_frequency': '"10"', 'sync_root_files': '"true"', 'classify_as_big_delete': '"1000"', 'user_agent': '""', 'remove_source_files': '"false"', 'skip_dir_strict_match': '"false"', 'application_id': '""', 'resync': '"false"', 'bypass_data_preservation': '"false"', 'azure_ad_endpoint': '""', 'azure_tenant_id': '"common"', 'sync_business_shared_folders': '"false"', 'sync_dir_permissions': '"700"', 'sync_file_permissions': '"600"', 'rate_limit': '"125000000"', 'operation_timeout': '"3600"', 'webhook_enabled': '"false"', 'webhook_public_url': '""', 'webhook_listening_host': '""', 'webhook_listening_port': '"8888"', 'webhook_expiration_interval': '"86400"', 'webhook_renewal_interval': '"43200"', 'skip_file': '"~*|.~*|*.tmp"', 'skip_dir': '""'}}}
2024-07-22 21:02:34,458 [OneDriveGUI.py:2998][fn=save_global_config][INFO] - SharePoint_All_Company_Documents config saved
2024-07-22 21:02:34,458 [OneDriveGUI.py:3000][fn=save_global_config][INFO] - All configs saved
2024-07-22 21:02:34,458 [OneDriveGUI.py:3001][fn=save_global_config][DEBUG] - {'SharePoint_All_Company_Documents': {'config_file': '/home/zany130/.config/onedrive/accounts/SharePoint_All_Company_Documents/config', 'auto_sync': 'True', 'account_type': 'Documentlibrary', 'free_space': 'Not Available', 'onedrive': {'sync_dir': '"~/OneDrive/SharePoint_All_Company_Documents"', 'monitor_interval': '"300"', 'log_dir': '"/home/zany130/Logs"', 'drive_id': '"b!BCfTVfGDT0er1YwSJCXx9AjMIbrTm2dBgeZp7OmF5zw_pXCs90MZSpMbBORw_S5J"', 'upload_only': '"false"', 'check_nomount': '"false"', 'check_nosync': '"false"', 'download_only': '"false"', 'disable_notifications': '"false"', 'disable_upload_validation': '"false"', 'enable_logging': '"true"', 'force_http_11': '"false"', 'local_first': '"false"', 'no_remote_delete': '"false"', 'skip_symlinks': '"false"', 'debug_https': '"false"', 'skip_dotfiles': '"false"', 'dry_run': '"false"', 'min_notify_changes': '"5"', 'monitor_log_frequency': '"5"', 'monitor_fullscan_frequency': '"10"', 'sync_root_files': '"true"', 'classify_as_big_delete': '"1000"', 'user_agent': '""', 'remove_source_files': '"false"', 'skip_dir_strict_match': '"false"', 'application_id': '""', 'resync': '"false"', 'bypass_data_preservation': '"false"', 'azure_ad_endpoint': '""', 'azure_tenant_id': '"common"', 'sync_business_shared_folders': '"false"', 'sync_dir_permissions': '"700"', 'sync_file_permissions': '"600"', 'rate_limit': '"125000000"', 'operation_timeout': '"3600"', 'webhook_enabled': '"false"', 'webhook_public_url': '""', 'webhook_listening_host': '""', 'webhook_listening_port': '"8888"', 'webhook_expiration_interval': '"86400"', 'webhook_renewal_interval': '"43200"', 'skip_file': '"~*|.~*|*.tmp"', 'skip_dir': '""'}}}
2024-07-22 21:02:34,458 [OneDriveGUI.py:2100][fn=read_stdout][INFO] - [SharePoint_All_Company_Documents] Default Drive ID: b!BCfTVfGDT0er1YwSJCXx9AjMIbrTm2dBgeZp7OmF5zw_pXCs90MZSpMbBORw_S5J
2024-07-22 21:02:34,458 [OneDriveGUI.py:2100][fn=read_stdout][INFO] - [SharePoint_All_Company_Documents] Default Root ID: 01LP7MOOV6Y2GOVW7725BZO354PWSELRRZ
2024-07-22 21:02:34,458 [OneDriveGUI.py:2100][fn=read_stdout][INFO] - [SharePoint_All_Company_Documents] Remaining Free Space: Not Available
2024-07-22 21:02:34,458 [OneDriveGUI.py:2123][fn=read_stdout][INFO] - [SharePoint_All_Company_Documents] Free Space: Not Available
2024-07-22 21:02:34,459 [OneDriveGUI.py:2942][fn=save_global_config][DEBUG] - [save_global_config]:[1]{'SharePoint_All_Company_Documents': {'config_file': '/home/zany130/.config/onedrive/accounts/SharePoint_All_Company_Documents/config', 'auto_sync': 'True', 'account_type': 'Documentlibrary', 'free_space': 'Not Available', 'onedrive': {'sync_dir': '"~/OneDrive/SharePoint_All_Company_Documents"', 'monitor_interval': '"300"', 'log_dir': '"/home/zany130/Logs"', 'drive_id': '"b!BCfTVfGDT0er1YwSJCXx9AjMIbrTm2dBgeZp7OmF5zw_pXCs90MZSpMbBORw_S5J"', 'upload_only': '"false"', 'check_nomount': '"false"', 'check_nosync': '"false"', 'download_only': '"false"', 'disable_notifications': '"false"', 'disable_upload_validation': '"false"', 'enable_logging': '"true"', 'force_http_11': '"false"', 'local_first': '"false"', 'no_remote_delete': '"false"', 'skip_symlinks': '"false"', 'debug_https': '"false"', 'skip_dotfiles': '"false"', 'dry_run': '"false"', 'min_notify_changes': '"5"', 'monitor_log_frequency': '"5"', 'monitor_fullscan_frequency': '"10"', 'sync_root_files': '"true"', 'classify_as_big_delete': '"1000"', 'user_agent': '""', 'remove_source_files': '"false"', 'skip_dir_strict_match': '"false"', 'application_id': '""', 'resync': '"false"', 'bypass_data_preservation': '"false"', 'azure_ad_endpoint': '""', 'azure_tenant_id': '"common"', 'sync_business_shared_folders': '"false"', 'sync_dir_permissions': '"700"', 'sync_file_permissions': '"600"', 'rate_limit': '"125000000"', 'operation_timeout': '"3600"', 'webhook_enabled': '"false"', 'webhook_public_url': '""', 'webhook_listening_host': '""', 'webhook_listening_port': '"8888"', 'webhook_expiration_interval': '"86400"', 'webhook_renewal_interval': '"43200"', 'skip_file': '"~*|.~*|*.tmp"', 'skip_dir': '""'}}}
2024-07-22 21:02:34,490 [OneDriveGUI.py:2998][fn=save_global_config][INFO] - SharePoint_All_Company_Documents config saved
2024-07-22 21:02:34,490 [OneDriveGUI.py:3000][fn=save_global_config][INFO] - All configs saved
2024-07-22 21:02:34,490 [OneDriveGUI.py:3001][fn=save_global_config][DEBUG] - {'SharePoint_All_Company_Documents': {'config_file': '/home/zany130/.config/onedrive/accounts/SharePoint_All_Company_Documents/config', 'auto_sync': 'True', 'account_type': 'Documentlibrary', 'free_space': 'Not Available', 'onedrive': {'sync_dir': '"~/OneDrive/SharePoint_All_Company_Documents"', 'monitor_interval': '"300"', 'log_dir': '"/home/zany130/Logs"', 'drive_id': '"b!BCfTVfGDT0er1YwSJCXx9AjMIbrTm2dBgeZp7OmF5zw_pXCs90MZSpMbBORw_S5J"', 'upload_only': '"false"', 'check_nomount': '"false"', 'check_nosync': '"false"', 'download_only': '"false"', 'disable_notifications': '"false"', 'disable_upload_validation': '"false"', 'enable_logging': '"true"', 'force_http_11': '"false"', 'local_first': '"false"', 'no_remote_delete': '"false"', 'skip_symlinks': '"false"', 'debug_https': '"false"', 'skip_dotfiles': '"false"', 'dry_run': '"false"', 'min_notify_changes': '"5"', 'monitor_log_frequency': '"5"', 'monitor_fullscan_frequency': '"10"', 'sync_root_files': '"true"', 'classify_as_big_delete': '"1000"', 'user_agent': '""', 'remove_source_files': '"false"', 'skip_dir_strict_match': '"false"', 'application_id': '""', 'resync': '"false"', 'bypass_data_preservation': '"false"', 'azure_ad_endpoint': '""', 'azure_tenant_id': '"common"', 'sync_business_shared_folders': '"false"', 'sync_dir_permissions': '"700"', 'sync_file_permissions': '"600"', 'rate_limit': '"125000000"', 'operation_timeout': '"3600"', 'webhook_enabled': '"false"', 'webhook_public_url': '""', 'webhook_listening_host': '""', 'webhook_listening_port': '"8888"', 'webhook_expiration_interval': '"86400"', 'webhook_renewal_interval': '"43200"', 'skip_file': '"~*|.~*|*.tmp"', 'skip_dir': '""'}}}
2024-07-22 21:02:34,490 [OneDriveGUI.py:2100][fn=read_stdout][INFO] - [SharePoint_All_Company_Documents] Fetching details for OneDrive Root
2024-07-22 21:02:34,581 [OneDriveGUI.py:2100][fn=read_stdout][INFO] - [SharePoint_All_Company_Documents] OneDrive Root exists in the database
2024-07-22 21:02:34,581 [OneDriveGUI.py:2100][fn=read_stdout][INFO] - [SharePoint_All_Company_Documents] Initializing the Synchronization Engine ...
2024-07-22 21:02:34,581 [OneDriveGUI.py:2100][fn=read_stdout][INFO] - [SharePoint_All_Company_Documents] Initializing monitor ...
2024-07-22 21:02:34,581 [OneDriveGUI.py:2100][fn=read_stdout][INFO] - [SharePoint_All_Company_Documents] OneDrive monitor interval (seconds): 300
2024-07-22 21:02:34,581 [OneDriveGUI.py:2100][fn=read_stdout][INFO] - [SharePoint_All_Company_Documents] Monitor directory: .
2024-07-22 21:02:34,581 [OneDriveGUI.py:2100][fn=read_stdout][INFO] - [SharePoint_All_Company_Documents] Starting a sync with OneDrive
2024-07-22 21:02:34,581 [OneDriveGUI.py:2100][fn=read_stdout][INFO] - [SharePoint_All_Company_Documents] Syncing changes and items from OneDrive ...
2024-07-22 21:02:34,581 [OneDriveGUI.py:2100][fn=read_stdout][INFO] - [SharePoint_All_Company_Documents] Applying changes of Path ID: 01LP7MOOV6Y2GOVW7725BZO354PWSELRRZ
2024-07-22 21:02:35,204 [OneDriveGUI.py:2100][fn=read_stdout][INFO] - [SharePoint_All_Company_Documents] Performing a database consistency and integrity check on locally stored data due to fullscan requirement ...
2024-07-22 21:02:35,204 [OneDriveGUI.py:2100][fn=read_stdout][INFO] - [SharePoint_All_Company_Documents] Uploading differences of ~/OneDrive/SharePoint_All_Company_Documents
2024-07-22 21:02:35,204 [OneDriveGUI.py:2100][fn=read_stdout][INFO] - [SharePoint_All_Company_Documents] Processing .
2024-07-22 21:02:35,205 [OneDriveGUI.py:2100][fn=read_stdout][INFO] - [SharePoint_All_Company_Documents] The directory has not changed
2024-07-22 21:02:35,205 [OneDriveGUI.py:2100][fn=read_stdout][INFO] - [SharePoint_All_Company_Documents] Uploading new items of ~/OneDrive/SharePoint_All_Company_Documents
2024-07-22 21:02:35,205 [OneDriveGUI.py:2100][fn=read_stdout][INFO] - [SharePoint_All_Company_Documents] Applying changes of Path ID: 01LP7MOOV6Y2GOVW7725BZO354PWSELRRZ
2024-07-22 21:02:35,909 [OneDriveGUI.py:2100][fn=read_stdout][INFO] - [SharePoint_All_Company_Documents] Sync with OneDrive is complete
2024-07-22 21:07:35,932 [OneDriveGUI.py:2100][fn=read_stdout][INFO] - [SharePoint_All_Company_Documents] Starting a sync with OneDrive
2024-07-22 21:07:35,932 [OneDriveGUI.py:2100][fn=read_stdout][INFO] - [SharePoint_All_Company_Documents] Applying changes of Path ID: 01LP7MOOV6Y2GOVW7725BZO354PWSELRRZ
2024-07-22 21:07:36,637 [OneDriveGUI.py:2100][fn=read_stdout][INFO] - [SharePoint_All_Company_Documents] Uploading new items of ~/OneDrive/SharePoint_All_Company_Documents
2024-07-22 21:07:36,637 [OneDriveGUI.py:2100][fn=read_stdout][INFO] - [SharePoint_All_Company_Documents] Applying changes of Path ID: 01LP7MOOV6Y2GOVW7725BZO354PWSELRRZ
2024-07-22 21:07:37,138 [OneDriveGUI.py:2100][fn=read_stdout][INFO] - [SharePoint_All_Company_Documents] Sync with OneDrive is complete
2024-07-22 21:12:37,157 [OneDriveGUI.py:2100][fn=read_stdout][INFO] - [SharePoint_All_Company_Documents] Starting a sync with OneDrive
2024-07-22 21:12:37,157 [OneDriveGUI.py:2100][fn=read_stdout][INFO] - [SharePoint_All_Company_Documents] Applying changes of Path ID: 01LP7MOOV6Y2GOVW7725BZO354PWSELRRZ
2024-07-22 21:12:37,938 [OneDriveGUI.py:2100][fn=read_stdout][INFO] - [SharePoint_All_Company_Documents] Uploading new items of ~/OneDrive/SharePoint_All_Company_Documents
2024-07-22 21:12:37,938 [OneDriveGUI.py:2100][fn=read_stdout][INFO] - [SharePoint_All_Company_Documents] Applying changes of Path ID: 01LP7MOOV6Y2GOVW7725BZO354PWSELRRZ
2024-07-22 21:12:38,415 [OneDriveGUI.py:2100][fn=read_stdout][INFO] - [SharePoint_All_Company_Documents] Sync with OneDrive is complete

System Info

LSB Version:    n/a
Distributor ID: Bazzite
Description:    Bazzite 40.20240717.0 (From Fedora Kinoite)
Release:    40
'Codename:  Holographic
KDE
wayland
Python 3.12.4
/home/linuxbrew/.linuxbrew/bin/onedrive
onedrive v2.4.25

OneDriveGUI info How did you install OneDriveGUI?: [AppImage What is the name of the AppImage file (if applicable)? : OneDriveGUI-1.0.3_fix150-x86_64.AppImage

Additional context the same share point configured in onedrive from abraunegg works fine

tried the full re-sync option with no luck

bpozdena commented 3 months ago

Additional context the same share point configured in onedrive from abraunegg works fine tried the full re-sync option with no luck

Can you provide more context on this statement? The GUI is using onedrive from abraunegg to perform the sync.

I don't see any obvious issue in the log. Are you saying that when you run the sync from CLI using command:

/home/linuxbrew/.linuxbrew/bin/onedrive --confdir='/home/zany130/.config/onedrive/accounts/SharePoint_All_Company_Documents' --monitor -v

, you see a different outcome then in the GUI? Can you share the console output?

And what output is generated when you do a full re-sync?

/home/linuxbrew/.linuxbrew/bin/onedrive --confdir='/home/zany130/.config/onedrive/accounts/SharePoint_All_Company_Documents' --monitor -v --resync --resync-auth
zany130 commented 3 months ago

no longer getting this issue.

the problem was that the library id the GUI grabbed was incorrect

going through the add profile wizard it setup b!-Nyaugh2z02kOwjveahvn9Jhqrmk9iNLmBBSAvhNwnh6TYSlSL2ZQqULllzPatT5 as my drive id

according to

onedrive --get-O365-drive-id mysharepoint

that drive id does not exist and the correct id is b!-Nyaugh2z02kOwjveahvn9Jhqrmk9iNLmBBSAvhNwnh6TYSlSL2ZQqULllzPatT6

so somehow the wizard replaced the 6 at the end with a 5

, you see a different outcome then in the GUI?

Yes I was getting a different result when I manually ran

onedrive --confdir="~/.config/SharePoint_Documents" --synchronize --verbose

it actually started syncing as it was using the correct drive id.

On the GUI app image it would either complain about needing a re-sync or everything already being done.

I change the drive ID in onerdivegui sync options under advanced properties to the correct ID and now it is syncing my files no problem

zany130 commented 2 months ago

Happening again only this time one drive GUI has the correct drive ID yet it does not sync any files. it apparently doesn't see any files

it also randomly access me to reatuhenticate

again cli onedrive works fine

bpozdena commented 2 months ago

Can you please share the full log of the same sync action from when you use just the CLI and then just the GUI? I need to see what you're doing differently.

zany130 commented 1 month ago

Same thing is happening again on v1.1.0 of the GUI and 2.5.0 of the client

GUI seems to get one drive_id which is incorrect while doing

onedrive --get-sharepoint-drive-id '********'

gives me the right one

the GUI pull a drive_id that the CLI doesn't even see so no idea where the GUI is getting its drive-id

zany130 commented 1 month ago

Getting this same issue again on v1.1.0 of the GUI and 2.5.0 of onedrive.

It seems that once again, the GUI is getting a wrong drive_id; actually, the drive id that the GUI gets does not exist on the share point site according to

onedrive --get-sharepoint-drive-id '***********'

as you can see here

cat .config/onedrive/accounts/SharePoint_All_Company_Documents/config 
sync_dir = "/home/zany130/SharePoint_All_Company_Documents"
drive_id = "b!BCfTVfGDT0er1YwSJCXx9AjMIbrTm2dBgeZp7OmF5zw_pXCs90MZSpMbBORw_S5J"
check_nosync = "true"
sync_root_files = "true"
 onedrive --get-sharepoint-drive-id '*********' | grep b!BCfTVfGDT0er1YwSJCXx9AjMIbrTm2dBgeZp7OmF5zw_pXCs90MZSpMbBORw_S5J

╭─    ~ ──────────────────────────────────────────────────────────────────────────────── ✘ 0|1   4s  11:15:13 AM ─╮
╰─❯                                                                                                                        ─╯

so no idea where the GUI is getting

b!BCfTVfGDT0er1YwSJCXx9AjMIbrTm2dBgeZp7OmF5zw_pXCs90MZSpMbBORw_S5J

that doesn't exist