Coder Social home page Coder Social logo

Comments (17)

abraunegg avatar abraunegg commented on July 22, 2024 1

Can you archive the files is not 'sensitive' and email them to [email protected] ?

This will give me something to look at to try and work out if it is a 'path name' or 'file name' issue.

from onedrive.

abraunegg avatar abraunegg commented on July 22, 2024

When you updated to this repo, did you remove the items.sqlite3 file from ~/.config/onedrive/ ?

What version of the code are you running?

from onedrive.

MartinBraquet avatar MartinBraquet commented on July 22, 2024

Yes, I removed this file and it seems it's bugging on the same file.
I use onedrive v1.1.2-32-gb3d644d, so that's outdated... I'll check with the version 2.0 and I'll tell you if it's working soon.

from onedrive.

MartinBraquet avatar MartinBraquet commented on July 22, 2024

Still not working although the version is 2.0 ...

(dmd-2.080.1)martin@martin-shark:~/onedrive$ onedrive --synchronize --upload-only --verbose
Loading config ...
Using Config Dir: /home/martin/.config/onedrive
Initializing the OneDrive API ...
Opening the item database ...
All operations will be performed in: /home/martin/Documents/OneDriveEPL
Initializing the Synchronization Engine ...
Account Type: business
Default Drive ID: b!lzW6G6Dza0uU5QdMrrVgXdpquAr0wU1KgC1ahkCNQgmtvhe6gDhNRIdc8e58kzEi
Default Root ID: 01APWDEQ56Y2GOVW7725BZO354PWSELRRZ
Remaining Free Space: 1034960276465
Fetching details for OneDrive Root
OneDrive Root exists in the database
Syncing changes from local path only - NOT syncing data changes from OneDrive ...
Uploading differences of .
Processing root
Uploading new items of .
OneDrive Client requested to create remote path: ./EPL-Drive/BACHELIER/Tronc commun/Q3/LFSAB1302 - Chimie/Synthèses
The requested directory to create was found on OneDrive - skipping creating the directory: ./EPL-Drive/BACHELIER/Tronc commun/Q3/LFSAB1302 - Chimie/Synthèses
The parent for this path is in the local database - adding requested path (./EPL-Drive/BACHELIER/Tronc commun/Q3/LFSAB1302 - Chimie/Synthèses) to database
The parent item is not in the local database
Syncing changes from local path only - NOT syncing data changes from OneDrive ...
Uploading differences of .
Processing root
Uploading new items of .
OneDrive Client requested to create remote path: ./EPL-Drive/BACHELIER/Tronc commun/Q3/LFSAB1302 - Chimie/Synthèses
The requested directory to create was found on OneDrive - skipping creating the directory: ./EPL-Drive/BACHELIER/Tronc commun/Q3/LFSAB1302 - Chimie/Synthèses
The parent for this path is in the local database - adding requested path (./EPL-Drive/BACHELIER/Tronc commun/Q3/LFSAB1302 - Chimie/Synthèses) to database
The parent item is not in the local database
Syncing changes from local path only - NOT syncing data changes from OneDrive ...
Uploading differences of .
Processing root
Uploading new items of .
OneDrive Client requested to create remote path: ./EPL-Drive/BACHELIER/Tronc commun/Q3/LFSAB1302 - Chimie/Synthèses
The requested directory to create was found on OneDrive - skipping creating the directory: ./EPL-Drive/BACHELIER/Tronc commun/Q3/LFSAB1302 - Chimie/Synthèses
The parent for this path is in the local database - adding requested path (./EPL-Drive/BACHELIER/Tronc commun/Q3/LFSAB1302 - Chimie/Synthèses) to database
object.Exception@src/sync.d(1075): The parent item is not in the local database
----------------
??:? pure @safe void std.exception.bailOut!(Exception).bailOut(immutable(char)[], ulong, const(char[])) [0xad562d42]
??:? pure @safe bool std.exception.enforce!().enforce!(bool).enforce(bool, lazy const(char)[], immutable(char)[], ulong) [0xad5f50ad]
??:? void sync.SyncEngine.uploadNewFile(immutable(char)[]) [0xad5d0781]
??:? void sync.SyncEngine.uploadNewItems(immutable(char)[]) [0xad5cff10]
??:? void sync.SyncEngine.uploadNewItems(immutable(char)[]) [0xad5cfe07]
??:? void sync.SyncEngine.uploadNewItems(immutable(char)[]) [0xad5cfe07]
??:? void sync.SyncEngine.uploadNewItems(immutable(char)[]) [0xad5cfe07]
??:? void sync.SyncEngine.uploadNewItems(immutable(char)[]) [0xad5cfe07]
??:? void sync.SyncEngine.uploadNewItems(immutable(char)[]) [0xad5cfe07]
??:? void sync.SyncEngine.uploadNewItems(immutable(char)[]) [0xad5cfe07]
??:? void sync.SyncEngine.uploadNewItems(immutable(char)[]) [0xad5cfe07]
??:? void sync.SyncEngine.scanForDifferences(immutable(char)[]) [0xad5cec3d]
??:? void main.performSync(sync.SyncEngine, immutable(char)[], bool, bool, bool) [0xad5b3d47]
??:? _Dmain [0xad5b36db]

And I don't think it's due to the accent because some folders with accents were succesfully uploaded.

from onedrive.

abraunegg avatar abraunegg commented on July 22, 2024

Can you provide the debug logs from this output:

onedrive --synchronize --upload-only --verbose --debug-https

archive & email to [email protected]

from onedrive.

MartinBraquet avatar MartinBraquet commented on July 22, 2024

This bug appeared twice up to now, I removed the 2 files that created this bug and it seems working, but the sync is not finished yet. Tomorrow I'll test to put these files again, hoping that they will be synced... That's still strange these bugs on particular files, maybe due to a loss of Network when it was trying to sync this file. But I don't understand why a wrong synced file on Onedrive can't be uploaded another time when the network is ok.

from onedrive.

MartinBraquet avatar MartinBraquet commented on July 22, 2024

Yes, I'll do this when I'm sure a the bug. (os: Linux martin-shark 4.15.0-24-generic #26-Ubuntu SMP Wed Jun 13 08:44:47 UTC 2018 x86_64 x86_64 x86_64 GNU/Linuxand version onedrive v2.0.0)
I already have an issue when I remove a file locally. I've created a file test.txt locally, then:

martin@martin-shark:~$ onedrive --synchronize --verbose
Loading config ...
Using Config Dir: /home/martin/.config/onedrive
Initializing the OneDrive API ...
Opening the item database ...
All operations will be performed in: /home/martin/Documents/OneDriveEPL
Initializing the Synchronization Engine ...
Account Type: business
Default Drive ID: b!lzW6G6Dza0uU5QdMrrVgXdpquAr0wU1KgC1ahkCNQgmtvhe6gDhNRIdc8e58kzEi
Default Root ID: 01APWDEQ56Y2GOVW7725BZO354PWSELRRZ
Remaining Free Space: 1026064833464
Fetching details for OneDrive Root
OneDrive Root exists in the database
Applying changes of Path ID: 01APWDEQ56Y2GOVW7725BZO354PWSELRRZ
Uploading differences of .
Processing root
Uploading new items of .
Uploading file ./test.txt ... done.
Remaining free space: 1026064833464
Applying changes of Path ID: 01APWDEQ56Y2GOVW7725BZO354PWSELRRZ

The file is created on remote Onedrive.
I removed the file locally, then:

martin@martin-shark:~$ onedrive --synchronize --verbose --debug-https
Loading config ...
Using Config Dir: /home/martin/.config/onedrive
Initializing the OneDrive API ...
Opening the item database ...
All operations will be performed in: /home/martin/Documents/OneDriveEPL
Initializing the Synchronization Engine ...
*   Trying 104.45.0.24...
* TCP_NODELAY set
* Connected to login.microsoftonline.com (104.45.0.24) port 443 (#0)
* ALPN, offering http/1.1
* successfully set certificate verify locations:
*   CAfile: /etc/ssl/certs/ca-certificates.crt
  CApath: /etc/ssl/certs
* SSL connection using TLSv1.2 / ECDHE-RSA-AES256-GCM-SHA384
* ALPN, server did not agree to a protocol
* Server certificate:
*  subject: CN=stamp2.login.microsoftonline.com
*  start date: Dec 28 20:05:06 2017 GMT
*  expire date: Dec 28 20:05:06 2019 GMT
*  subjectAltName: host "login.microsoftonline.com" matched cert's "login.microsoftonline.com"
*  issuer: C=US; ST=Washington; L=Redmond; O=Microsoft Corporation; OU=Microsoft IT; CN=Microsoft IT TLS CA 4
*  SSL certificate verify ok.
> POST /common/oauth2/v2.0/token HTTP/1.1
Host: login.microsoftonline.com
User-Agent: Phobos-std.net.curl/2.080 (libcurl/7.58.0)
Accept: */*
Content-Length: 1007
Content-Type: application/x-www-form-urlencoded

* We are completely uploaded and fine
< HTTP/1.1 200 OK
< Cache-Control: no-cache, no-store
< Pragma: no-cache
< Content-Type: application/json; charset=utf-8
< Expires: -1
< Server: Microsoft-IIS/10.0
< Strict-Transport-Security: max-age=31536000; includeSubDomains
< X-Content-Type-Options: nosniff
< x-ms-request-id: 2f8dbf5e-7c09-4bb9-bf2b-68dd2f0f0100
< P3P: CP="DSP CUR OTPi IND OTRi ONL FIN"
< Set-Cookie: esctx=AQABAAAAAADX8GCi6Js6SK82TsD2Pb7rbHR-nzshy0rj_5Rr-6qUii4rsbKnyAjLaHbx2ecO2aM1qszIIZ01AT1p7Yl7YUgBNPExNJe0tvK84xiNZdCy3jUPd2O3PlfmNhDk2S4U-qnoh12Tl8dOtUyWPrnClv03Qr3CkgWl1_sop28nK5xv5-rhM4-KKs3kLh2zopbKZ88gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly
< Set-Cookie: x-ms-gateway-slice=003; path=/; secure; HttpOnly
< Set-Cookie: stsservicecookie=ests; path=/; secure; HttpOnly
< Date: Wed, 11 Jul 2018 04:22:50 GMT
< Content-Length: 2823
< 
* Connection #0 to host login.microsoftonline.com left intact
*   Trying 20.190.129.99...
* TCP_NODELAY set
* Connected to graph.microsoft.com (20.190.129.99) port 443 (#1)
* ALPN, offering http/1.1
* successfully set certificate verify locations:
*   CAfile: /etc/ssl/certs/ca-certificates.crt
  CApath: /etc/ssl/certs
* SSL connection using TLSv1.2 / ECDHE-RSA-AES256-GCM-SHA384
* ALPN, server did not agree to a protocol
* Server certificate:
*  subject: C=US; ST=WA; L=Redmond; O=Microsoft Corporation; OU=Microsoft Corporation; CN=graph.microsoft.com
*  start date: Jan  3 17:32:18 2018 GMT
*  expire date: Jan  3 17:32:18 2020 GMT
*  subjectAltName: host "graph.microsoft.com" matched cert's "graph.microsoft.com"
*  issuer: C=US; ST=Washington; L=Redmond; O=Microsoft Corporation; OU=Microsoft IT; CN=Microsoft IT TLS CA 4
*  SSL certificate verify ok.
> GET /v1.0/me/drive HTTP/1.1
Host: graph.microsoft.com
User-Agent: Phobos-std.net.curl/2.080 (libcurl/7.58.0)
Accept: */*
Authorization: bearer 

< HTTP/1.1 200 OK
< Cache-Control: private
< Transfer-Encoding: chunked
< Content-Type: application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8
< request-id: 7ad93b6e-5727-4fec-af88-d8fb709ce812
< client-request-id: 7ad93b6e-5727-4fec-af88-d8fb709ce812
< x-ms-ags-diagnostic: {"ServerInfo":{"DataCenter":"North Europe","Slice":"SliceC","Ring":"3","ScaleUnit":"002","Host":"AGSFE_IN_18","ADSiteName":"NEU"}}
< OData-Version: 4.0
< Duration: 315.4921
< Strict-Transport-Security: max-age=31536000
< Date: Wed, 11 Jul 2018 04:22:50 GMT
< 
* Connection #1 to host graph.microsoft.com left intact
OneDrive Response: {"@odata.context":"https:\/\/graph.microsoft.com\/v1.0\/$metadata#drives\/$entity","createdBy":{"user":{"displayName":"Compte système"}},"createdDateTime":"2017-08-06T18:15:23Z","description":"","driveType":"business","id":"b!lzW6G6Dza0uU5QdMrrVgXdpquAr0wU1KgC1ahkCNQgmtvhe6gDhNRIdc8e58kzEi","lastModifiedBy":{"user":{"displayName":"Martin Braquet","email":"[email protected]","id":"b15a65e5-5e3c-425b-bdf5-59718bf3d497"}},"lastModifiedDateTime":"2018-07-11T04:20:52Z","name":"OneDrive","owner":{"user":{"displayName":"Martin Braquet","email":"[email protected]","id":"b15a65e5-5e3c-425b-bdf5-59718bf3d497"}},"quota":{"deleted":56658118287,"remaining":1026064833069,"state":"normal","total":1099511627776,"used":15727651088},"webUrl":"https:\/\/uclouvain-my.sharepoint.com\/personal\/mbraquet_oasis_uclouvain_be\/Documents"}
* Found bundle for host graph.microsoft.com: 0x55c41c223d30 [can pipeline]
* Re-using existing connection! (#1) with host graph.microsoft.com
* Connected to graph.microsoft.com (20.190.129.99) port 443 (#1)
> GET /v1.0/me/drive/root HTTP/1.1
Host: graph.microsoft.com
User-Agent: Phobos-std.net.curl/2.080 (libcurl/7.58.0)
Accept: */*
Authorization: bearer 

< HTTP/1.1 200 OK
< Cache-Control: private
< Transfer-Encoding: chunked
< Content-Type: application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8
< request-id: d5a619a7-f15f-42d8-b947-17703a1562c4
< client-request-id: d5a619a7-f15f-42d8-b947-17703a1562c4
< x-ms-ags-diagnostic: {"ServerInfo":{"DataCenter":"North Europe","Slice":"SliceC","Ring":"3","ScaleUnit":"002","Host":"AGSFE_IN_18","ADSiteName":"NEU"}}
< OData-Version: 4.0
< Duration: 146.9105
< Strict-Transport-Security: max-age=31536000
< Date: Wed, 11 Jul 2018 04:22:50 GMT
< 
* Connection #1 to host graph.microsoft.com left intact
OneDrive Response: {"@odata.context":"https:\/\/graph.microsoft.com\/v1.0\/$metadata#users('b15a65e5-5e3c-425b-bdf5-59718bf3d497')\/drive\/root\/$entity","createdDateTime":"2017-08-06T18:15:23Z","fileSystemInfo":{"createdDateTime":"2017-08-06T18:15:23Z","lastModifiedDateTime":"2018-07-11T04:20:52Z"},"folder":{"childCount":3},"id":"01APWDEQ56Y2GOVW7725BZO354PWSELRRZ","lastModifiedDateTime":"2018-07-11T04:20:52Z","name":"root","parentReference":{"driveId":"b!lzW6G6Dza0uU5QdMrrVgXdpquAr0wU1KgC1ahkCNQgmtvhe6gDhNRIdc8e58kzEi","driveType":"business"},"root":{},"size":15727651088,"webUrl":"https:\/\/uclouvain-my.sharepoint.com\/personal\/mbraquet_oasis_uclouvain_be\/Documents"}
Account Type: business
Default Drive ID: b!lzW6G6Dza0uU5QdMrrVgXdpquAr0wU1KgC1ahkCNQgmtvhe6gDhNRIdc8e58kzEi
Default Root ID: 01APWDEQ56Y2GOVW7725BZO354PWSELRRZ
Remaining Free Space: 1026064833069
Fetching details for OneDrive Root
* Found bundle for host graph.microsoft.com: 0x55c41c223d30 [can pipeline]
* Re-using existing connection! (#1) with host graph.microsoft.com
* Connected to graph.microsoft.com (20.190.129.99) port 443 (#1)
> GET /v1.0/me/drive/root HTTP/1.1
Host: graph.microsoft.com
User-Agent: Phobos-std.net.curl/2.080 (libcurl/7.58.0)
Accept: */*
Authorization: bearer 

< HTTP/1.1 200 OK
< Cache-Control: private
< Transfer-Encoding: chunked
< Content-Type: application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8
< request-id: 78ccc90e-f7a1-4779-971b-a2fb84287edf
< client-request-id: 78ccc90e-f7a1-4779-971b-a2fb84287edf
< x-ms-ags-diagnostic: {"ServerInfo":{"DataCenter":"North Europe","Slice":"SliceC","Ring":"3","ScaleUnit":"002","Host":"AGSFE_IN_18","ADSiteName":"NEU"}}
< OData-Version: 4.0
< Duration: 125.6814
< Strict-Transport-Security: max-age=31536000
< Date: Wed, 11 Jul 2018 04:22:50 GMT
< 
* Connection #1 to host graph.microsoft.com left intact
OneDrive Response: {"@odata.context":"https:\/\/graph.microsoft.com\/v1.0\/$metadata#users('b15a65e5-5e3c-425b-bdf5-59718bf3d497')\/drive\/root\/$entity","createdDateTime":"2017-08-06T18:15:23Z","fileSystemInfo":{"createdDateTime":"2017-08-06T18:15:23Z","lastModifiedDateTime":"2018-07-11T04:20:52Z"},"folder":{"childCount":3},"id":"01APWDEQ56Y2GOVW7725BZO354PWSELRRZ","lastModifiedDateTime":"2018-07-11T04:20:52Z","name":"root","parentReference":{"driveId":"b!lzW6G6Dza0uU5QdMrrVgXdpquAr0wU1KgC1ahkCNQgmtvhe6gDhNRIdc8e58kzEi","driveType":"business"},"root":{},"size":15727651088,"webUrl":"https:\/\/uclouvain-my.sharepoint.com\/personal\/mbraquet_oasis_uclouvain_be\/Documents"}
OneDrive Root exists in the database
Applying changes of Path ID: 01APWDEQ56Y2GOVW7725BZO354PWSELRRZ
* Found bundle for host graph.microsoft.com: 0x55c41c223d30 [can pipeline]
* Re-using existing connection! (#1) with host graph.microsoft.com
* Connected to graph.microsoft.com (20.190.129.99) port 443 (#1)
> GET /v1.0/drives/b!lzW6G6Dza0uU5QdMrrVgXdpquAr0wU1KgC1ahkCNQgmtvhe6gDhNRIdc8e58kzEi/items/01APWDEQ56Y2GOVW7725BZO354PWSELRRZ?select=id,name,eTag,cTag,deleted,file,folder,root,fileSystemInfo,remoteItem,parentReference HTTP/1.1
Host: graph.microsoft.com
User-Agent: Phobos-std.net.curl/2.080 (libcurl/7.58.0)
Accept: */*
Authorization: bearer 

< HTTP/1.1 200 OK
< Cache-Control: private
< Transfer-Encoding: chunked
< Content-Type: application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8
< request-id: fe6f7c62-163d-424c-96d4-a8a0540f7b80
< client-request-id: fe6f7c62-163d-424c-96d4-a8a0540f7b80
< x-ms-ags-diagnostic: {"ServerInfo":{"DataCenter":"North Europe","Slice":"SliceC","Ring":"3","ScaleUnit":"002","Host":"AGSFE_IN_18","ADSiteName":"NEU"}}
< OData-Version: 4.0
< Duration: 224.213
< Strict-Transport-Security: max-age=31536000
< Date: Wed, 11 Jul 2018 04:22:50 GMT
< 
* Connection #1 to host graph.microsoft.com left intact
OneDrive Response: {"@odata.context":"https:\/\/graph.microsoft.com\/v1.0\/$metadata#drives('b%21lzW6G6Dza0uU5QdMrrVgXdpquAr0wU1KgC1ahkCNQgmtvhe6gDhNRIdc8e58kzEi')\/items\/$entity","fileSystemInfo":{"createdDateTime":"2017-08-06T18:15:23Z","lastModifiedDateTime":"2018-07-11T04:20:52Z"},"folder":{"childCount":3},"id":"01APWDEQ56Y2GOVW7725BZO354PWSELRRZ","name":"root","parentReference":{"driveId":"b!lzW6G6Dza0uU5QdMrrVgXdpquAr0wU1KgC1ahkCNQgmtvhe6gDhNRIdc8e58kzEi","driveType":"business"},"root":{}}
* Found bundle for host graph.microsoft.com: 0x55c41c223d30 [can pipeline]
* Re-using existing connection! (#1) with host graph.microsoft.com
* Connected to graph.microsoft.com (20.190.129.99) port 443 (#1)
> GET /v1.0/drives/b!lzW6G6Dza0uU5QdMrrVgXdpquAr0wU1KgC1ahkCNQgmtvhe6gDhNRIdc8e58kzEi/items/01APWDEQ56Y2GOVW7725BZO354PWSELRRZ/delta?select=id%2cname%2ceTag%2ccTag%2cdeleted%2cfile%2cfolder%2croot%2cfileSystemInfo%2cremoteItem%2cparentReference&token=MzslMjM0OyUyMzE7MztiYTE3YmVhZC0zODgwLTQ0NGQtODc1Yy1mMWVlN2M5MzMxMjI7NjM2NjY4Nzk2NzUwOTAwMDAwOzIyMDQ4MzA4ODslMjM7JTIzOyUyMzQ HTTP/1.1
Host: graph.microsoft.com
User-Agent: Phobos-std.net.curl/2.080 (libcurl/7.58.0)
Accept: */*
Authorization: bearer 
< HTTP/1.1 200 OK
< Cache-Control: private
< Transfer-Encoding: chunked
< Content-Type: application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8
< request-id: 51a5cb03-fbbc-44cd-beca-4c7a8e76d190
< client-request-id: 51a5cb03-fbbc-44cd-beca-4c7a8e76d190
< x-ms-ags-diagnostic: {"ServerInfo":{"DataCenter":"North Europe","Slice":"SliceC","Ring":"3","ScaleUnit":"002","Host":"AGSFE_IN_18","ADSiteName":"NEU"}}
< OData-Version: 4.0
< Duration: 168.5486
< Strict-Transport-Security: max-age=31536000
< Date: Wed, 11 Jul 2018 04:22:52 GMT
< 
* Connection #1 to host graph.microsoft.com left intact
OneDrive Response: {"@odata.context":"https:\/\/graph.microsoft.com\/v1.0\/$metadata#Collection(driveItem)","@odata.deltaLink":"https:\/\/graph.microsoft.com\/v1.0\/drives\/b!lzW6G6Dza0uU5QdMrrVgXdpquAr0wU1KgC1ahkCNQgmtvhe6gDhNRIdc8e58kzEi\/items\/01APWDEQ56Y2GOVW7725BZO354PWSELRRZ\/delta?select=id%2cname%2ceTag%2ccTag%2cdeleted%2cfile%2cfolder%2croot%2cfileSystemInfo%2cremoteItem%2cparentReference&token=MzslMjM0OyUyMzE7MztiYTE3YmVhZC0zODgwLTQ0NGQtODc1Yy1mMWVlN2M5MzMxMjI7NjM2NjY4Nzk3NjI3MjcwMDAwOzIyMDQ4MzA5NTslMjM7JTIzOyUyMzQ","value":[]}
Uploading differences of .
Processing root
Uploading new items of .
Applying changes of Path ID: 01APWDEQ56Y2GOVW7725BZO354PWSELRRZ
* Found bundle for host graph.microsoft.com: 0x55c41c223d30 [can pipeline]
* Re-using existing connection! (#1) with host graph.microsoft.com
* Connected to graph.microsoft.com (20.190.129.99) port 443 (#1)
> GET /v1.0/drives/b!lzW6G6Dza0uU5QdMrrVgXdpquAr0wU1KgC1ahkCNQgmtvhe6gDhNRIdc8e58kzEi/items/01APWDEQ56Y2GOVW7725BZO354PWSELRRZ?select=id,name,eTag,cTag,deleted,file,folder,root,fileSystemInfo,remoteItem,parentReference HTTP/1.1
Host: graph.microsoft.com
User-Agent: Phobos-std.net.curl/2.080 (libcurl/7.58.0)
Accept: */*
Authorization: bearer 

< HTTP/1.1 200 OK
< Cache-Control: private
< Transfer-Encoding: chunked
< Content-Type: application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8
< request-id: b03b2f56-6926-4811-943f-9acacc56c65c
< client-request-id: b03b2f56-6926-4811-943f-9acacc56c65c
< x-ms-ags-diagnostic: {"ServerInfo":{"DataCenter":"North Europe","Slice":"SliceC","Ring":"3","ScaleUnit":"002","Host":"AGSFE_IN_18","ADSiteName":"NEU"}}
< OData-Version: 4.0
< Duration: 205.5085
< Strict-Transport-Security: max-age=31536000
< Date: Wed, 11 Jul 2018 04:22:55 GMT
< 
* Connection #1 to host graph.microsoft.com left intact
OneDrive Response: {"@odata.context":"https:\/\/graph.microsoft.com\/v1.0\/$metadata#drives('b%21lzW6G6Dza0uU5QdMrrVgXdpquAr0wU1KgC1ahkCNQgmtvhe6gDhNRIdc8e58kzEi')\/items\/$entity","fileSystemInfo":{"createdDateTime":"2017-08-06T18:15:23Z","lastModifiedDateTime":"2018-07-11T04:20:52Z"},"folder":{"childCount":3},"id":"01APWDEQ56Y2GOVW7725BZO354PWSELRRZ","name":"root","parentReference":{"driveId":"b!lzW6G6Dza0uU5QdMrrVgXdpquAr0wU1KgC1ahkCNQgmtvhe6gDhNRIdc8e58kzEi","driveType":"business"},"root":{}}
* Found bundle for host graph.microsoft.com: 0x55c41c223d30 [can pipeline]
* Re-using existing connection! (#1) with host graph.microsoft.com
* Connected to graph.microsoft.com (20.190.129.99) port 443 (#1)
> GET /v1.0/drives/b!lzW6G6Dza0uU5QdMrrVgXdpquAr0wU1KgC1ahkCNQgmtvhe6gDhNRIdc8e58kzEi/items/01APWDEQ56Y2GOVW7725BZO354PWSELRRZ/delta?select=id%2cname%2ceTag%2ccTag%2cdeleted%2cfile%2cfolder%2croot%2cfileSystemInfo%2cremoteItem%2cparentReference&token=MzslMjM0OyUyMzE7MztiYTE3YmVhZC0zODgwLTQ0NGQtODc1Yy1mMWVlN2M5MzMxMjI7NjM2NjY4Nzk3NjI3MjcwMDAwOzIyMDQ4MzA5NTslMjM7JTIzOyUyMzQ HTTP/1.1
Host: graph.microsoft.com
User-Agent: Phobos-std.net.curl/2.080 (libcurl/7.58.0)
Accept: */*
Authorization: bearer 

< HTTP/1.1 200 OK
< Cache-Control: private
< Transfer-Encoding: chunked
< Content-Type: application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8
< request-id: 99e3fbd2-fb9c-480a-9898-870c366c52ba
< client-request-id: 99e3fbd2-fb9c-480a-9898-870c366c52ba
< x-ms-ags-diagnostic: {"ServerInfo":{"DataCenter":"North Europe","Slice":"SliceC","Ring":"3","ScaleUnit":"002","Host":"AGSFE_IN_18","ADSiteName":"NEU"}}
< OData-Version: 4.0
< Duration: 149.5444
< Strict-Transport-Security: max-age=31536000
< Date: Wed, 11 Jul 2018 04:22:55 GMT
< 
* Connection #1 to host graph.microsoft.com left intact
OneDrive Response: {"@odata.context":"https:\/\/graph.microsoft.com\/v1.0\/$metadata#Collection(driveItem)","@odata.deltaLink":"https:\/\/graph.microsoft.com\/v1.0\/drives\/b!lzW6G6Dza0uU5QdMrrVgXdpquAr0wU1KgC1ahkCNQgmtvhe6gDhNRIdc8e58kzEi\/items\/01APWDEQ56Y2GOVW7725BZO354PWSELRRZ\/delta?select=id%2cname%2ceTag%2ccTag%2cdeleted%2cfile%2cfolder%2croot%2cfileSystemInfo%2cremoteItem%2cparentReference&token=MzslMjM0OyUyMzE7MztiYTE3YmVhZC0zODgwLTQ0NGQtODc1Yy1mMWVlN2M5MzMxMjI7NjM2NjY4Nzk3NjI3MjcwMDAwOzIyMDQ4MzA5NTslMjM7JTIzOyUyMzQ","value":[]}

Nothing is removed on remote Onedrive

from onedrive.

MartinBraquet avatar MartinBraquet commented on July 22, 2024

And a second bug is as I said: I've synced a few days ago and it appears that the network shut down while it was creating a folder, in my case it's ~/Documents/OnedriveEPL/EPL-Drive/BACHELIER/Tronc commun/Q3/LFSAB1302 - Chimie/Synthèses.
Now all the files I add in this directory generate an 404 error not found. I think this is because a wrong line is written in item.sqlite3, maybe I can try to edit this file... It's too long to regenerate this file because my repo size is 16 Gb.
And if I rename the directory Synthèses by Synthèse (item.sqlite3don't detect this folder, so it creates a new ID for it) , everything works fine, I can add files in this folders, specially the same as in Synthèses...

For example, I create an non empty file test.txt in Synthèses , and then:

martin@martin-shark:~$ onedrive --synchronize --verbose --debug-https
Loading config ...
Using Config Dir: /home/martin/.config/onedrive
Initializing the OneDrive API ...
Opening the item database ...
All operations will be performed in: /home/martin/Documents/OneDriveEPL
Initializing the Synchronization Engine ...
*   Trying 104.45.0.24...
* TCP_NODELAY set
* Connected to login.microsoftonline.com (104.45.0.24) port 443 (#0)
* ALPN, offering http/1.1
* successfully set certificate verify locations:
*   CAfile: /etc/ssl/certs/ca-certificates.crt
  CApath: /etc/ssl/certs
* SSL connection using TLSv1.2 / ECDHE-RSA-AES256-GCM-SHA384
* ALPN, server did not agree to a protocol
* Server certificate:
*  subject: CN=stamp2.login.microsoftonline.com
*  start date: Dec 28 20:05:06 2017 GMT
*  expire date: Dec 28 20:05:06 2019 GMT
*  subjectAltName: host "login.microsoftonline.com" matched cert's "login.microsoftonline.com"
*  issuer: C=US; ST=Washington; L=Redmond; O=Microsoft Corporation; OU=Microsoft IT; CN=Microsoft IT TLS CA 4
*  SSL certificate verify ok.
> POST /common/oauth2/v2.0/token HTTP/1.1
Host: login.microsoftonline.com
User-Agent: Phobos-std.net.curl/2.080 (libcurl/7.58.0)
Accept: */*
Content-Length: 1007
Content-Type: application/x-www-form-urlencoded

* We are completely uploaded and fine
< HTTP/1.1 200 OK
< Cache-Control: no-cache, no-store
< Pragma: no-cache
< Content-Type: application/json; charset=utf-8
< Expires: -1
< Server: Microsoft-IIS/10.0
< Strict-Transport-Security: max-age=31536000; includeSubDomains
< X-Content-Type-Options: nosniff
< x-ms-request-id: 32998714-cc58-43ce-acb1-d34f8d8f2900
< P3P: CP="DSP CUR OTPi IND OTRi ONL FIN"
< Set-Cookie: esctx=AQABAAAAAADX8GCi6Js6SK82TsD2Pb7ri6Ul9NucNY9HzQUBv8JtSrKZunXxNFOUxKmkGNOlTbKG9CDAXtJuR67OamYDgGCeLDjbFhGZCemoqAFtCBMd9kBYh2tiOC9aGBnrO3eZfYPS9cxzBUz9scYRY1tYTV6QukzY5wpRN36TOfonU9t6f3el8-CHGSLRm6WtJbnhm1IgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly
< Set-Cookie: x-ms-gateway-slice=011; path=/; secure; HttpOnly
< Set-Cookie: stsservicecookie=ests; path=/; secure; HttpOnly
< Date: Wed, 11 Jul 2018 04:49:26 GMT
< Content-Length: 2823
< 
* Connection #0 to host login.microsoftonline.com left intact
*   Trying 20.190.129.99...
* TCP_NODELAY set
* Connected to graph.microsoft.com (20.190.129.99) port 443 (#1)
* ALPN, offering http/1.1
* successfully set certificate verify locations:
*   CAfile: /etc/ssl/certs/ca-certificates.crt
  CApath: /etc/ssl/certs
* SSL connection using TLSv1.2 / ECDHE-RSA-AES256-GCM-SHA384
* ALPN, server did not agree to a protocol
* Server certificate:
*  subject: C=US; ST=WA; L=Redmond; O=Microsoft Corporation; OU=Microsoft Corporation; CN=graph.microsoft.com
*  start date: Jan  3 17:32:18 2018 GMT
*  expire date: Jan  3 17:32:18 2020 GMT
*  subjectAltName: host "graph.microsoft.com" matched cert's "graph.microsoft.com"
*  issuer: C=US; ST=Washington; L=Redmond; O=Microsoft Corporation; OU=Microsoft IT; CN=Microsoft IT TLS CA 4
*  SSL certificate verify ok.
> GET /v1.0/me/drive HTTP/1.1
Host: graph.microsoft.com
User-Agent: Phobos-std.net.curl/2.080 (libcurl/7.58.0)
Accept: */*
Authorization: bearer 

< HTTP/1.1 200 OK
< Cache-Control: private
< Transfer-Encoding: chunked
< Content-Type: application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8
< request-id: 7d0f153e-8401-4917-b192-1c7b6a850bb9
< client-request-id: 7d0f153e-8401-4917-b192-1c7b6a850bb9
< x-ms-ags-diagnostic: {"ServerInfo":{"DataCenter":"North Europe","Slice":"SliceC","Ring":"3","ScaleUnit":"002","Host":"AGSFE_IN_6","ADSiteName":"NEU"}}
< OData-Version: 4.0
< Duration: 320.2762
< Strict-Transport-Security: max-age=31536000
< Date: Wed, 11 Jul 2018 04:49:27 GMT
< 
* Connection #1 to host graph.microsoft.com left intact
OneDrive Response: {"@odata.context":"https:\/\/graph.microsoft.com\/v1.0\/$metadata#drives\/$entity","createdBy":{"user":{"displayName":"Compte système"}},"createdDateTime":"2017-08-06T18:15:23Z","description":"","driveType":"business","id":"b!lzW6G6Dza0uU5QdMrrVgXdpquAr0wU1KgC1ahkCNQgmtvhe6gDhNRIdc8e58kzEi","lastModifiedBy":{"user":{"displayName":"Martin Braquet","email":"[email protected]","id":"b15a65e5-5e3c-425b-bdf5-59718bf3d497"}},"lastModifiedDateTime":"2018-07-11T04:33:48Z","name":"OneDrive","owner":{"user":{"displayName":"Martin Braquet","email":"[email protected]","id":"b15a65e5-5e3c-425b-bdf5-59718bf3d497"}},"quota":{"deleted":56658134183,"remaining":1026003874810,"state":"normal","total":1099511627776,"used":15785795299},"webUrl":"https:\/\/uclouvain-my.sharepoint.com\/personal\/mbraquet_oasis_uclouvain_be\/Documents"}
* Found bundle for host graph.microsoft.com: 0x565157357d30 [can pipeline]
* Re-using existing connection! (#1) with host graph.microsoft.com
* Connected to graph.microsoft.com (20.190.129.99) port 443 (#1)
> GET /v1.0/me/drive/root HTTP/1.1
Host: graph.microsoft.com
User-Agent: Phobos-std.net.curl/2.080 (libcurl/7.58.0)
Accept: */*
Authorization: bearer 

< HTTP/1.1 200 OK
< Cache-Control: private
< Transfer-Encoding: chunked
< Content-Type: application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8
< request-id: a0555053-18ed-4a50-9505-a5ca61fc238b
< client-request-id: a0555053-18ed-4a50-9505-a5ca61fc238b
< x-ms-ags-diagnostic: {"ServerInfo":{"DataCenter":"North Europe","Slice":"SliceC","Ring":"3","ScaleUnit":"002","Host":"AGSFE_IN_6","ADSiteName":"NEU"}}
< OData-Version: 4.0
< Duration: 149.0059
< Strict-Transport-Security: max-age=31536000
< Date: Wed, 11 Jul 2018 04:49:27 GMT
< 
* Connection #1 to host graph.microsoft.com left intact
OneDrive Response: {"@odata.context":"https:\/\/graph.microsoft.com\/v1.0\/$metadata#users('b15a65e5-5e3c-425b-bdf5-59718bf3d497')\/drive\/root\/$entity","createdDateTime":"2017-08-06T18:15:23Z","fileSystemInfo":{"createdDateTime":"2017-08-06T18:15:23Z","lastModifiedDateTime":"2018-07-11T04:40:43Z"},"folder":{"childCount":2},"id":"01APWDEQ56Y2GOVW7725BZO354PWSELRRZ","lastModifiedDateTime":"2018-07-11T04:40:43Z","name":"root","parentReference":{"driveId":"b!lzW6G6Dza0uU5QdMrrVgXdpquAr0wU1KgC1ahkCNQgmtvhe6gDhNRIdc8e58kzEi","driveType":"business"},"root":{},"size":15785795299,"webUrl":"https:\/\/uclouvain-my.sharepoint.com\/personal\/mbraquet_oasis_uclouvain_be\/Documents"}
Account Type: business
Default Drive ID: b!lzW6G6Dza0uU5QdMrrVgXdpquAr0wU1KgC1ahkCNQgmtvhe6gDhNRIdc8e58kzEi
Default Root ID: 01APWDEQ56Y2GOVW7725BZO354PWSELRRZ
Remaining Free Space: 1026003874810
Fetching details for OneDrive Root
* Found bundle for host graph.microsoft.com: 0x565157357d30 [can pipeline]
* Re-using existing connection! (#1) with host graph.microsoft.com
* Connected to graph.microsoft.com (20.190.129.99) port 443 (#1)
> GET /v1.0/me/drive/root HTTP/1.1
Host: graph.microsoft.com
User-Agent: Phobos-std.net.curl/2.080 (libcurl/7.58.0)
Accept: */*
Authorization: bearer 

< HTTP/1.1 200 OK
< Cache-Control: private
< Transfer-Encoding: chunked
< Content-Type: application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8
< request-id: f62f9017-42cc-4610-8f64-da5beda2659b
< client-request-id: f62f9017-42cc-4610-8f64-da5beda2659b
< x-ms-ags-diagnostic: {"ServerInfo":{"DataCenter":"North Europe","Slice":"SliceC","Ring":"3","ScaleUnit":"002","Host":"AGSFE_IN_6","ADSiteName":"NEU"}}
< OData-Version: 4.0
< Duration: 160.8647
< Strict-Transport-Security: max-age=31536000
< Date: Wed, 11 Jul 2018 04:49:27 GMT
< 
* Connection #1 to host graph.microsoft.com left intact
OneDrive Response: {"@odata.context":"https:\/\/graph.microsoft.com\/v1.0\/$metadata#users('b15a65e5-5e3c-425b-bdf5-59718bf3d497')\/drive\/root\/$entity","createdDateTime":"2017-08-06T18:15:23Z","fileSystemInfo":{"createdDateTime":"2017-08-06T18:15:23Z","lastModifiedDateTime":"2018-07-11T04:40:43Z"},"folder":{"childCount":2},"id":"01APWDEQ56Y2GOVW7725BZO354PWSELRRZ","lastModifiedDateTime":"2018-07-11T04:40:43Z","name":"root","parentReference":{"driveId":"b!lzW6G6Dza0uU5QdMrrVgXdpquAr0wU1KgC1ahkCNQgmtvhe6gDhNRIdc8e58kzEi","driveType":"business"},"root":{},"size":15785795299,"webUrl":"https:\/\/uclouvain-my.sharepoint.com\/personal\/mbraquet_oasis_uclouvain_be\/Documents"}
OneDrive Root exists in the database
Applying changes of Path ID: 01APWDEQ56Y2GOVW7725BZO354PWSELRRZ
* Found bundle for host graph.microsoft.com: 0x565157357d30 [can pipeline]
* Re-using existing connection! (#1) with host graph.microsoft.com
* Connected to graph.microsoft.com (20.190.129.99) port 443 (#1)
> GET /v1.0/drives/b!lzW6G6Dza0uU5QdMrrVgXdpquAr0wU1KgC1ahkCNQgmtvhe6gDhNRIdc8e58kzEi/items/01APWDEQ56Y2GOVW7725BZO354PWSELRRZ?select=id,name,eTag,cTag,deleted,file,folder,root,fileSystemInfo,remoteItem,parentReference HTTP/1.1
Host: graph.microsoft.com
User-Agent: Phobos-std.net.curl/2.080 (libcurl/7.58.0)
Accept: */*
Authorization: bearer 

< HTTP/1.1 200 OK
< Cache-Control: private
< Transfer-Encoding: chunked
< Content-Type: application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8
< request-id: f0d52446-e48e-45bb-927a-8c89ed8f1dbf
< client-request-id: f0d52446-e48e-45bb-927a-8c89ed8f1dbf
< x-ms-ags-diagnostic: {"ServerInfo":{"DataCenter":"North Europe","Slice":"SliceC","Ring":"3","ScaleUnit":"002","Host":"AGSFE_IN_6","ADSiteName":"NEU"}}
< OData-Version: 4.0
< Duration: 178.6245
< Strict-Transport-Security: max-age=31536000
< Date: Wed, 11 Jul 2018 04:49:28 GMT
< 
* Connection #1 to host graph.microsoft.com left intact
OneDrive Response: {"@odata.context":"https:\/\/graph.microsoft.com\/v1.0\/$metadata#drives('b%21lzW6G6Dza0uU5QdMrrVgXdpquAr0wU1KgC1ahkCNQgmtvhe6gDhNRIdc8e58kzEi')\/items\/$entity","fileSystemInfo":{"createdDateTime":"2017-08-06T18:15:23Z","lastModifiedDateTime":"2018-07-11T04:40:43Z"},"folder":{"childCount":2},"id":"01APWDEQ56Y2GOVW7725BZO354PWSELRRZ","name":"root","parentReference":{"driveId":"b!lzW6G6Dza0uU5QdMrrVgXdpquAr0wU1KgC1ahkCNQgmtvhe6gDhNRIdc8e58kzEi","driveType":"business"},"root":{}}
* Found bundle for host graph.microsoft.com: 0x565157357d30 [can pipeline]
* Re-using existing connection! (#1) with host graph.microsoft.com
* Connected to graph.microsoft.com (20.190.129.99) port 443 (#1)
> GET /v1.0/drives/b!lzW6G6Dza0uU5QdMrrVgXdpquAr0wU1KgC1ahkCNQgmtvhe6gDhNRIdc8e58kzEi/items/01APWDEQ56Y2GOVW7725BZO354PWSELRRZ/delta?select=id%2cname%2ceTag%2ccTag%2cdeleted%2cfile%2cfolder%2croot%2cfileSystemInfo%2cremoteItem%2cparentReference&token=MzslMjM0OyUyMzE7MztiYTE3YmVhZC0zODgwLTQ0NGQtODc1Yy1mMWVlN2M5MzMxMjI7NjM2NjY4ODEzNDAyMjAwMDAwOzIyMDQ4MzMwNjslMjM7JTIzOyUyMzQ HTTP/1.1
Host: graph.microsoft.com
User-Agent: Phobos-std.net.curl/2.080 (libcurl/7.58.0)
Accept: */*
Authorization: bearer 
< HTTP/1.1 200 OK
< Cache-Control: private
< Transfer-Encoding: chunked
< Content-Type: application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8
< request-id: fcec0db8-3970-41ed-be57-f212efc939f9
< client-request-id: fcec0db8-3970-41ed-be57-f212efc939f9
< x-ms-ags-diagnostic: {"ServerInfo":{"DataCenter":"North Europe","Slice":"SliceC","Ring":"3","ScaleUnit":"002","Host":"AGSFE_IN_6","ADSiteName":"NEU"}}
< OData-Version: 4.0
< Duration: 151.6848
< Strict-Transport-Security: max-age=31536000
< Date: Wed, 11 Jul 2018 04:49:28 GMT
< 
* Connection #1 to host graph.microsoft.com left intact
OneDrive Response: {"@odata.context":"https:\/\/graph.microsoft.com\/v1.0\/$metadata#Collection(driveItem)","@odata.deltaLink":"https:\/\/graph.microsoft.com\/v1.0\/drives\/b!lzW6G6Dza0uU5QdMrrVgXdpquAr0wU1KgC1ahkCNQgmtvhe6gDhNRIdc8e58kzEi\/items\/01APWDEQ56Y2GOVW7725BZO354PWSELRRZ\/delta?select=id%2cname%2ceTag%2ccTag%2cdeleted%2cfile%2cfolder%2croot%2cfileSystemInfo%2cremoteItem%2cparentReference&token=MzslMjM0OyUyMzE7MztiYTE3YmVhZC0zODgwLTQ0NGQtODc1Yy1mMWVlN2M5MzMxMjI7NjM2NjY4ODEzNDQyMzcwMDAwOzIyMDQ4MzMwNzslMjM7JTIzOyUyMzQ","value":[]}
Uploading differences of .
Processing root
Uploading new items of .
* Found bundle for host graph.microsoft.com: 0x565157357d30 [can pipeline]
* Re-using existing connection! (#1) with host graph.microsoft.com
* Connected to graph.microsoft.com (20.190.129.99) port 443 (#1)
> GET /v1.0/me/drive/root:/.%2FEPL-Drive%2FBACHELIER%2FTronc%20commun%2FQ3%2FLFSAB1302%20-%20Chimie%2FSynth%C3%A8ses%2Ftest.txt:/?select=id,name,eTag,cTag,deleted,file,folder,root,fileSystemInfo,remoteItem,parentReference HTTP/1.1
Host: graph.microsoft.com
User-Agent: Phobos-std.net.curl/2.080 (libcurl/7.58.0)
Accept: */*
Authorization: bearer 

< HTTP/1.1 404 Not Found
< Cache-Control: private
< Transfer-Encoding: chunked
< Content-Type: application/json
< request-id: f1926610-b885-4817-83d6-da13b2bba09c
< client-request-id: f1926610-b885-4817-83d6-da13b2bba09c
< x-ms-ags-diagnostic: {"ServerInfo":{"DataCenter":"North Europe","Slice":"SliceC","Ring":"3","ScaleUnit":"002","Host":"AGSFE_IN_6","ADSiteName":"NEU"}}
< Duration: 196.4327
< Strict-Transport-Security: max-age=31536000
< Date: Wed, 11 Jul 2018 04:49:29 GMT
< 
* Connection #1 to host graph.microsoft.com left intact
Uploading file ./EPL-Drive/BACHELIER/Tronc commun/Q3/LFSAB1302 - Chimie/Synthèses/test.txt ...
* Found bundle for host graph.microsoft.com: 0x565157357d30 [can pipeline]
* Re-using existing connection! (#1) with host graph.microsoft.com
* Connected to graph.microsoft.com (20.190.129.99) port 443 (#1)
> POST /v1.0/drives/b!lzW6G6Dza0uU5QdMrrVgXdpquAr0wU1KgC1ahkCNQgmtvhe6gDhNRIdc8e58kzEi/items/01APWDEQ4IWEWVZVCQLVHZD4FGEOLR25WO:/test.txt:/createUploadSession HTTP/1.1
Host: graph.microsoft.com
User-Agent: Phobos-std.net.curl/2.080 (libcurl/7.58.0)
Accept: */*
Content-Type: application/json
Authorization: bearer 

* We are completely uploaded and fine
< HTTP/1.1 404 Not Found
< Cache-Control: private
< Transfer-Encoding: chunked
< Content-Type: application/json
< request-id: 587b0edd-28c3-453b-a136-36ac44a1d49b
< client-request-id: 587b0edd-28c3-453b-a136-36ac44a1d49b
< x-ms-ags-diagnostic: {"ServerInfo":{"DataCenter":"North Europe","Slice":"SliceC","Ring":"3","ScaleUnit":"002","Host":"AGSFE_IN_6","ADSiteName":"NEU"}}
< Duration: 192.1447
< Strict-Transport-Security: max-age=31536000
< Date: Wed, 11 Jul 2018 04:49:30 GMT
< 
* Connection #1 to host graph.microsoft.com left intact
HTTP request returned status code 404 (Not Found)
{
    "error": {
        "code": "itemNotFound",
        "innerError": {
            "date": "2018-07-11T04:49:30",
            "request-id": "587b0edd-28c3-453b-a136-36ac44a1d49b"
        },
        "message": "The resource could not be found."
    }
}
Applying changes of Path ID: 01APWDEQ56Y2GOVW7725BZO354PWSELRRZ
* Found bundle for host graph.microsoft.com: 0x565157357d30 [can pipeline]
* Re-using existing connection! (#1) with host graph.microsoft.com
* Connected to graph.microsoft.com (20.190.129.99) port 443 (#1)
> GET /v1.0/drives/b!lzW6G6Dza0uU5QdMrrVgXdpquAr0wU1KgC1ahkCNQgmtvhe6gDhNRIdc8e58kzEi/items/01APWDEQ56Y2GOVW7725BZO354PWSELRRZ?select=id,name,eTag,cTag,deleted,file,folder,root,fileSystemInfo,remoteItem,parentReference HTTP/1.1
Host: graph.microsoft.com
User-Agent: Phobos-std.net.curl/2.080 (libcurl/7.58.0)
Accept: */*
Authorization: bearer 
< HTTP/1.1 200 OK
< Cache-Control: private
< Transfer-Encoding: chunked
< Content-Type: application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8
< request-id: 78056aea-c163-480c-9ea0-b9685a0f9328
< client-request-id: 78056aea-c163-480c-9ea0-b9685a0f9328
< x-ms-ags-diagnostic: {"ServerInfo":{"DataCenter":"North Europe","Slice":"SliceC","Ring":"3","ScaleUnit":"002","Host":"AGSFE_IN_6","ADSiteName":"NEU"}}
< OData-Version: 4.0
< Duration: 154.4046
< Strict-Transport-Security: max-age=31536000
< Date: Wed, 11 Jul 2018 04:49:30 GMT
< 
* Connection #1 to host graph.microsoft.com left intact
OneDrive Response: {"@odata.context":"https:\/\/graph.microsoft.com\/v1.0\/$metadata#drives('b%21lzW6G6Dza0uU5QdMrrVgXdpquAr0wU1KgC1ahkCNQgmtvhe6gDhNRIdc8e58kzEi')\/items\/$entity","fileSystemInfo":{"createdDateTime":"2017-08-06T18:15:23Z","lastModifiedDateTime":"2018-07-11T04:40:43Z"},"folder":{"childCount":2},"id":"01APWDEQ56Y2GOVW7725BZO354PWSELRRZ","name":"root","parentReference":{"driveId":"b!lzW6G6Dza0uU5QdMrrVgXdpquAr0wU1KgC1ahkCNQgmtvhe6gDhNRIdc8e58kzEi","driveType":"business"},"root":{}}
* Found bundle for host graph.microsoft.com: 0x565157357d30 [can pipeline]
* Re-using existing connection! (#1) with host graph.microsoft.com
* Connected to graph.microsoft.com (20.190.129.99) port 443 (#1)
> GET /v1.0/drives/b!lzW6G6Dza0uU5QdMrrVgXdpquAr0wU1KgC1ahkCNQgmtvhe6gDhNRIdc8e58kzEi/items/01APWDEQ56Y2GOVW7725BZO354PWSELRRZ/delta?select=id%2cname%2ceTag%2ccTag%2cdeleted%2cfile%2cfolder%2croot%2cfileSystemInfo%2cremoteItem%2cparentReference&token=MzslMjM0OyUyMzE7MztiYTE3YmVhZC0zODgwLTQ0NGQtODc1Yy1mMWVlN2M5MzMxMjI7NjM2NjY4ODEzNDQyMzcwMDAwOzIyMDQ4MzMwNzslMjM7JTIzOyUyMzQ HTTP/1.1
Host: graph.microsoft.com
User-Agent: Phobos-std.net.curl/2.080 (libcurl/7.58.0)
Accept: */*
Authorization: bearer 

< HTTP/1.1 200 OK
< Cache-Control: private
< Transfer-Encoding: chunked
< Content-Type: application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8
< request-id: 3618160e-1bdd-4843-ae9f-8eb6ab2a6603
< client-request-id: 3618160e-1bdd-4843-ae9f-8eb6ab2a6603
< x-ms-ags-diagnostic: {"ServerInfo":{"DataCenter":"North Europe","Slice":"SliceC","Ring":"3","ScaleUnit":"002","Host":"AGSFE_IN_6","ADSiteName":"NEU"}}
< OData-Version: 4.0
< Duration: 154.5183
< Strict-Transport-Security: max-age=31536000
< Date: Wed, 11 Jul 2018 04:49:30 GMT
< 
* Connection #1 to host graph.microsoft.com left intact
OneDrive Response: {"@odata.context":"https:\/\/graph.microsoft.com\/v1.0\/$metadata#Collection(driveItem)","@odata.deltaLink":"https:\/\/graph.microsoft.com\/v1.0\/drives\/b!lzW6G6Dza0uU5QdMrrVgXdpquAr0wU1KgC1ahkCNQgmtvhe6gDhNRIdc8e58kzEi\/items\/01APWDEQ56Y2GOVW7725BZO354PWSELRRZ\/delta?select=id%2cname%2ceTag%2ccTag%2cdeleted%2cfile%2cfolder%2croot%2cfileSystemInfo%2cremoteItem%2cparentReference&token=MzslMjM0OyUyMzE7MztiYTE3YmVhZC0zODgwLTQ0NGQtODc1Yy1mMWVlN2M5MzMxMjI7NjM2NjY4ODEzNDQyMzcwMDAwOzIyMDQ4MzMwNzslMjM7JTIzOyUyMzQ","value":[]}
Uploading differences of .
Processing root
Uploading new items of .
* Found bundle for host graph.microsoft.com: 0x565157357d30 [can pipeline]
* Re-using existing connection! (#1) with host graph.microsoft.com
* Connected to graph.microsoft.com (20.190.129.99) port 443 (#1)
> GET /v1.0/me/drive/root:/.%2FEPL-Drive%2FBACHELIER%2FTronc%20commun%2FQ3%2FLFSAB1302%20-%20Chimie%2FSynth%C3%A8ses%2Ftest.txt:/?select=id,name,eTag,cTag,deleted,file,folder,root,fileSystemInfo,remoteItem,parentReference HTTP/1.1
Host: graph.microsoft.com
User-Agent: Phobos-std.net.curl/2.080 (libcurl/7.58.0)
Accept: */*
Authorization: bearer 

< HTTP/1.1 404 Not Found
< Cache-Control: private
< Transfer-Encoding: chunked
< Content-Type: application/json
< request-id: 1808d9e3-574f-4511-b473-d58d454703b3
< client-request-id: 1808d9e3-574f-4511-b473-d58d454703b3
< x-ms-ags-diagnostic: {"ServerInfo":{"DataCenter":"North Europe","Slice":"SliceC","Ring":"3","ScaleUnit":"002","Host":"AGSFE_IN_6","ADSiteName":"NEU"}}
< Duration: 182.1813
< Strict-Transport-Security: max-age=31536000
< Date: Wed, 11 Jul 2018 04:49:32 GMT
< 
* Connection #1 to host graph.microsoft.com left intact
Uploading file ./EPL-Drive/BACHELIER/Tronc commun/Q3/LFSAB1302 - Chimie/Synthèses/test.txt ...
* Found bundle for host graph.microsoft.com: 0x565157357d30 [can pipeline]
* Re-using existing connection! (#1) with host graph.microsoft.com
* Connected to graph.microsoft.com (20.190.129.99) port 443 (#1)
> POST /v1.0/drives/b!lzW6G6Dza0uU5QdMrrVgXdpquAr0wU1KgC1ahkCNQgmtvhe6gDhNRIdc8e58kzEi/items/01APWDEQ4IWEWVZVCQLVHZD4FGEOLR25WO:/test.txt:/createUploadSession HTTP/1.1
Host: graph.microsoft.com
User-Agent: Phobos-std.net.curl/2.080 (libcurl/7.58.0)
Accept: */*
Content-Type: application/json
Authorization: bearer 

* We are completely uploaded and fine
< HTTP/1.1 404 Not Found
< Cache-Control: private
< Transfer-Encoding: chunked
< Content-Type: application/json
< request-id: 5d6bbbb5-f7a7-4f37-9f1b-55d30ea98514
< client-request-id: 5d6bbbb5-f7a7-4f37-9f1b-55d30ea98514
< x-ms-ags-diagnostic: {"ServerInfo":{"DataCenter":"North Europe","Slice":"SliceC","Ring":"3","ScaleUnit":"002","Host":"AGSFE_IN_6","ADSiteName":"NEU"}}
< Duration: 193.6013
< Strict-Transport-Security: max-age=31536000
< Date: Wed, 11 Jul 2018 04:49:32 GMT
< 
* Connection #1 to host graph.microsoft.com left intact
HTTP request returned status code 404 (Not Found)
{
    "error": {
        "code": "itemNotFound",
        "innerError": {
            "date": "2018-07-11T04:49:33",
            "request-id": "5d6bbbb5-f7a7-4f37-9f1b-55d30ea98514"
        },
        "message": "The resource could not be found."
    }
}
Applying changes of Path ID: 01APWDEQ56Y2GOVW7725BZO354PWSELRRZ
* Found bundle for host graph.microsoft.com: 0x565157357d30 [can pipeline]
* Re-using existing connection! (#1) with host graph.microsoft.com
* Connected to graph.microsoft.com (20.190.129.99) port 443 (#1)
> GET /v1.0/drives/b!lzW6G6Dza0uU5QdMrrVgXdpquAr0wU1KgC1ahkCNQgmtvhe6gDhNRIdc8e58kzEi/items/01APWDEQ56Y2GOVW7725BZO354PWSELRRZ?select=id,name,eTag,cTag,deleted,file,folder,root,fileSystemInfo,remoteItem,parentReference HTTP/1.1
Host: graph.microsoft.com
User-Agent: Phobos-std.net.curl/2.080 (libcurl/7.58.0)
Accept: */*
Authorization: bearer 

< HTTP/1.1 200 OK
< Cache-Control: private
< Transfer-Encoding: chunked
< Content-Type: application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8
< request-id: c535c52f-68e2-484f-b09e-d8d9de3af6b7
< client-request-id: c535c52f-68e2-484f-b09e-d8d9de3af6b7
< x-ms-ags-diagnostic: {"ServerInfo":{"DataCenter":"North Europe","Slice":"SliceC","Ring":"3","ScaleUnit":"002","Host":"AGSFE_IN_6","ADSiteName":"NEU"}}
< OData-Version: 4.0
< Duration: 151.9322
< Strict-Transport-Security: max-age=31536000
< Date: Wed, 11 Jul 2018 04:49:32 GMT
< 
* Connection #1 to host graph.microsoft.com left intact
OneDrive Response: {"@odata.context":"https:\/\/graph.microsoft.com\/v1.0\/$metadata#drives('b%21lzW6G6Dza0uU5QdMrrVgXdpquAr0wU1KgC1ahkCNQgmtvhe6gDhNRIdc8e58kzEi')\/items\/$entity","fileSystemInfo":{"createdDateTime":"2017-08-06T18:15:23Z","lastModifiedDateTime":"2018-07-11T04:40:43Z"},"folder":{"childCount":2},"id":"01APWDEQ56Y2GOVW7725BZO354PWSELRRZ","name":"root","parentReference":{"driveId":"b!lzW6G6Dza0uU5QdMrrVgXdpquAr0wU1KgC1ahkCNQgmtvhe6gDhNRIdc8e58kzEi","driveType":"business"},"root":{}}
* Found bundle for host graph.microsoft.com: 0x565157357d30 [can pipeline]
* Re-using existing connection! (#1) with host graph.microsoft.com
* Connected to graph.microsoft.com (20.190.129.99) port 443 (#1)
> GET /v1.0/drives/b!lzW6G6Dza0uU5QdMrrVgXdpquAr0wU1KgC1ahkCNQgmtvhe6gDhNRIdc8e58kzEi/items/01APWDEQ56Y2GOVW7725BZO354PWSELRRZ/delta?select=id%2cname%2ceTag%2ccTag%2cdeleted%2cfile%2cfolder%2croot%2cfileSystemInfo%2cremoteItem%2cparentReference&token=MzslMjM0OyUyMzE7MztiYTE3YmVhZC0zODgwLTQ0NGQtODc1Yy1mMWVlN2M5MzMxMjI7NjM2NjY4ODEzNDQyMzcwMDAwOzIyMDQ4MzMwNzslMjM7JTIzOyUyMzQ HTTP/1.1
Host: graph.microsoft.com
User-Agent: Phobos-std.net.curl/2.080 (libcurl/7.58.0)
Accept: */*
Authorization: bearer 

< HTTP/1.1 200 OK
< Cache-Control: private
< Transfer-Encoding: chunked
< Content-Type: application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8
< request-id: 751bc85f-45cb-4432-8d9a-d747f1da8b03
< client-request-id: 751bc85f-45cb-4432-8d9a-d747f1da8b03
< x-ms-ags-diagnostic: {"ServerInfo":{"DataCenter":"North Europe","Slice":"SliceC","Ring":"3","ScaleUnit":"002","Host":"AGSFE_IN_6","ADSiteName":"NEU"}}
< OData-Version: 4.0
< Duration: 137.4582
< Strict-Transport-Security: max-age=31536000
< Date: Wed, 11 Jul 2018 04:49:32 GMT
< 
* Connection #1 to host graph.microsoft.com left intact
OneDrive Response: {"@odata.context":"https:\/\/graph.microsoft.com\/v1.0\/$metadata#Collection(driveItem)","@odata.deltaLink":"https:\/\/graph.microsoft.com\/v1.0\/drives\/b!lzW6G6Dza0uU5QdMrrVgXdpquAr0wU1KgC1ahkCNQgmtvhe6gDhNRIdc8e58kzEi\/items\/01APWDEQ56Y2GOVW7725BZO354PWSELRRZ\/delta?select=id%2cname%2ceTag%2ccTag%2cdeleted%2cfile%2cfolder%2croot%2cfileSystemInfo%2cremoteItem%2cparentReference&token=MzslMjM0OyUyMzE7MztiYTE3YmVhZC0zODgwLTQ0NGQtODc1Yy1mMWVlN2M5MzMxMjI7NjM2NjY4ODEzNDQyMzcwMDAwOzIyMDQ4MzMwNzslMjM7JTIzOyUyMzQ","value":[]}
Uploading differences of .
Processing root
Uploading new items of .
* Found bundle for host graph.microsoft.com: 0x565157357d30 [can pipeline]
* Re-using existing connection! (#1) with host graph.microsoft.com
* Connected to graph.microsoft.com (20.190.129.99) port 443 (#1)
> GET /v1.0/me/drive/root:/.%2FEPL-Drive%2FBACHELIER%2FTronc%20commun%2FQ3%2FLFSAB1302%20-%20Chimie%2FSynth%C3%A8ses%2Ftest.txt:/?select=id,name,eTag,cTag,deleted,file,folder,root,fileSystemInfo,remoteItem,parentReference HTTP/1.1
Host: graph.microsoft.com
User-Agent: Phobos-std.net.curl/2.080 (libcurl/7.58.0)
Accept: */*
Authorization: bearer 

< HTTP/1.1 404 Not Found
< Cache-Control: private
< Transfer-Encoding: chunked
< Content-Type: application/json
< request-id: 5c240307-3dd2-470d-a148-36ce92b8acba
< client-request-id: 5c240307-3dd2-470d-a148-36ce92b8acba
< x-ms-ags-diagnostic: {"ServerInfo":{"DataCenter":"North Europe","Slice":"SliceC","Ring":"3","ScaleUnit":"002","Host":"AGSFE_IN_6","ADSiteName":"NEU"}}
< Duration: 167.1387
< Strict-Transport-Security: max-age=31536000
< Date: Wed, 11 Jul 2018 04:49:34 GMT
< 
* Connection #1 to host graph.microsoft.com left intact
Uploading file ./EPL-Drive/BACHELIER/Tronc commun/Q3/LFSAB1302 - Chimie/Synthèses/test.txt ...
* Found bundle for host graph.microsoft.com: 0x565157357d30 [can pipeline]
* Re-using existing connection! (#1) with host graph.microsoft.com
* Connected to graph.microsoft.com (20.190.129.99) port 443 (#1)
> POST /v1.0/drives/b!lzW6G6Dza0uU5QdMrrVgXdpquAr0wU1KgC1ahkCNQgmtvhe6gDhNRIdc8e58kzEi/items/01APWDEQ4IWEWVZVCQLVHZD4FGEOLR25WO:/test.txt:/createUploadSession HTTP/1.1
Host: graph.microsoft.com
User-Agent: Phobos-std.net.curl/2.080 (libcurl/7.58.0)
Accept: */*
Content-Type: application/json
Authorization: bearer 

* We are completely uploaded and fine
< HTTP/1.1 404 Not Found
< Cache-Control: private
< Transfer-Encoding: chunked
< Content-Type: application/json
< request-id: 05a27ee3-7c1f-424f-bbfb-1cb9235a24ee
< client-request-id: 05a27ee3-7c1f-424f-bbfb-1cb9235a24ee
< x-ms-ags-diagnostic: {"ServerInfo":{"DataCenter":"North Europe","Slice":"SliceC","Ring":"3","ScaleUnit":"002","Host":"AGSFE_IN_6","ADSiteName":"NEU"}}
< Duration: 172.5303
< Strict-Transport-Security: max-age=31536000
< Date: Wed, 11 Jul 2018 04:49:34 GMT
< 
* Connection #1 to host graph.microsoft.com left intact
onedrive.OneDriveException@src/onedrive.d(544): HTTP request returned status code 404 (Not Found)
{
    "error": {
        "code": "itemNotFound",
        "innerError": {
            "date": "2018-07-11T04:49:35",
            "request-id": "05a27ee3-7c1f-424f-bbfb-1cb9235a24ee"
        },
        "message": "The resource could not be found."
    }
}
----------------
??:? void onedrive.OneDriveApi.checkHttpCode(ref const(std.json.JSONValue)) [0x553c54d0]
??:? std.json.JSONValue onedrive.OneDriveApi.post!(char).post(const(char)[], const(char)[]) [0x553c5656]
??:? std.json.JSONValue onedrive.OneDriveApi.createUploadSession(const(char)[], const(char)[], const(char)[], const(char)[], std.json.JSONValue) [0x553c41e5]
??:? std.json.JSONValue upload.UploadSession.upload(immutable(char)[], const(char)[], const(char)[], const(char)[], const(char)[]) [0x553d47b7]
??:? void sync.SyncEngine.uploadNewFile(immutable(char)[]) [0x553d2b96]
??:? void sync.SyncEngine.uploadNewItems(immutable(char)[]) [0x553d1f10]
??:? void sync.SyncEngine.uploadNewItems(immutable(char)[]) [0x553d1e07]
??:? void sync.SyncEngine.uploadNewItems(immutable(char)[]) [0x553d1e07]
??:? void sync.SyncEngine.uploadNewItems(immutable(char)[]) [0x553d1e07]
??:? void sync.SyncEngine.uploadNewItems(immutable(char)[]) [0x553d1e07]
??:? void sync.SyncEngine.uploadNewItems(immutable(char)[]) [0x553d1e07]
??:? void sync.SyncEngine.uploadNewItems(immutable(char)[]) [0x553d1e07]
??:? void sync.SyncEngine.uploadNewItems(immutable(char)[]) [0x553d1e07]
??:? void sync.SyncEngine.scanForDifferences(immutable(char)[]) [0x553d0c3d]
??:? void main.performSync(sync.SyncEngine, immutable(char)[], bool, bool, bool) [0x553b5d17]
??:? _Dmain [0x553b56db]

from onedrive.

abraunegg avatar abraunegg commented on July 22, 2024

OK .. you have 2 issues ... lets deal with the non delete item first:

Issue 1: Not remote deleting a file when deleted locally

  1. Touch empty file in ~/OneDrive
  2. Sync
Loading config ...
Using Config Dir: /root/.config/onedrive
Initializing the OneDrive API ...
Opening the item database ...
All operations will be performed in: /root/OneDrive
Initializing the Synchronization Engine ...
Account Type: business
Default Drive ID: <redacted>
Default Root ID: <redacted>
Remaining Free Space: 1099102286153
Fetching details for OneDrive Root
OneDrive Root exists in the database
Applying changes of Path ID: <redacted>
Uploading differences of .
Processing root
The directory has not changed
Uploading new items of .
Uploading file ./test.txt ... done.
Remaining free space: 1099102286153
Applying changes of Path ID: <redacted>
  1. Delete file locally
  2. Sync
Loading config ...
Using Config Dir: /root/.config/onedrive
Initializing the OneDrive API ...
Opening the item database ...
All operations will be performed in: /root/OneDrive
Initializing the Synchronization Engine ...
Account Type: business
Default Drive ID: <redacted>
Default Root ID: <redacted>
Remaining Free Space: 1099102285752
Fetching details for OneDrive Root
OneDrive Root exists in the database
Applying changes of Path ID: <redacted>
Uploading differences of .
Processing root
The directory has not changed
Processing test.txt
The file has been deleted locally
Deleting item from OneDrive: test.txt
Uploading new items of .
Applying changes of Path ID: <redacted>

The file is removed and deleted from OneDrive - validated by logging into OneDrive and seeing drive contents.

Outcome: I cannot reproduce your Issue 1

Issue 2: Unable to upload a folder to OneDrive

And a second bug is as I said: I've synced a few days ago and it appears that the network shut down while it was creating a folder, in my case it's ~/Documents/OnedriveEPL/EPL-Drive/BACHELIER/Tronc commun/Q3/LFSAB1302 - Chimie/Synthèses.
Now all the files I add in this directory generate an 404 error not found. I think this is because a wrong line is written in item.sqlite3, maybe I can try to edit this file... It's too long to regenerate this file because my repo size is 16 Gb.
And if I rename the directory Synthèses by Synthèse (item.sqlite3don't detect this folder, so it creates a new ID for it) , everything works fine, I can add files in this folders, specially the same as in Synthèses...

The suggestion here is to simply delete the items.sqlite3 file and re-run the client. Please dont rename the paths. If there is still an issue, archive the entire ~/Documents/OnedriveEPL/EPL-Drive/BACHELIER/Tronc commun/Q3/LFSAB1302 - Chimie/Synthèses. path and email, or if too big provide a link via email so that I can have something to work with.

Note: In the Skilion code, deleting the items.sqlite3 would cause items to re-upload. This does not happen with this branch as I have put in validation steps to check if the file exists before uploading & if it does, does the hash line up before determining whether to upload / refresh the OneDrive version. You will not have to go through re-uploading 16Gb of data - simply the validation of 16Gb of data.

from onedrive.

MartinBraquet avatar MartinBraquet commented on July 22, 2024

I don't understand, I've removed the items.sqlite3 and resync, and the files don't delete on the web if I delete locally. Also, if I rename a folder and resync, it detects the new folder, creates it on the web and copy all his content, but it doesn't remove the folder with the old name...
And that's the same if I delete on the web, the files aren't deleted locally. So the files are not deleted at all. I could do that a few days ago with a test repo, do you know if I can easily fix the problem by not restarting from scratch?
The issue 2 is fixed because I regenerated the items.sqlite3, so the path is not broken anymore.

from onedrive.

abraunegg avatar abraunegg commented on July 22, 2024

There has to be something 'funky' going on here. What timezone are you in? I am in GMT+10.

Can we schedule a WebEx (I will host it) to work out what is going on here?

from onedrive.

MartinBraquet avatar MartinBraquet commented on July 22, 2024

I'm in GMT+2, yes , that's a good idea.

from onedrive.

abraunegg avatar abraunegg commented on July 22, 2024

Please can you send your contact details to [email protected]

from onedrive.

abraunegg avatar abraunegg commented on July 22, 2024

Update:

Ubuntu / Debian package was still installed (v1.0.1) & was being called rather than the compiled version. This was uninstalled & cleaned up and this resolved the initial issue "The parent item is not in the local database".

The 2nd issue (file not being deleted from OneDrive) still remains however when using v2.0.1, in that under Ubuntu when the local file is deleted - either by the 'File Manager' or terminal shell, the 'onedrive' client simply does not recognise that the file has been deleted locally - it is as if the file never existed in the first place. It is simply skipping over that there is even a file in the database that needs to be removed.

Requested from the user a complete OS & package list to attempt to replicate issue locally.

from onedrive.

abraunegg avatar abraunegg commented on July 22, 2024

Update:

User has resolved issue based on details in email. Issue was compounded by:

  • Old 'onedrive' files / packaged files still hanging around
  • onedrivesdk in ~/.local/lib/python3.6/site-packages
  • files from onedrived
  • service files in other places

Once entire system was cleaned up with all legacy files, restarted from scratch by re-downloading v2.0.1 and now it works properly both on onedrive personal & onedrive business

from onedrive.

MartinBraquet avatar MartinBraquet commented on July 22, 2024

If the previous version (from Skillion) was installed at the beginning, it can still remain an old file named onedrive in /usr/bin or /usr/local/bin which causes interferences with this new version of code.

from onedrive.

lock avatar lock commented on July 22, 2024

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

from onedrive.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.