-
-
Notifications
You must be signed in to change notification settings - Fork 913
Closed
Labels
Milestone
Description
Describe the bug
I get the message:
“Skipping uploading this new file as it exceeds the available free space on Microsoft OneDrive” when running onedrive -s --resync, even though the file is already present on OneDrive and there is still free space available on my account.
Operating System Details
uname -a: Linux louison-hpelitebook86016inchg11notebookpc 6.12.64-1-MANJARO #1 SMP PREEMPT_DYNAMIC Thu, 08 Jan 2026 10:03:06 +0000 x86_64 GNU/Linux
lsb_release -a:
LSB Version: n/a
Distributor ID: ManjaroLinux
Description: Manjaro Linux
Release: 26.0.1
Codename: Anh-LinhClient Installation Method
From Distribution Package
OneDrive Account Type
Personal
What is your OneDrive Application Version
onedrive v2.5.9
What is your OneDrive Application Configuration
Reading configuration file: /home/louison/.config/onedrive/config
Configuration file successfully loaded
Application version = onedrive v2.5.9
Compiled with = DMD 2111
Curl version = libcurl/8.18.0 OpenSSL/3.6.0 zlib/1.3.1 brotli/1.1.0 zstd/1.5.7 libidn2/2.3.8 libpsl/0.21.5 libssh2/1.11.1 nghttp2/1.68.0 ngtcp2/1.19.0 nghttp3/1.14.0 mit-krb5/1.21.3
User Application Config path = /home/louison/.config/onedrive
System Application Config path = /etc/onedrive
Applicable Application 'config' location = /home/louison/.config/onedrive/config
Configuration file found in config location = true - using 'config' file values to override application defaults
Applicable 'sync_list' location = /home/louison/.config/onedrive/sync_list
Applicable 'items.sqlite3' location = /home/louison/.config/onedrive/items.sqlite3
Config option 'drive_id' =
Config option 'sync_dir' = ~/OneDrive
Config option 'use_intune_sso' = false
Config option 'use_device_auth' = false
Config option 'enable_logging' = false
Config option 'log_dir' = /var/log/onedrive
Config option 'disable_notifications' = false
Config option 'skip_dir' = Blocs-notes OneNote|Ordinateur portable de Louison
Config option 'skip_dir_strict_match' = false
Config option 'skip_file' = ~*|.~*|*.tmp|*.swp|*.partial
Config option 'skip_dotfiles' = false
Config option 'skip_symlinks' = false
Config option 'skip_size' = 0
Config option 'monitor_interval' = 300
Config option 'monitor_log_frequency' = 12
Config option 'monitor_fullscan_frequency' = 12
Config option 'disable_websocket_support' = false
Config option 'read_only_auth_scope' = false
Config option 'dry_run' = false
Config option 'upload_only' = false
Config option 'download_only' = false
Config option 'local_first' = true
Config option 'check_nosync' = false
Config option 'check_nomount' = false
Config option 'resync' = false
Config option 'resync_auth' = false
Config option 'cleanup_local_files' = false
Config option 'disable_permission_set' = false
Config option 'transfer_order' = default
Config option 'delay_inotify_processing' = false
Config option 'inotify_delay' = 5
Config option 'display_transfer_metrics' = false
Config option 'force_session_upload' = false
Config option 'file_fragment_size' = 10
Config option 'classify_as_big_delete' = 1000
Config option 'disable_upload_validation' = false
Config option 'disable_download_validation' = false
Config option 'bypass_data_preservation' = false
Config option 'no_remote_delete' = false
Config option 'remove_source_files' = false
Config option 'sync_dir_permissions' = 700
Config option 'sync_file_permissions' = 600
Config option 'space_reservation' = 52428800
Config option 'permanent_delete' = false
Config option 'write_xattr_data' = false
Config option 'create_new_file_version' = false
Config option 'application_id' = d50ca740-c83f-4d1b-b616-12c519384f0c
Config option 'azure_ad_endpoint' =
Config option 'azure_tenant_id' =
Config option 'user_agent' = ISV|abraunegg|OneDrive Client for Linux/v2.5.9
Config option 'force_http_11' = false
Config option 'debug_https' = false
Config option 'rate_limit' = 0
Config option 'operation_timeout' = 3600
Config option 'dns_timeout' = 60
Config option 'connect_timeout' = 10
Config option 'data_timeout' = 60
Config option 'ip_protocol_version' = 0
Config option 'threads' = 8
Config option 'max_curl_idle' = 120
Environment var 'XDG_RUNTIME_DIR' = true
Environment var 'DBUS_SESSION_BUS_ADDRESS' = true
Config option 'notify_file_actions' = false
Config option 'use_recycle_bin' = false
Config option 'recycle_bin_path' = /home/louison/.local/share/Trash/
Selective sync 'sync_list' configured = false
Config option 'sync_business_shared_items' = false
Config option 'webhook_enabled' = falseWhat is your 'curl' version
curl 8.18.0 (x86_64-pc-linux-gnu) libcurl/8.18.0 OpenSSL/3.6.0 zlib/1.3.1 brotli/1.1.0 zstd/1.5.7 libidn2/2.3.8 libpsl/0.21.5 libssh2/1.11.1 nghttp2/1.68.0 ngtcp2/1.19.0 nghttp3/1.14.0 mit-krb5/1.21.3
Release-Date: 2026-01-07
Protocols: dict file ftp ftps gopher gophers http https imap imaps ipfs ipns mqtt pop3 pop3s rtsp scp sftp smb smbs smtp smtps telnet tftp ws wss
Features: alt-svc AsynchDNS brotli GSS-API HSTS HTTP2 HTTP3 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM PSL SPNEGO SSL threadsafe TLS-SRP UnixSockets zstdWhere is your 'sync_dir' located
Local
What are all your system 'mount points'
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
sys on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
dev on /dev type devtmpfs (rw,nosuid,relatime,size=7870876k,nr_inodes=1967719,mode=755,inode64)
run on /run type tmpfs (rw,nosuid,nodev,relatime,mode=755,inode64)
efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
/dev/nvme0n1p2 on / type btrfs (rw,relatime,compress=zstd:1,ssd,discard=async,space_cache=v2,subvolid=256,subvol=/@)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,inode64,usrquota)
cgroup2 on /sys/fs/cgroup type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate,memory_recursiveprot)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
bpf on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,relatime,mode=700)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=41,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=806)
debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime)
mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime)
tracefs on /sys/kernel/tracing type tracefs (rw,nosuid,nodev,noexec,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,nosuid,nodev,relatime,pagesize=2M)
configfs on /sys/kernel/config type configfs (rw,nosuid,nodev,noexec,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,nosuid,nodev,noexec,relatime)
tmpfs on /run/credentials/systemd-journald.service type tmpfs (ro,nosuid,nodev,noexec,relatime,nosymfollow,size=1024k,nr_inodes=1024,mode=700,inode64,noswap)
tmpfs on /tmp type tmpfs (rw,noatime,inode64)
/dev/nvme0n1p2 on /var/log type btrfs (rw,relatime,compress=zstd:1,ssd,discard=async,space_cache=v2,subvolid=259,subvol=/@log)
/dev/nvme0n1p2 on /var/cache type btrfs (rw,relatime,compress=zstd:1,ssd,discard=async,space_cache=v2,subvolid=258,subvol=/@cache)
/dev/nvme0n1p2 on /home type btrfs (rw,relatime,compress=zstd:1,ssd,discard=async,space_cache=v2,subvolid=257,subvol=/@home)
/dev/nvme0n1p1 on /boot/efi type vfat (rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,nosuid,nodev,noexec,relatime)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=1578624k,nr_inodes=394656,mode=700,uid=1000,gid=1000,inode64)
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
portal on /run/user/1000/doc type fuse.portal (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)What are all your local file system partition types
NAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINTS
nvme0n1
│
├─nvme0n1p1
│ vfat FAT32 4F8C-5339 298,8M 0% /boot/efi
├─nvme0n1p2
│ btrfs 4b077159-301e-4d15-b16b-e414ac800f5d 397,1G 13% /home
│ /var/cache
│ /var/log
│ /
└─nvme0n1p3
swap 1 swap a56c1651-01ff-4572-975c-0725e0b67fd3 [SWAP]How do you use 'onedrive'
I use onedrive as a cloud storage. I use with a computer with linux and another with windows.
Steps to reproduce the behaviour
just use the --resync option
Complete Verbose Log Output
onedrive -s --resync --verbose ✔
Reading configuration file: /home/louison/.config/onedrive/config
Configuration file successfully loaded
Using 'user' configuration path for application config and state data: /home/louison/.config/onedrive
WARNING: You have asked the client to perform a --resync operation.
This operation will delete the client’s local state database and rebuild it entirely from the current online OneDrive state.
Because the previous sync state will no longer be available, the following may occur:
* Local files that also exist in OneDrive may have local changes overwritten by the cloud version if a conflict cannot be safely resolved.
* Local files may be renamed or duplicated locally as part of conflict resolution and data-preservation handling.
* The initial synchronisation pass may involve a large number of file uploads and downloads.
* The increased activity against the Microsoft Graph API may trigger HTTP 429 (throttling) responses during the synchronisation process.
For safest operation:
* Ensure you have a current backup of your sync_dir.
* Run this command first with --dry-run to confirm all planned actions.
* Enable 'use_recycle_bin' so that online deletion events from OneDrive are moved to your system Trash rather than deleted from your local disk.
If in doubt, stop now and back up your local data before continuing.
Are you sure you wish to proceed with --resync? [Y/N] Y
Deleting the saved application sync status ...
Using IPv4 and IPv6 (if configured) for all network operations
Attempting to contact the Microsoft OneDrive Service
Successfully reached the Microsoft OneDrive Service
Checking Application Version ...
Attempting to initialise the OneDrive API ...
Configuring Global Azure AD Endpoints
The OneDrive API was initialised successfully
Opening the item database ...
Application Version: onedrive v2.5.9
Account Type: personal
Default Drive ID: 048293f07dcb1d66
Default Root ID: 48293F07DCB1D66!sea8cc6beffdb43d7976fbc7da445c639
Microsoft Data Centre: France Central
Remaining Free Space: 2.30 GB (2469606195 bytes)
Sync Engine Initialised with new Onedrive API instance
I skipped many lines
Skipping uploading this new file as it exceeds the available free space on Microsoft OneDrive: ./Images/Saved Pictures/icône pdf24.ico
I skipped many lines
ERROR: Failed upload path found in database, must delete this item from the database .. it should not be in there if the file failed to upload
Failed to upload: ./Images/Saved Pictures/icône pdf24.ico
I skipped a few linesScreenshots
No response
Other Log Information or Details
I sent the full log following the "Basic Troubleshooting Steps" procedure.Additional context
No response
Reactions are currently unavailable