abraunegg / onedrive

OneDrive Client for Linux
https://abraunegg.github.io
GNU General Public License v3.0
10.21k stars 867 forks source link

Bug: Skipping item - invalid name (Microsoft Naming Convention) for aparently good folder names. #2678

Closed diegoortizmatajira closed 8 months ago

diegoortizmatajira commented 8 months ago

Describe the bug

Hello, My issue is that some folders are being skipped (even after validating their names against OneDrive and SharePoint Restrictions and limitations.

I have checked:

Notes:

[INFO] - [Personal] Processing 8 OneDrive items to ensure consistent local state due to sync_list being used
[INFO] - [Personal] Uploading new items of /home/storage/OneDrive
[INFO] - [Personal] Skipping item - invalid name (Microsoft Naming Convention): ./Apps/ComicTrack/content/libraries/DC/Convergence Infinity INC.
[INFO] - [Personal] Skipping item - invalid name (Microsoft Naming Convention): ./Apps/ComicTrack/content/libraries/DC/Dark Crisis_ Worlds Without A Justice League - Wonder Woman
[INFO] - [Personal] Skipping item - invalid name (Microsoft Naming Convention): ./Apps/ComicTrack/content/libraries/DC/Batman vs. Robin
[INFO] - [Personal] Skipping item - invalid name (Microsoft Naming Convention): ./Apps/ComicTrack/content/libraries/DC/Forever Evil_ A.R.G.U.S.
[INFO] - [Personal] Skipping item - invalid name (Microsoft Naming Convention): ./Apps/ComicTrack/content/libraries/Marvel/Captain America
[INFO] - [Personal] Skipping item - invalid name (Microsoft Naming Convention): ./Apps/ComicTrack/content/libraries/Marvel/X-Men_ Before The Fall - Heralds of Apocalypse
[INFO] - [Personal] Skipping item - invalid name (Microsoft Naming Convention): ./Apps/ComicTrack/content/libraries/Marvel/Avengers Inc.
[INFO] - [Personal] Skipping item - invalid name (Microsoft Naming Convention): ./Apps/ComicTrack/content/libraries/Marvel/Avengers 1,000,000 B.C.
[INFO] - [Personal] Skipping item - invalid name (Microsoft Naming Convention): ./Apps/ComicTrack/content/libraries/Marvel/Marvel Super Heroes Secret Wars_ Battleworld
[INFO] - [Personal] Skipping item - invalid name (Microsoft Naming Convention): ./Apps/ComicTrack/content/libraries/Marvel/Kid Venom_ Origins
[INFO] - [Personal] Skipping item - invalid name (Microsoft Naming Convention): ./Apps/ComicTrack/content/libraries/Marvel/Avengers A.I.
[INFO] - [Personal] Skipping item - invalid name (Microsoft Naming Convention): ./Apps/ComicTrack/content/libraries/Marvel/New Fantastic Four
[INFO] - [Personal] Skipping item - invalid name (Microsoft Naming Convention): ./Apps/ComicTrack/content/libraries/Marvel/Incredible Hulk
[INFO] - [Personal] Skipping item - invalid name (Microsoft Naming Convention): ./Apps/ComicTrack/content/libraries/Marvel/Carnage Reigns Omega
[INFO] - [Personal] Skipping item - invalid name (Microsoft Naming Convention): ./Apps/ComicTrack/content/libraries/Marvel/Uncanny Spider-Man
[INFO] - [Personal] Skipping item - invalid name (Microsoft Naming Convention): ./Apps/ComicTrack/content/libraries/Marvel/Agents of S.H.I.E.L.D.
[INFO] - [Personal] Applying changes of Path ID: 012GCAOCV6Y2GOVW7725BZO354PWSELRRZ
[INFO] - [Personal] Updated Remaining Free Space: 5141463480762
[INFO] - [Personal] Free Space: 4.7TiB

Operating System Details

Linux jimdesktop 6.8.1-arch1-1 #1 SMP PREEMPT_DYNAMIC Sat, 16 Mar 2024 17:15:35 +0000 x86_64 GNU/Linux

LSB Version:    n/a
Distributor ID: Arch
Description:    Arch Linux
Release:        rolling
Codename:       n/a

Client Installation Method

From Distribution Package

OneDrive Account Type

Business | Office365

What is your OneDrive Application Version

onedrive v2.4.25

What is your OneDrive Application Configuration

Using config option for Global Azure AD Endpoints
Configuration file successfully loaded
onedrive version                             = v2.4.25
Config path                                  = Personal
Config file found in config path             = true
Config option 'sync_dir'                     = /home/storage/OneDrive
Config option 'enable_logging'               = false
Config option 'log_dir'                      = /var/log/onedrive/
Config option 'disable_notifications'        = true
Config option 'min_notify_changes'           = 5
Config option 'skip_dir'                     =
Config option 'skip_dir_strict_match'        = false
Config option 'skip_file'                    = ~*|.~*|*.tmp
Config option 'skip_dotfiles'                = false
Config option 'skip_symlinks'                = false
Config option 'monitor_interval'             = 300
Config option 'monitor_log_frequency'        = 5
Config option 'monitor_fullscan_frequency'   = 10
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'                  = false
Config option 'check_nosync'                 = true
Config option 'check_nomount'                = false
Config option 'resync'                       = false
Config option 'resync_auth'                  = false
Config option 'cleanup_local_files'          = false
Config option 'classify_as_big_delete'       = 1000
Config option 'disable_upload_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 'application_id'               =
Config option 'azure_ad_endpoint'            =
Config option 'azure_tenant_id'              = common
Config option 'user_agent'                   =
Config option 'force_http_11'                = false
Config option 'debug_https'                  = false
Config option 'rate_limit'                   = 125000000
Config option 'operation_timeout'            = 3600
Config option 'dns_timeout'                  = 60
Config option 'connect_timeout'              = 10
Config option 'data_timeout'                 = 600
Config option 'ip_protocol_version'          = 0
Config option 'sync_root_files'              = false
Selective sync 'sync_list' configured        = true
sync_list contents:
Config option 'sync_business_shared_folders' = false
Business Shared Folders configured           = true
business_shared_folders contents:
Config option 'webhook_enabled'              = false

What is your 'curl' version

curl 8.6.0 (x86_64-pc-linux-gnu) libcurl/8.6.0 OpenSSL/3.2.1 zlib/1.3.1 brotli/1.1.0 zstd/1.5.5 libidn2/2.3.7 libpsl/0.21.2 libssh2/1.11.0 nghttp2/1.60.0 nghttp3/1.2.0
Release-Date: 2024-01-31
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
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 zstd

Where 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=16302412k,nr_inodes=4075603,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)
/dev/nvme0n1p2 on / type ext4 (rw,relatime)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,inode64)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
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=37,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=9255)
mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,nosuid,nodev,relatime,pagesize=2M)
debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime)
tracefs on /sys/kernel/tracing type tracefs (rw,nosuid,nodev,noexec,relatime)
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)
/var/lib/snapd/snaps/snapd_21184.snap on /var/lib/snapd/snap/snapd/21184 type squashfs (ro,nodev,relatime,errors=continue,threads=single,x-gdu.hide,x-gvfs-hide)
/var/lib/snapd/snaps/snapd_20671.snap on /var/lib/snapd/snap/snapd/20671 type squashfs (ro,nodev,relatime,errors=continue,threads=single,x-gdu.hide,x-gvfs-hide)
/var/lib/snapd/snaps/sosumi_15.snap on /var/lib/snapd/snap/sosumi/15 type squashfs (ro,nodev,relatime,errors=continue,threads=single,x-gdu.hide,x-gvfs-hide)
/var/lib/snapd/snaps/core18_2796.snap on /var/lib/snapd/snap/core18/2796 type squashfs (ro,nodev,relatime,errors=continue,threads=single,x-gdu.hide,x-gvfs-hide)
/var/lib/snapd/snaps/core18_2812.snap on /var/lib/snapd/snap/core18/2812 type squashfs (ro,nodev,relatime,errors=continue,threads=single,x-gdu.hide,x-gvfs-hide)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,nr_inodes=1048576,inode64)
/dev/nvme0n1p1 on /boot type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro)
/dev/nvme0n1p3 on /home type ext4 (rw,relatime)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,nosuid,nodev,noexec,relatime)
/dev/nvme1n1 on /home/vms type ext4 (rw,nosuid,nodev,relatime,x-gvfs-show)
/dev/sda1 on /home/storage type ext4 (rw,nosuid,nodev,relatime,x-gvfs-show)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=3262920k,nr_inodes=815730,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)
overlay on /var/lib/docker/overlay2/17e21e0f3efc5259a03c9096f1422cb676369e708cffe3e9e91f1c88ddf4a580/merged type overlay (rw,relatime,lowerdir=/var/lib/docker/overlay2/l/UMPFXLTIYDR5YXY4ACBCDAQSMV:/var/lib/docker/overlay2/l/EGVA6VTD4VCBIA7JE3K3VJSCCU:/var/lib/docker/overlay2/l/VWNI5CEXJEUC646W6AVWQSE2GG:/var/lib/docker/overlay2/l/T6CCVMRRKLVU2JR6L7ICWJCTDM:/var/lib/docker/overlay2/l/D2WTQNTVSKUNJKG3NK6DXHCLFX:/var/lib/docker/overlay2/l/UDD5HH7EDQOKHFSJK45OMIICIV:/var/lib/docker/overlay2/l/V5NB72WLMNI2CTEII7O3N77PO5:/var/lib/docker/overlay2/l/5HY23ZZBQCTHQOQQEWBLTTNGJV:/var/lib/docker/overlay2/l/NMP6LCSCBF62WV2W2ECFWK5K5H:/var/lib/docker/overlay2/l/NZTXQN3DMQ4OXQKQVVUAG6NI3P:/var/lib/docker/overlay2/l/KBRIBDOVJNEBDM64G7G6UN5UM2,upperdir=/var/lib/docker/overlay2/17e21e0f3efc5259a03c9096f1422cb676369e708cffe3e9e91f1c88ddf4a580/diff,workdir=/var/lib/docker/overlay2/17e21e0f3efc5259a03c9096f1422cb676369e708cffe3e9e91f1c88ddf4a580/work,index=off)
overlay on /var/lib/docker/overlay2/ef4b031773e34f6f9682cde712acb31193f6a225cc39da3847bdefd4ec040f91/merged type overlay (rw,relatime,lowerdir=/var/lib/docker/overlay2/l/PNEEIXEHPT2RAPKANHGXY3W2Z5:/var/lib/docker/overlay2/l/EGVA6VTD4VCBIA7JE3K3VJSCCU:/var/lib/docker/overlay2/l/VWNI5CEXJEUC646W6AVWQSE2GG:/var/lib/docker/overlay2/l/T6CCVMRRKLVU2JR6L7ICWJCTDM:/var/lib/docker/overlay2/l/D2WTQNTVSKUNJKG3NK6DXHCLFX:/var/lib/docker/overlay2/l/UDD5HH7EDQOKHFSJK45OMIICIV:/var/lib/docker/overlay2/l/V5NB72WLMNI2CTEII7O3N77PO5:/var/lib/docker/overlay2/l/5HY23ZZBQCTHQOQQEWBLTTNGJV:/var/lib/docker/overlay2/l/NMP6LCSCBF62WV2W2ECFWK5K5H:/var/lib/docker/overlay2/l/NZTXQN3DMQ4OXQKQVVUAG6NI3P:/var/lib/docker/overlay2/l/KBRIBDOVJNEBDM64G7G6UN5UM2,upperdir=/var/lib/docker/overlay2/ef4b031773e34f6f9682cde712acb31193f6a225cc39da3847bdefd4ec040f91/diff,workdir=/var/lib/docker/overlay2/ef4b031773e34f6f9682cde712acb31193f6a225cc39da3847bdefd4ec040f91/work,index=off)
overlay on /var/lib/docker/overlay2/b160e53e563b74d43d36957cc4dbf83f591a029df8face983e55f92416f86aa4/merged type overlay (rw,relatime,lowerdir=/var/lib/docker/overlay2/l/CTRSBB44TDECFQ2AIKWREG4MLX:/var/lib/docker/overlay2/l/YGKP7THNRJOKWXU2JR2A7ZZM6O:/var/lib/docker/overlay2/l/EWJVGUXBGZLEJZZDW5VSWTDJIF:/var/lib/docker/overlay2/l/IDJCW7SQSO3J2BEPUQLDI7WI6V:/var/lib/docker/overlay2/l/U52QUJOIAKYQ375PVKXEZ4VUNJ:/var/lib/docker/overlay2/l/4RJI4WYEECYWHXXK7UG64XL4J7:/var/lib/docker/overlay2/l/OWGMZGFVDXZRYNOL7JHSCGZ7KE:/var/lib/docker/overlay2/l/WRGHNY6WNEQU2EEW7F6YUUVWJV,upperdir=/var/lib/docker/overlay2/b160e53e563b74d43d36957cc4dbf83f591a029df8face983e55f92416f86aa4/diff,workdir=/var/lib/docker/overlay2/b160e53e563b74d43d36957cc4dbf83f591a029df8face983e55f92416f86aa4/work,index=off)
overlay on /var/lib/docker/overlay2/a4207d71758807435c5971e488e777cd93493ac7edaf1db6ba75f714462333e8/merged type overlay (rw,relatime,lowerdir=/var/lib/docker/overlay2/l/RERO2NKFA7KVJIYXX7AGFIZICL:/var/lib/docker/overlay2/l/XVXIQBKNLURPXPOCVS54PPLMAT:/var/lib/docker/overlay2/l/5BNP36236IHWMUKZVYNG2OQLME:/var/lib/docker/overlay2/l/2XBIXHOVYCMWIUHX5HLGHYWKXJ:/var/lib/docker/overlay2/l/IQUQSMC5SCR5HESNEAVZUUKLD3:/var/lib/docker/overlay2/l/I7CTMNPDQ72IKBBHI2ZNQKNRBQ:/var/lib/docker/overlay2/l/WPBDRRJNALK6Q3Z2IAVJGA6VHJ:/var/lib/docker/overlay2/l/Z73TGWIO25IL4ZGKU5UBONNUDH:/var/lib/docker/overlay2/l/2KNSL5D6DXRXZRS2LPJXBAYTCF,upperdir=/var/lib/docker/overlay2/a4207d71758807435c5971e488e777cd93493ac7edaf1db6ba75f714462333e8/diff,workdir=/var/lib/docker/overlay2/a4207d71758807435c5971e488e777cd93493ac7edaf1db6ba75f714462333e8/work,index=off)
overlay on /var/lib/docker/overlay2/53fb9715c87fc27dfcb8a41db00fb2edf90b512d3b953e44c6667025c06ce2c6/merged type overlay (rw,relatime,lowerdir=/var/lib/docker/overlay2/l/YI44KO7QNWWG4JB2KEJ5YUZHUK:/var/lib/docker/overlay2/l/OZ4KA4L27HANUNGZ3WBDXCZHF7:/var/lib/docker/overlay2/l/7KHKGN4WMQCRJCACTXUQVZS6RS:/var/lib/docker/overlay2/l/ZAFJE4X2MPC24RLUBEB5GVWS7P:/var/lib/docker/overlay2/l/U52RUVKLP72Y2BIU34IPP6DUNR:/var/lib/docker/overlay2/l/HJPEIDA4EPK55A6NOZZ3RZCVX2:/var/lib/docker/overlay2/l/ZPHKTXLP6EEU25EVNYM3Z2M7PA:/var/lib/docker/overlay2/l/GVVKKR6P76SUNKEZZ4Y3GDVGJ6,upperdir=/var/lib/docker/overlay2/53fb9715c87fc27dfcb8a41db00fb2edf90b512d3b953e44c6667025c06ce2c6/diff,workdir=/var/lib/docker/overlay2/53fb9715c87fc27dfcb8a41db00fb2edf90b512d3b953e44c6667025c06ce2c6/work,index=off)
overlay on /var/lib/docker/overlay2/13341ec712bf788fdbeb983f527936941a030da0bdd0844c3ab108dde1331f18/merged type overlay (rw,relatime,lowerdir=/var/lib/docker/overlay2/l/KSOJGTMFREAQQIIDUGSWMZEUSB:/var/lib/docker/overlay2/l/34N22WOITFQDPP5XRSOK65YSS5:/var/lib/docker/overlay2/l/LE2WP2PY6HN6O5T77BUWW3UJVY:/var/lib/docker/overlay2/l/TZ2OMNB7OLE6T3QBJN43RPG236:/var/lib/docker/overlay2/l/OM3QHXHZIH5EU2KHJIMOJXJP6P:/var/lib/docker/overlay2/l/T5YS6MBSLFATGP3SERQKUPIMWL:/var/lib/docker/overlay2/l/T2TCO6ULMIKXFIQLH3XEQOZZFU:/var/lib/docker/overlay2/l/OGUHT5TUR3MXOK7DWVK4QC2ATK:/var/lib/docker/overlay2/l/6VXVN75TDN2WN475S5PSOZRP2N:/var/lib/docker/overlay2/l/LE5UOY3MLZJXOD4BUEQCEEEQ2E:/var/lib/docker/overlay2/l/JXZIIMEST7C32O2TJWYTY6TK24:/var/lib/docker/overlay2/l/IW73WGEFZW2AIVA3FLY7I7TQCL:/var/lib/docker/overlay2/l/OWW436ZACKC7JBNJWUEFWACWK7,upperdir=/var/lib/docker/overlay2/13341ec712bf788fdbeb983f527936941a030da0bdd0844c3ab108dde1331f18/diff,workdir=/var/lib/docker/overlay2/13341ec712bf788fdbeb983f527936941a030da0bdd0844c3ab108dde1331f18/work,index=off)
nsfs on /run/docker/netns/84127587e60e type nsfs (rw)
nsfs on /run/docker/netns/55f1e1259d7b type nsfs (rw)
nsfs on /run/docker/netns/90a601a678d5 type nsfs (rw)
nsfs on /run/docker/netns/9d71bd065622 type nsfs (rw)
nsfs on /run/docker/netns/41435c6386f8 type nsfs (rw)
nsfs on /run/docker/netns/4f159513c372 type nsfs (rw)

What are all your local file system partition types

NAME        FSTYPE FSVER LABEL   UUID                                 FSAVAIL FSUSE% MOUNTPOINTS
loop0                                                                       0   100% /var/lib/snapd/snap/core18/2796
loop1                                                                       0   100% /var/lib/snapd/snap/core18/2812
loop2                                                                       0   100% /var/lib/snapd/snap/snapd/20671
loop3                                                                       0   100% /var/lib/snapd/snap/snapd/21184
loop4                                                                       0   100% /var/lib/snapd/snap/sosumi/15
sda
└─sda1      ext4   1.0   Storage 9ed908cc-d5cd-48c1-9e15-0c507e0490d4  862.2G    71% /home/storage
zram0                                                                                [SWAP]
nvme1n1     ext4   1.0   VMs     9bdd9578-02fe-43dd-8538-00d59e3e4729  298.3G    30% /home/vms
nvme0n1
├─nvme0n1p1 vfat   FAT32         8535-152B                             315.1M    34% /boot
├─nvme0n1p2 ext4   1.0           ec9905b5-7a81-49ae-8984-554712836e7c  144.4G    35% /
└─nvme0n1p3 ext4   1.0           441e7680-b565-4c44-a2d4-73c93892d7ab  503.5G    63% /home

How do you use 'onedrive'

Basically, I just use it to keep a backup of local files. My Linux desktop is the only client being synchronized.

Steps to reproduce the behaviour

I am using onedrivegui as front end to start a synchronization process or even starting it up from the terminal.

Complete Verbose Log Output

Using 'user' Config Dir: /home/myuser/.config/onedrive/accounts/Personal
Using config option for Global Azure AD Endpoints
Configuration file successfully loaded
Checking Application Version ...
Initializing the OneDrive API ...
Configuring Global Azure AD Endpoints
Using Curl defaults for all HTTP operations
User Configured Rate Limit: 125000000
Opening the item database ...
All operations will be performed in: /home/storage/OneDrive
Application version: v2.4.25
Account Type: business
Default Drive ID: b!l7uYD2bUOkGzvVK5q0cBEEnexydRlHpBrmZhmJFJU-6JXme4oLEDQrDmsOqFneqx
Default Root ID: 012GCAOCV6Y2GOVW7725BZO354PWSELRRZ
Remaining Free Space: 5141576752767
Fetching details for OneDrive Root
OneDrive Root exists in the database
Initializing the Synchronization Engine ...
Syncing changes and items from OneDrive ...
Applying changes of Path ID: 012GCAOCV6Y2GOVW7725BZO354PWSELRRZ
Updated Remaining Free Space: 5141576752767
Performing a database consistency and integrity check on locally stored data ... 
Uploading differences of /home/storage/OneDrive
Processing .
The directory has not changed
Processing Attachments
The directory has not changed
Processing Shared
The directory has not changed
Processing Apps
The directory has not changed
Processing Apps/ComicTrack
The directory has not changed
Processing Apps/ComicTrack/content
The directory has not changed
Processing Apps/ComicTrack/content/import
Skipping item - .nosync found & --check-for-nosync enabled: Apps/ComicTrack/content/import
Processing Apps/ComicTrack/content/libraries
The directory has not changed
Processing Apps/ComicTrack/content/libraries/Other
The directory has not changed
The file has not changed
Processing Apps/ComicTrack/content/thumbnails/2240a1b6-ddf6-4892-a0fc-87a2611637b9.jpg
The file has not changed
Processing Apps/ComicTrack/content/thumbnails/95bbeed6-f427-4456-a495-a0b57656573a.jpg
The file has not changed
Processing Apps/ComicTrack/content/thumbnails/031a3fd7-9035-445c-bbd4-ae8e15c2dabc.jpg
The file has not changed
Processing Apps/ComicTrack/content/thumbnails/62fd5f61-c85a-4027-9dfd-0a4299fe8713.jpg
The file has not changed
Processing Apps/ComicTrack/content/thumbnails/9a58d3f8-aef6-43d1-b8cc-b1d4f3169652.jpg
The file has not changed
Processing Apps/ComicTrack/content/thumbnails/aa1b8448-b4d9-4bc5-856e-0f043aeb5bd2.jpg
The file has not changed
Processing Apps/ComicTrack/content/thumbnails/44a691bc-c05a-4011-b08e-0c30002bda31.jpg
The file has not changed
Processing Apps/ComicTrack/content/thumbnails/405e6638-c7cf-47ed-ab3f-6f8c6d06a221.jpg
The file has not changed
Processing Apps/ComicTrack/content/thumbnails/394d9695-b784-4782-b51e-3eeaf9aa9333.jpg
The file has not changed
Processing Apps/ComicTrack/content/thumbnails/31924ada-87eb-4582-9c72-cd3cf0839aab.jpg
The file has not changed
Processing Apps/ComicTrack/content/thumbnails/f22926df-be29-48c0-8c61-87eef941639d.jpg
The file has not changed
Processing Apps/ComicTrack/content/thumbnails/093a46a2-7c85-4f76-8c6a-7452c18e42bc.jpg
The file has not changed
Processing Apps/ComicTrack/content/thumbnails/069ff5cc-7a3b-4b05-a193-3e6c1e9883e5.jpg
The file has not changed
Processing Apps/ComicTrack/nginx.conf
The file has not changed
Processing Apps/ComicTrack/utils
The directory has not changed
Processing Apps/ComicTrack/data
The directory has not changed
Processing Apps/ComicTrack/data/backup
The directory has not changed
Processing Apps/ComicTrack/data/backup/Docker_Compose___Postgresql-2024_03_04_17_32_28-dump.sql
The file has not changed
Processing Apps/ComicTrack/data/backup/Docker_Compose___Postgresql-2024_02_11_08_15_25-dump.sql
The file has not changed
Processing Apps/ComicTrack/data/backup/Docker_Compose___Postgresql-2024_02_24_13_00_17-dump.sql
The file has not changed
Processing Apps/ComicTrack/data/backup/Docker_Compose___Postgresql-2024_02_25_20_43_25-dump.sql
The file has not changed
Processing Apps/ComicTrack/data/backup/Docker_Compose___Postgresql-2024_01_26_16_12_49-dump.sql
The file has not changed
Processing Apps/ComicTrack/data/backup/Docker_Compose___Postgresql-2024_02_12_22_46_42-dump.sql
The file has not changed
Processing Apps/ComicTrack/data/backup/Docker_Compose___Postgresql-2024_03_19_11_44_50-dump.sql
The file has not changed
Processing Apps/ComicTrack/comictrack
The file has not changed
Processing Apps/ComicTrack/docker-compose.yaml
The file has not changed
Uploading new items of /home/storage/Diego-Ortiz/Lambton-OneDrive
Skipping item - .nosync found & --check-for-nosync enabled: ./Apps/ComicTrack/content/import
Skipping item - invalid name (Microsoft Naming Convention): ./Apps/ComicTrack/content/libraries/DC/Convergence Infinity INC.
Skipping item - invalid name (Microsoft Naming Convention): ./Apps/ComicTrack/content/libraries/DC/Dark Crisis_ Worlds Without A Justice League - Wonder Woman 
Skipping item - invalid name (Microsoft Naming Convention): ./Apps/ComicTrack/content/libraries/DC/Batman vs. Robin 
Skipping item - invalid name (Microsoft Naming Convention): ./Apps/ComicTrack/content/libraries/DC/Forever Evil_ A.R.G.U.S.
Skipping item - invalid name (Microsoft Naming Convention): ./Apps/ComicTrack/content/libraries/Marvel/X-Men_ Before The Fall - Heralds of Apocalypse 
Skipping item - invalid name (Microsoft Naming Convention): ./Apps/ComicTrack/content/libraries/Marvel/Avengers Inc.
Skipping item - invalid name (Microsoft Naming Convention): ./Apps/ComicTrack/content/libraries/Marvel/Avengers 1,000,000 B.C.
Skipping item - invalid name (Microsoft Naming Convention): ./Apps/ComicTrack/content/libraries/Marvel/Kid Venom_ Origins 
Skipping item - invalid name (Microsoft Naming Convention): ./Apps/ComicTrack/content/libraries/Marvel/Avengers A.I.
Skipping item - invalid name (Microsoft Naming Convention): ./Apps/ComicTrack/content/libraries/Marvel/New Fantastic Four 
Skipping item - invalid name (Microsoft Naming Convention): ./Apps/ComicTrack/content/libraries/Marvel/Incredible Hulk 
Skipping item - invalid name (Microsoft Naming Convention): ./Apps/ComicTrack/content/libraries/Marvel/Carnage Reigns Omega 
Skipping item - invalid name (Microsoft Naming Convention): ./Apps/ComicTrack/content/libraries/Marvel/Uncanny Spider-Man 
Skipping item - invalid name (Microsoft Naming Convention): ./Apps/ComicTrack/content/libraries/Marvel/Agents of S.H.I.E.L.D.
Skipping item - .nosync found & --check-for-nosync enabled: ./Apps/ComicTrack/content/unpacked
Applying changes of Path ID: 012GCAOCV6Y2GOVW7725BZO354PWSELRRZ
Updated Remaining Free Space: 5141576752767
Processing 207 OneDrive items to ensure consistent local state due to sync_list being used
Processing 207 OneDrive items to ensure consistent local state due to sync_list being used
Processing 208 OneDrive items to ensure consistent local state due to sync_list being used
Processing 208 OneDrive items to ensure consistent local state due to sync_list being used
Processing 207 OneDrive items to ensure consistent local state due to sync_list being used
Processing 207 OneDrive items to ensure consistent local state due to sync_list being used
Processing 207 OneDrive items to ensure consistent local state due to sync_list being used
Processing 207 OneDrive items to ensure consistent local state due to sync_list being used
Processing 207 OneDrive items to ensure consistent local state due to sync_list being used
Processing 207 OneDrive items to ensure consistent local state due to sync_list being used
Processing 207 OneDrive items to ensure consistent local state due to sync_list being used
Processing 208 OneDrive items to ensure consistent local state due to sync_list being used
Processing 207 OneDrive items to ensure consistent local state due to sync_list being used
Processing 207 OneDrive items to ensure consistent local state due to sync_list being used
Processing 207 OneDrive items to ensure consistent local state due to sync_list being used
Processing 207 OneDrive items to ensure consistent local state due to sync_list being used
Processing 207 OneDrive items to ensure consistent local state due to sync_list being used
Processing 207 OneDrive items to ensure consistent local state due to sync_list being used
Processing 207 OneDrive items to ensure consistent local state due to sync_list being used
Processing 208 OneDrive items to ensure consistent local state due to sync_list being used
Processing 206 OneDrive items to ensure consistent local state due to sync_list being used
Processing 207 OneDrive items to ensure consistent local state due to sync_list being used
Processing 207 OneDrive items to ensure consistent local state due to sync_list being used
Processing 207 OneDrive items to ensure consistent local state due to sync_list being used
Processing 207 OneDrive items to ensure consistent local state due to sync_list being used
Processing 208 OneDrive items to ensure consistent local state due to sync_list being used
Processing 207 OneDrive items to ensure consistent local state due to sync_list being used
Processing 207 OneDrive items to ensure consistent local state due to sync_list being used
Processing 207 OneDrive items to ensure consistent local state due to sync_list being used
Processing 207 OneDrive items to ensure consistent local state due to sync_list being used
Processing 207 OneDrive items to ensure consistent local state due to sync_list being used
Processing 207 OneDrive items to ensure consistent local state due to sync_list being used
Processing 207 OneDrive items to ensure consistent local state due to sync_list being used
Processing 207 OneDrive items to ensure consistent local state due to sync_list being used
Processing 207 OneDrive items to ensure consistent local state due to sync_list being used
Processing 207 OneDrive items to ensure consistent local state due to sync_list being used
Processing 207 OneDrive items to ensure consistent local state due to sync_list being used
Processing 207 OneDrive items to ensure consistent local state due to sync_list being used
Processing 207 OneDrive items to ensure consistent local state due to sync_list being used
Processing 207 OneDrive items to ensure consistent local state due to sync_list being used
Processing 205 OneDrive items to ensure consistent local state due to sync_list being used
Processing 205 OneDrive items to ensure consistent local state due to sync_list being used
Processing 205 OneDrive items to ensure consistent local state due to sync_list being used
Processing 205 OneDrive items to ensure consistent local state due to sync_list being used
Processing 205 OneDrive items to ensure consistent local state due to sync_list being used
Processing 205 OneDrive items to ensure consistent local state due to sync_list being used
Processing 205 OneDrive items to ensure consistent local state due to sync_list being used
Processing 205 OneDrive items to ensure consistent local state due to sync_list being used
Processing 205 OneDrive items to ensure consistent local state due to sync_list being used
Processing 205 OneDrive items to ensure consistent local state due to sync_list being used
Processing 205 OneDrive items to ensure consistent local state due to sync_list being used
Processing 205 OneDrive items to ensure consistent local state due to sync_list being used
Processing 205 OneDrive items to ensure consistent local state due to sync_list being used
Processing 205 OneDrive items to ensure consistent local state due to sync_list being used
Processing 205 OneDrive items to ensure consistent local state due to sync_list being used
Processing 205 OneDrive items to ensure consistent local state due to sync_list being used
Processing 205 OneDrive items to ensure consistent local state due to sync_list being used
Processing 205 OneDrive items to ensure consistent local state due to sync_list being used
Processing 205 OneDrive items to ensure consistent local state due to sync_list being used
Processing 205 OneDrive items to ensure consistent local state due to sync_list being used
Processing 205 OneDrive items to ensure consistent local state due to sync_list being used
Processing 205 OneDrive items to ensure consistent local state due to sync_list being used
Processing 205 OneDrive items to ensure consistent local state due to sync_list being used
Processing 205 OneDrive items to ensure consistent local state due to sync_list being used
Processing 205 OneDrive items to ensure consistent local state due to sync_list being used
Processing 205 OneDrive items to ensure consistent local state due to sync_list being used
Processing 205 OneDrive items to ensure consistent local state due to sync_list being used
Processing 205 OneDrive items to ensure consistent local state due to sync_list being used
Processing 205 OneDrive items to ensure consistent local state due to sync_list being used
Processing 212 OneDrive items to ensure consistent local state due to sync_list being used
Processing 207 OneDrive items to ensure consistent local state due to sync_list being used
Processing 224 OneDrive items to ensure consistent local state due to sync_list being used
Processing 218 OneDrive items to ensure consistent local state due to sync_list being used
Processing 216 OneDrive items to ensure consistent local state due to sync_list being used
Processing 214 OneDrive items to ensure consistent local state due to sync_list being used
Processing 213 OneDrive items to ensure consistent local state due to sync_list being used
Processing 216 OneDrive items to ensure consistent local state due to sync_list being used
Processing 212 OneDrive items to ensure consistent local state due to sync_list being used
Processing 227 OneDrive items to ensure consistent local state due to sync_list being used
Processing 213 OneDrive items to ensure consistent local state due to sync_list being used
Processing 205 OneDrive items to ensure consistent local state due to sync_list being used
Processing 213 OneDrive items to ensure consistent local state due to sync_list being used
Processing 214 OneDrive items to ensure consistent local state due to sync_list being used
Processing 88 OneDrive items to ensure consistent local state due to sync_list being used
Sync with OneDrive is complete

Screenshots

No screenshot required, as the issue is only visualized in notifications and logs

Other Log Information or Details

No response

Additional context

No response

abraunegg commented 8 months ago

@diegoortizmatajira Whilst these look at the surface these look OK, the item that is potentially tripping you up is 'Leading and trailing spaces in file or folder names also aren't allowed.'

The client conforms to the URL details you have listed, so potentially it will be either trailing 'whitespace' or the trailing '.' in the items being skipped, for example:

/Apps/ComicTrack/content/libraries/DC/Convergence Infinity INC.

Now .. trailing '.' is not listed in the URL (I do not know why) - but if any directory that has a trailing '.' that causes a bad query through the Microsoft OneDrive API - for example (after I modify the code to not check for trailing '.'), when trying to create the directory online:

Scanning the local file system '~/OneDrive' for new data to upload
Skipping item - excluded by sync_list config: ./random_25k_files
OneDrive Client requested to create this directory online: ./Apps
The requested directory to create was not found on OneDrive - creating remote directory: ./Apps
Successfully created the remote directory ./Apps on Microsoft OneDrive
OneDrive Client requested to create this directory online: ./Apps/ComicTrack
The requested directory to create was not found on OneDrive - creating remote directory: ./Apps/ComicTrack
Successfully created the remote directory ./Apps/ComicTrack on Microsoft OneDrive
OneDrive Client requested to create this directory online: ./Apps/ComicTrack/content
The requested directory to create was not found on OneDrive - creating remote directory: ./Apps/ComicTrack/content
Successfully created the remote directory ./Apps/ComicTrack/content on Microsoft OneDrive
OneDrive Client requested to create this directory online: ./Apps/ComicTrack/content/libraries
The requested directory to create was not found on OneDrive - creating remote directory: ./Apps/ComicTrack/content/libraries
Successfully created the remote directory ./Apps/ComicTrack/content/libraries on Microsoft OneDrive
OneDrive Client requested to create this directory online: ./Apps/ComicTrack/content/libraries/DC
The requested directory to create was not found on OneDrive - creating remote directory: ./Apps/ComicTrack/content/libraries/DC
Successfully created the remote directory ./Apps/ComicTrack/content/libraries/DC on Microsoft OneDrive
OneDrive Client requested to create this directory online: ./Apps/ComicTrack/content/libraries/DC/Convergence Infinity INC.
The requested directory to create was not found on OneDrive - creating remote directory: ./Apps/ComicTrack/content/libraries/DC/Convergence Infinity INC.
OneDrive generated an error when creating this path: ./Apps/ComicTrack/content/libraries/DC/Convergence Infinity INC.

ERROR: Microsoft OneDrive API returned an error with the following message:
  Error Message:    HTTP request returned status code 400 (Bad Request)
  Error Reason:     Invalid request
  Error Code:       invalidRequest
  Error Timestamp:  2024-03-23T20:52:31
  API Request ID:   a90b9804-63cc-456a-a258-6743099df28b
  Calling Function: createDirectoryOnline()

The path 'Convergence Infinity INC.' cannot be created - so in essence this is either an API bug or a documentation bug (most likely an API bug at this point).

So if I attempt to now create the missing folder 'Convergence Infinity INC.' online , this cannot be created online:

image

So ... this is not an API bug, but a Microsoft documentation bug where the documentation is missing that files or folders, with a trailing '.' cannot be created.

Essentially - the client is operating correctly - your directory names are invalid for Microsoft OneDrive via online or via the Graph API .. sorry.

Closing this issue as this is not a bug or problem with the client. To resolve, you will need to rename your folders - sorry.

abraunegg commented 8 months ago

@diegoortizmatajira Further to this, the v2.5.0-rc1 documentation has been updated to ensure clarity on this aspect:

https://github.com/abraunegg/onedrive/blob/onedrive-v2.5.0-release-candidate-1/docs/usage.md#guidelines-for-local-file-and-folder-naming-in-the-synchronisation-directory

Specifically, in v2.5.0 and above, complete checking for UTF-16 characters is also done (a gap in v2.4.x) - thus, a potential solution for you might be to replace your trailing . with the UTF-16 One Dot Leader character (U+2024).

On Linux this would look like the following:

[alex@onedrive-client-dev OneDrive]$ mkdir -p "Apps/ComicTrack/content/libraries/DC/Convergence Infinity INC․"
[alex@onedrive-client-dev OneDrive]$ ls -la Apps/ComicTrack/content/libraries/DC/
total 0
drwxrwxr-x. 3 alex alex 41 Mar 24 19:40  .
drwxrwxr-x. 3 alex alex 16 Mar 24 19:40  ..
drwxrwxr-x. 2 alex alex  6 Mar 24 19:40 'Convergence Infinity INC․'
[alex@onedrive-client-dev OneDrive]$ 

To 'Windows' this looks like the following: image

To the 'onedrive' client (v2.5.x) this looks like the following:

...
OneDrive Client requested to create this directory online: ./Apps
The requested directory to create was not found on OneDrive - creating remote directory: ./Apps
Successfully created the remote directory ./Apps on Microsoft OneDrive
OneDrive Client requested to create this directory online: ./Apps/ComicTrack
The requested directory to create was not found on OneDrive - creating remote directory: ./Apps/ComicTrack
Successfully created the remote directory ./Apps/ComicTrack on Microsoft OneDrive
OneDrive Client requested to create this directory online: ./Apps/ComicTrack/content
The requested directory to create was not found on OneDrive - creating remote directory: ./Apps/ComicTrack/content
Successfully created the remote directory ./Apps/ComicTrack/content on Microsoft OneDrive
OneDrive Client requested to create this directory online: ./Apps/ComicTrack/content/libraries
The requested directory to create was not found on OneDrive - creating remote directory: ./Apps/ComicTrack/content/libraries
Successfully created the remote directory ./Apps/ComicTrack/content/libraries on Microsoft OneDrive
OneDrive Client requested to create this directory online: ./Apps/ComicTrack/content/libraries/DC
The requested directory to create was not found on OneDrive - creating remote directory: ./Apps/ComicTrack/content/libraries/DC
Successfully created the remote directory ./Apps/ComicTrack/content/libraries/DC on Microsoft OneDrive
OneDrive Client requested to create this directory online: ./Apps/ComicTrack/content/libraries/DC/Convergence Infinity INC․
The requested directory to create was not found on OneDrive - creating remote directory: ./Apps/ComicTrack/content/libraries/DC/Convergence Infinity INC․
Successfully created the remote directory ./Apps/ComicTrack/content/libraries/DC/Convergence Infinity INC․ on Microsoft OneDrive
Performing a last examination of the most recent online data within Microsoft OneDrive to complete the reconciliation process
Fetching /delta response from the OneDrive API for Drive ID: b!bO8V7s9SSk6r7mWHpIjURotN33W1W2tEv3OXV_oFIdQimEdOHR-1So7CqeT1MfHA
...

Online, this looks like the following: image

With zero issue uploading data via a browser to the folder terminating in the UTF-16 character:

image

Or downloading that file using the v2.5.0-rc1 client:

...
Processing API Response Bundle: 1 - Quantity of 'changes|items' in this bundle to process: 8
Finished processing /delta JSON response from the OneDrive API
Processing 7 applicable changes and items received from Microsoft OneDrive
Processing OneDrive JSON item batch [1/1] to ensure consistent local state
Number of items to download from OneDrive: 1
Downloading file: Apps/ComicTrack/content/libraries/DC/Convergence Infinity INC․/dummy_file.docx ... done
Syncing this OneDrive Business Shared Folder: my_shared_folder
Fetching /delta response from the OneDrive API for Drive ID: b!BhWyqa7K_kqXqHtSIlsqjR5iJogxpWxDradnpVGTU2VxBOJh82Y6S4he4rdnGPBT
Processing API Response Bundle: 1 - Quantity of 'changes|items' in this bundle to process: 0
...

Or uploading new local content from Linux -> online:

...
The file has not changed
Scanning the local file system '~/OneDrive' for new data to upload
Skipping item - excluded by sync_list config: ./random_25k_files
New items to upload to OneDrive: 1
Total New Data to Upload:        21 Bytes
Uploading new file ./Apps/ComicTrack/content/libraries/DC/Convergence Infinity INC․/new_local_file.txt ... done.
Performing a last examination of the most recent online data within Microsoft OneDrive to complete the reconciliation process
...

Actions for you:

  1. Upgrade your client to use v2.5.0-rc1
  2. Fix all your folders that have trailing white space characters
  3. Change all your folders that end in a fullstop/period character to use the UTF-16 One Dot Leader character (U+2024)
abraunegg commented 8 months ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.