GithubHelp home page GithubHelp logo

Comments (16)

abraunegg avatar abraunegg commented on May 12, 2024

Can you please clarify what you mean by the following:

go offline, rename not empty folder and go online

What does offline / online mean in your context?

  1. Disable ethernet port, re-enable ethernet port
  2. Stop 'onedrive' if running in monitor mode
  3. Run 'onedrive' stand alone sync & let it finish, make folder change, run 'onedrive' again

Please can you clarify your reproduction steps

from onedrive.

turekm avatar turekm commented on May 12, 2024
  1. onedrive -m -v #running fine
  2. go offline -> kill onedrive -m -v
  3. rename (or move) a directory with files and subdirectories in onedrive "offline" folder on the disk
  4. go online -> start onedrive -m -v

from onedrive.

turekm avatar turekm commented on May 12, 2024

also i noticed that this error is possible generate online (running onedrive -m -v)

just delete directory which is not empty (subdirs and files are inside) and i get the same

Deleting item from OneDrive: projects/sb/conf_desc_yang_can_be_deleted
onedrive.OneDriveException@src/onedrive.d(544): HTTP request returned status code 403 (Forbidden)
{
    "error": {
        "code": "accessDenied",
        "innerError": {
            "date": "2018-07-05T08:54:14",
            "request-id": "66bc9017-32ff-4a6e-8bda-3e41e7d5f45c"
        },
        "message": "Request was cancelled by event received. If attempting to delete a non-empty folder, it's possible that it's on hold"
    }
}
----------------
src/onedrive.d:33 void onedrive.OneDriveApi.checkHttpCode(ref const(std.json.JSONValue)) [0x5a17dc]
src/onedrive.d:327 void onedrive.OneDriveApi.del(const(char)[]) [0x5a0da3]
src/onedrive.d:167 void onedrive.OneDriveApi.deleteById(const(char)[], const(char)[], const(char)[]) [0x59ff3a]
src/sync.d:1212 void sync.SyncEngine.uploadDeleteItem(itemdb.Item, immutable(char)[]) [0x5aee1f]
src/sync.d:783 void sync.SyncEngine.uploadDirDifferences(itemdb.Item, immutable(char)[]) [0x5aca8c]
src/sync.d:755 void sync.SyncEngine.uploadDifferences(itemdb.Item) [0x5ac849]
src/sync.d:778 void sync.SyncEngine.uploadDirDifferences(itemdb.Item, immutable(char)[]) [0x5aca39]
src/sync.d:755 void sync.SyncEngine.uploadDifferences(itemdb.Item) [0x5ac849]
src/sync.d:778 void sync.SyncEngine.uploadDirDifferences(itemdb.Item, immutable(char)[]) [0x5aca39]
src/sync.d:755 void sync.SyncEngine.uploadDifferences(itemdb.Item) [0x5ac849]
src/sync.d:778 void sync.SyncEngine.uploadDirDifferences(itemdb.Item, immutable(char)[]) [0x5aca39]
src/sync.d:755 void sync.SyncEngine.uploadDifferences(itemdb.Item) [0x5ac849]
src/sync.d:718 void sync.SyncEngine.scanForDifferences(immutable(char)[]) [0x5ac679]
src/main.d:353 void main.performSync(sync.SyncEngine, immutable(char)[], bool, bool, bool) [0x592023]
src/main.d:294 _Dmain [0x591b36]

from onedrive.

abraunegg avatar abraunegg commented on May 12, 2024

I am unable to replicate this issue when creating and deleting objects locally:

  1. Start 'onedrive' in monitor mode onedrive --monitor --verbose
  2. Create a directory 'testdir' on local system
  3. Create a file in 'testdir'
  4. Watch sync occur
  5. Remove 'testdir' locally via rm -rf
  6. Watch sync occur & deletion of 'testdir' from OneDrive
2018-Jul-05 19:37:09.6201629 Loading config ...
2018-Jul-05 19:37:09.6203979 Using Config Dir: /root/.config/onedrive
2018-Jul-05 19:37:09.620678 No config file found, using defaults
2018-Jul-05 19:37:09.6207601 Initializing the OneDrive API ...
2018-Jul-05 19:37:09.9923515 Opening the item database ...
2018-Jul-05 19:37:09.9951858 All operations will be performed in: /root/OneDrive
2018-Jul-05 19:37:09.9955015 Initializing the Synchronization Engine ...
2018-Jul-05 19:37:11.4402764 Account Type: business
2018-Jul-05 19:37:11.4407102 Default Drive ID: <redacted>
2018-Jul-05 19:37:11.4408624 Default Root ID: <redacted>
2018-Jul-05 19:37:11.441002 Remaining Free Space: 1099508983587
2018-Jul-05 19:37:11.4411236 Fetching details for OneDrive Root
2018-Jul-05 19:37:11.6788771 OneDrive Root exists in the database
2018-Jul-05 19:37:11.6791527 Initializing monitor ...
2018-Jul-05 19:37:11.6793932 Monitor directory: .
2018-Jul-05 19:37:56.9595473 Applying changes of Path ID: <redacted>
2018-Jul-05 19:37:57.478891 Uploading differences of .
2018-Jul-05 19:37:57.4793679 Processing root
2018-Jul-05 19:37:57.4798239 The directory has not changed
2018-Jul-05 19:37:57.4800073 Uploading new items of .
2018-Jul-05 19:37:57.4803844 Applying changes of Path ID: <redacted>
2018-Jul-05 19:38:42.0483909 Applying changes of Path ID: <redacted>
2018-Jul-05 19:38:42.4778472 Uploading differences of .
2018-Jul-05 19:38:42.4780483 Processing root
2018-Jul-05 19:38:42.4782223 The directory has not changed
2018-Jul-05 19:38:42.4783019 Uploading new items of .
2018-Jul-05 19:38:42.47847 Applying changes of Path ID: <redacted>
2018-Jul-05 19:38:51.7137762 Monitor directory: ./testdir
2018-Jul-05 19:38:51.7148149 [M] Directory created: ./testdir
2018-Jul-05 19:38:51.7149583 Uploading differences of ./testdir
2018-Jul-05 19:38:51.7153583 Uploading new items of ./testdir
2018-Jul-05 19:38:51.7159056 OneDrive Client requested to create remote path: ./testdir
2018-Jul-05 19:38:52.1642713 The requested directory to create was not found on OneDrive - creating remote directory: ./testdir
2018-Jul-05 19:38:52.4912587 Successfully created the remote directory ./testdir on OneDrive
2018-Jul-05 19:38:53.4437033 Uploading fragment: 0-9/9
2018-Jul-05 19:38:54.6001332 Uploading file ./testdir/1.txt ... done.
2018-Jul-05 19:38:54.6043656 Remaining free space: 1099508983578
2018-Jul-05 19:39:08.4851214 [M] Item deleted: testdir/1.txt
2018-Jul-05 19:39:08.4857323 Deleting item from OneDrive: testdir/1.txt
2018-Jul-05 19:39:08.740995 [M] Item deleted: ./testdir
2018-Jul-05 19:39:08.7415303 Deleting item from OneDrive: ./testdir
2018-Jul-05 19:39:27.0789837 Applying changes of Path ID: <redacted>
2018-Jul-05 19:39:27.9065144 This item is marked for deletion:
2018-Jul-05 19:39:27.90956 Uploading differences of .
2018-Jul-05 19:39:27.9104018 Processing root
2018-Jul-05 19:39:27.9115647 The directory has not changed
2018-Jul-05 19:39:27.9119394 Uploading new items of .
2018-Jul-05 19:39:27.9128763 Applying changes of Path ID: <redacted>

from onedrive.

abraunegg avatar abraunegg commented on May 12, 2024

I am unable to replicate this issue when creating and deleting objects via OneDrive:

  1. Start 'onedrive' in monitor mode onedrive --monitor --verbose
  2. Create a directory 'mydir' on OneDrive web interface
  3. Create a file in 'mydir'
  4. Watch sync occur
  5. Remove 'mydir' via OneDrive web interface
  6. Watch sync occur & deletion of 'mydir' from OneDrive
2018-Jul-05 19:46:58.3339735 Applying changes of Path ID: <redacted>
2018-Jul-05 19:46:58.7130621 Monitor directory: ./mydir
2018-Jul-05 19:47:42.7470956 Applying changes of Path ID: <redacted>
2018-Jul-05 19:47:43.6572939 Downloading mydir/Document.docx... done.
2018-Jul-05 19:47:43.6606965 Uploading differences of .
2018-Jul-05 19:47:43.661181 Processing root
2018-Jul-05 19:47:43.6615621 The directory has not changed
2018-Jul-05 19:47:43.6617444 Processing mydir
2018-Jul-05 19:47:43.662205 The directory has not changed
2018-Jul-05 19:47:43.6623174 Processing Document.docx
2018-Jul-05 19:47:43.6626849 The file has not changed
2018-Jul-05 19:47:43.6627756 Uploading new items of .
2018-Jul-05 19:47:43.6637151 Applying changes of Path ID: <redacted>
2018-Jul-05 19:48:05.8604 [M] Item deleted: mydir/Document.docx
2018-Jul-05 19:48:05.8612539 Deleting item from OneDrive: mydir/Document.docx
2018-Jul-05 19:48:06.0845806 [M] Item deleted: ./mydir
2018-Jul-05 19:48:06.0853576 Deleting item from OneDrive: ./mydir
2018-Jul-05 19:48:27.8592175 Applying changes of Path ID: <redacted>
2018-Jul-05 19:48:28.3804521 This item is marked for deletion:
2018-Jul-05 19:48:28.3836897 Uploading differences of .
2018-Jul-05 19:48:28.3844812 Processing root
2018-Jul-05 19:48:28.3850266 The directory has not changed
2018-Jul-05 19:48:28.3852379 Uploading new items of .
2018-Jul-05 19:48:28.3857781 Applying changes of Path ID: <redacted>

from onedrive.

abraunegg avatar abraunegg commented on May 12, 2024

I am unable to replicate this issue when renaming a directory:

  1. Start 'onedrive' in monitor mode onedrive --monitor --verbose
  2. Create a directory 'mydir2' on local system
  3. Create a file in 'mydir2'
  4. Watch sync occur
  5. Rename 'mydir2' to 'mydir-renamed'
  6. Watch sync occur & rename occur without issue
2018-Jul-05 19:53:50.170172 Monitor directory: ./mydir2
2018-Jul-05 19:53:50.170575 [M] Directory created: ./mydir2
2018-Jul-05 19:53:50.1706446 Uploading differences of ./mydir2
2018-Jul-05 19:53:50.1708766 Uploading new items of ./mydir2
2018-Jul-05 19:53:50.1711106 OneDrive Client requested to create remote path: ./mydir2
2018-Jul-05 19:53:50.6001259 The requested directory to create was not found on OneDrive - creating remote directory: ./mydir2
2018-Jul-05 19:53:50.92991 Successfully created the remote directory ./mydir2 on OneDrive
2018-Jul-05 19:53:56.5557366 [M] File changed: mydir2/.test.txt.swx
2018-Jul-05 19:53:56.555858 Uploading differences of mydir2/.test.txt.swx
2018-Jul-05 19:53:56.5560193 Uploading new items of mydir2/.test.txt.swx
2018-Jul-05 19:53:56.5633634 mydir2/.test.txt.swx: No such file or directory
2018-Jul-05 19:53:56.5634832 [M] Item deleted: mydir2/.test.txt.swx
2018-Jul-05 19:53:56.5636414 The item to delete is not in the local database
2018-Jul-05 19:53:56.5636881 [M] File changed: mydir2/.test.txt.swp
2018-Jul-05 19:53:56.5637236 Uploading differences of mydir2/.test.txt.swp
2018-Jul-05 19:53:56.5638139 Uploading new items of mydir2/.test.txt.swp
2018-Jul-05 19:53:57.3497467 Uploading fragment: 0-4096/4096
2018-Jul-05 19:53:58.5320384 Uploading file mydir2/.test.txt.swp ... done.
2018-Jul-05 19:53:58.5361509 Remaining free space: 1099508979482
2018-Jul-05 19:53:58.5363409 [M] Item deleted: mydir2/.test.txt.swp
2018-Jul-05 19:53:58.5366537 Deleting item from OneDrive: mydir2/.test.txt.swp
2018-Jul-05 19:53:59.7573374 [M] File changed: mydir2/test.txt
2018-Jul-05 19:53:59.7576107 Uploading differences of mydir2/test.txt
2018-Jul-05 19:53:59.7584324 Uploading new items of mydir2/test.txt
2018-Jul-05 19:54:00.3926676 Uploading fragment: 0-9/9
2018-Jul-05 19:54:01.2451088 Uploading file mydir2/test.txt ... done.
2018-Jul-05 19:54:01.2496909 Remaining free space: 1099508979473
2018-Jul-05 19:54:01.2499719 [M] File changed: mydir2/.test.txt.swp
2018-Jul-05 19:54:01.2502724 Uploading differences of mydir2/.test.txt.swp
2018-Jul-05 19:54:01.2507827 Uploading new items of mydir2/.test.txt.swp
2018-Jul-05 19:54:01.2512412 mydir2/.test.txt.swp: No such file or directory
2018-Jul-05 19:54:01.2514005 [M] Item deleted: mydir2/.test.txt.swp
2018-Jul-05 19:54:01.2519531 The item to delete is not in the local database
2018-Jul-05 19:54:28.4930344 Applying changes of Path ID: <redacted>
2018-Jul-05 19:54:29.0041517 This item is marked for deletion:
2018-Jul-05 19:54:29.0105226 Uploading differences of .
2018-Jul-05 19:54:29.0112838 Processing root
2018-Jul-05 19:54:29.0118156 The directory has not changed
2018-Jul-05 19:54:29.0124161 Processing mydir2
2018-Jul-05 19:54:29.0132018 The directory has not changed
2018-Jul-05 19:54:29.0134971 Processing test.txt
2018-Jul-05 19:54:29.0141289 The file has not changed
2018-Jul-05 19:54:29.0143292 Uploading new items of .
2018-Jul-05 19:54:29.0155964 Applying changes of Path ID: <redacted>
2018-Jul-05 19:54:45.5054214 Monitor directory: ./mydir-renamed
2018-Jul-05 19:54:45.5061809 [M] Item moved: ./mydir2 -> ./mydir-renamed
2018-Jul-05 19:54:45.5064109 Moving ./mydir2 to ./mydir-renamed

from onedrive.

turekm avatar turekm commented on May 12, 2024

i created a directory and few files inside and few directories ... i started onedrive -m -v and i moved directory inside some folder on onedrive, after i added one fine and after i deleted it ... onedrive crashed

i little bit filtrated the output ... but let me do some unique one ... moment

Monitor directory: projects/DTAG/0705-nemamcas - Copy/forONEdrive
Monitor directory: projects/DTAG/0705-nemamcas - Copy/forONEdrive/test1
Monitor directory: projects/DTAG/0705-nemamcas - Copy/forONEdrive/testDIR5
Monitor directory: projects/DTAG/0705-nemamcas - Copy/forONEdrive/test3
Monitor directory: projects/DTAG/0705-nemamcas - Copy/forONEdrive/test5
Monitor directory: projects/DTAG/0705-nemamcas - Copy/forONEdrive/testDIR1
Monitor directory: projects/DTAG/0705-nemamcas - Copy/forONEdrive/testDIR{1-5}
[M] Directory created: projects/DTAG/0705-nemamcas - Copy/forONEdrive
Uploading differences of projects/DTAG/0705-nemamcas - Copy/forONEdrive
Uploading new items of projects/DTAG/0705-nemamcas - Copy/forONEdrive
OneDrive Client requested to create remote path: projects/DTAG/0705-nemamcas - Copy/forONEdrive
The requested directory to create was not found on OneDrive - creating remote directory: projects/DTAG/0705-nemamcas - Copy/forONEdrive
Successfully created the remote directory projects/DTAG/0705-nemamcas - Copy/forONEdrive on OneDrive
OneDrive Client requested to create remote path: projects/DTAG/0705-nemamcas - Copy/forONEdrive/test1
The requested directory to create was not found on OneDrive - creating remote directory: projects/DTAG/0705-nemamcas - Copy/forONEdrive/test1
Successfully created the remote directory projects/DTAG/0705-nemamcas - Copy/forONEdrive/test1 on OneDrive
OneDrive Client requested to create remote path: projects/DTAG/0705-nemamcas - Copy/forONEdrive/testDIR5
The requested directory to create was not found on OneDrive - creating remote directory: projects/DTAG/0705-nemamcas - Copy/forONEdrive/testDIR5
Successfully created the remote directory projects/DTAG/0705-nemamcas - Copy/forONEdrive/testDIR5 on OneDrive
OneDrive Client requested to create remote path: projects/DTAG/0705-nemamcas - Copy/forONEdrive/test3
The requested directory to create was not found on OneDrive - creating remote directory: projects/DTAG/0705-nemamcas - Copy/forONEdrive/test3
Successfully created the remote directory projects/DTAG/0705-nemamcas - Copy/forONEdrive/test3 on OneDrive
Uploading file projects/DTAG/0705-nemamcas - Copy/forONEdrive/test{1-5} ... done.
Remaining free space: 1073987092147
OneDrive Client requested to create remote path: projects/DTAG/0705-nemamcas - Copy/forONEdrive/test5
The requested directory to create was not found on OneDrive - creating remote directory: projects/DTAG/0705-nemamcas - Copy/forONEdrive/test5
Successfully created the remote directory projects/DTAG/0705-nemamcas - Copy/forONEdrive/test5 on OneDrive
OneDrive Client requested to create remote path: projects/DTAG/0705-nemamcas - Copy/forONEdrive/testDIR1
The requested directory to create was not found on OneDrive - creating remote directory: projects/DTAG/0705-nemamcas - Copy/forONEdrive/testDIR1
Successfully created the remote directory projects/DTAG/0705-nemamcas - Copy/forONEdrive/testDIR1 on OneDrive
Uploading file projects/DTAG/0705-nemamcas - Copy/forONEdrive/testDIR1/test1 ... done.
Remaining free space: 1073987092147
Uploading file projects/DTAG/0705-nemamcas - Copy/forONEdrive/testDIR1/test3 ... done.
Remaining free space: 1073987092147
Uploading file projects/DTAG/0705-nemamcas - Copy/forONEdrive/testDIR1/test5 ... done.
Remaining free space: 1073987092147
OneDrive Client requested to create remote path: projects/DTAG/0705-nemamcas - Copy/forONEdrive/testDIR{1-5}
The requested directory to create was not found on OneDrive - creating remote directory: projects/DTAG/0705-nemamcas - Copy/forONEdrive/testDIR{1-5}
Successfully created the remote directory projects/DTAG/0705-nemamcas - Copy/forONEdrive/testDIR{1-5} on OneDrive
Applying changes of Path ID: 01TJHOZ2N6Y2GOVW7725BZO354PWSELRRZ
Processing forONEdrive
The directory has not changed
[M] File changed: projects/DTAG/0705-nemamcas - Copy/forONEdrive/Text File.txt
Uploading differences of projects/DTAG/0705-nemamcas - Copy/forONEdrive/Text File.txt
Uploading new items of projects/DTAG/0705-nemamcas - Copy/forONEdrive/Text File.txt
Uploading file projects/DTAG/0705-nemamcas - Copy/forONEdrive/Text File.txt ... done.
Remaining free space: 1073987092147
[M] File changed: projects/DTAG/0705-nemamcas - Copy/forONEdrive/Text File.txt
Uploading differences of projects/DTAG/0705-nemamcas - Copy/forONEdrive/Text File.txt
Processing Text File.txt
The file has not changed
Uploading new items of projects/DTAG/0705-nemamcas - Copy/forONEdrive/Text File.txt
Applying changes of Path ID: 01TJHOZ2N6Y2GOVW7725BZO354PWSELRRZ
Processing forONEdrive
The directory has not changed
Processing forONEdrive
The directory has been deleted
Deleting item from OneDrive: projects/DTAG/0705-nemamcas - Copy/forONEdrive
HTTP request returned status code 403 (Forbidden)
{
    "error": {
        "code": "accessDenied",
        "innerError": {
            "date": "2018-07-05T10:05:57",
            "request-id": "be04d36a-ba64-48a5-b9ab-cf5a6fa0ae6d"
        },
        "message": "Request was cancelled by event received. If attempting to delete a non-empty folder, it's possible that it's on hold"
    }
}
Applying changes of Path ID: 01TJHOZ2N6Y2GOVW7725BZO354PWSELRRZ
Processing forONEdrive
The directory has been deleted
Deleting item from OneDrive: projects/DTAG/0705-nemamcas - Copy/forONEdrive
HTTP request returned status code 403 (Forbidden)
{
    "error": {
        "code": "accessDenied",
        "innerError": {
            "date": "2018-07-05T10:05:59",
            "request-id": "a033af4f-f0cf-4a3b-89a8-15e6e6801e1e"
        },
        "message": "Request was cancelled by event received. If attempting to delete a non-empty folder, it's possible that it's on hold"
    }
}
Applying changes of Path ID: 01TJHOZ2N6Y2GOVW7725BZO354PWSELRRZ
The directory has been deleted
Deleting item from OneDrive: projects/DTAG/0705-nemamcas - Copy/forONEdrive
onedrive.OneDriveException@src/onedrive.d(544): HTTP request returned status code 403 (Forbidden)
{
    "error": {
        "code": "accessDenied",
        "innerError": {
            "date": "2018-07-05T10:06:01",
            "request-id": "e6743f85-f1c3-465c-97b9-a0e7fff3f9a4"
        },
        "message": "Request was cancelled by event received. If attempting to delete a non-empty folder, it's possible that it's on hold"
    }
}
----------------
src/onedrive.d:33 void onedrive.OneDriveApi.checkHttpCode(ref const(std.json.JSONValue)) [0x5a17dc]
src/onedrive.d:327 void onedrive.OneDriveApi.del(const(char)[]) [0x5a0da3]
src/onedrive.d:167 void onedrive.OneDriveApi.deleteById(const(char)[], const(char)[], const(char)[]) [0x59ff3a]
src/sync.d:1212 void sync.SyncEngine.uploadDeleteItem(itemdb.Item, immutable(char)[]) [0x5aee1f]
src/sync.d:783 void sync.SyncEngine.uploadDirDifferences(itemdb.Item, immutable(char)[]) [0x5aca8c]
src/sync.d:755 void sync.SyncEngine.uploadDifferences(itemdb.Item) [0x5ac849]
src/sync.d:778 void sync.SyncEngine.uploadDirDifferences(itemdb.Item, immutable(char)[]) [0x5aca39]
src/sync.d:755 void sync.SyncEngine.uploadDifferences(itemdb.Item) [0x5ac849]
src/sync.d:778 void sync.SyncEngine.uploadDirDifferences(itemdb.Item, immutable(char)[]) [0x5aca39]
src/sync.d:755 void sync.SyncEngine.uploadDifferences(itemdb.Item) [0x5ac849]
src/sync.d:778 void sync.SyncEngine.uploadDirDifferences(itemdb.Item, immutable(char)[]) [0x5aca39]
src/sync.d:755 void sync.SyncEngine.uploadDifferences(itemdb.Item) [0x5ac849]
src/sync.d:778 void sync.SyncEngine.uploadDirDifferences(itemdb.Item, immutable(char)[]) [0x5aca39]
src/sync.d:755 void sync.SyncEngine.uploadDifferences(itemdb.Item) [0x5ac849]
src/sync.d:718 void sync.SyncEngine.scanForDifferences(immutable(char)[]) [0x5ac679]
src/main.d:353 void main.performSync(sync.SyncEngine, immutable(char)[], bool, bool, bool) [0x592023]
src/main.d:294 _Dmain [0x591b36]

from onedrive.

turekm avatar turekm commented on May 12, 2024

another test ... maybe try to also subdirectories ... or let it be, i will use windows onedrive for renaming and deleting...

note: i am using onedrive from office365 (maybe it can have some "impact")

Processing asdf
The directory has not changed
Monitor directory: 1can_be_deleted/asdf/asdddd
[M] Directory created: 1can_be_deleted/asdf/asdddd
Uploading differences of 1can_be_deleted/asdf/asdddd
Uploading new items of 1can_be_deleted/asdf/asdddd
OneDrive Client requested to create remote path: 1can_be_deleted/asdf/asdddd
The requested directory to create was not found on OneDrive - creating remote directory: 1can_be_deleted/asdf/asdddd
Successfully created the remote directory 1can_be_deleted/asdf/asdddd on OneDrive
Monitor directory: 1can_be_deleted/asdf/asdddd/abraunegg
Monitor directory: 1can_be_deleted/asdf/asdddd/abraunegg/directory_abraunegg2
Monitor directory: 1can_be_deleted/asdf/asdddd/abraunegg/directory_abraunegg3
Monitor directory: 1can_be_deleted/asdf/asdddd/abraunegg/directory_abraunegg1
[M] Directory created: 1can_be_deleted/asdf/asdddd/abraunegg
Uploading differences of 1can_be_deleted/asdf/asdddd/abraunegg
Uploading new items of 1can_be_deleted/asdf/asdddd/abraunegg
OneDrive Client requested to create remote path: 1can_be_deleted/asdf/asdddd/abraunegg
The requested directory to create was not found on OneDrive - creating remote directory: 1can_be_deleted/asdf/asdddd/abraunegg
Successfully created the remote directory 1can_be_deleted/asdf/asdddd/abraunegg on OneDrive
OneDrive Client requested to create remote path: 1can_be_deleted/asdf/asdddd/abraunegg/directory_abraunegg2
The requested directory to create was not found on OneDrive - creating remote directory: 1can_be_deleted/asdf/asdddd/abraunegg/directory_abraunegg2
Successfully created the remote directory 1can_be_deleted/asdf/asdddd/abraunegg/directory_abraunegg2 on OneDrive
Uploading file 1can_be_deleted/asdf/asdddd/abraunegg/directory_abraunegg2/file_abraunegg7 ... done.
Remaining free space: 1073974467376
Uploading file 1can_be_deleted/asdf/asdddd/abraunegg/directory_abraunegg2/file_abraunegg6 ... done.
Remaining free space: 1073974467376
Uploading file 1can_be_deleted/asdf/asdddd/abraunegg/directory_abraunegg2/file_abraunegg5 ... done.
Remaining free space: 1073974467376
OneDrive Client requested to create remote path: 1can_be_deleted/asdf/asdddd/abraunegg/directory_abraunegg5
The requested directory to create was not found on OneDrive - creating remote directory: 1can_be_deleted/asdf/asdddd/abraunegg/directory_abraunegg5
Successfully created the remote directory 1can_be_deleted/asdf/asdddd/abraunegg/directory_abraunegg5 on OneDrive
Uploading file 1can_be_deleted/asdf/asdddd/abraunegg/directory_abraunegg5/file_abraunegg7 ... done.
Remaining free space: 1073974467376
Uploading file 1can_be_deleted/asdf/asdddd/abraunegg/directory_abraunegg5/file_abraunegg6 ... done.
Remaining free space: 1073974467376
Uploading file 1can_be_deleted/asdf/asdddd/abraunegg/directory_abraunegg5/file_abraunegg5 ... done.
Remaining free space: 1073974467376
OneDrive Client requested to create remote path: 1can_be_deleted/asdf/asdddd/abraunegg/directory_abraunegg4
The requested directory to create was not found on OneDrive - creating remote directory: 1can_be_deleted/asdf/asdddd/abraunegg/directory_abraunegg4
Successfully created the remote directory 1can_be_deleted/asdf/asdddd/abraunegg/directory_abraunegg4 on OneDrive
Uploading file 1can_be_deleted/asdf/asdddd/abraunegg/directory_abraunegg4/file_abraunegg7 ... done.
Remaining free space: 1073974467376
Uploading file 1can_be_deleted/asdf/asdddd/abraunegg/directory_abraunegg4/file_abraunegg6 ... done.
Remaining free space: 1073974467376
Uploading file 1can_be_deleted/asdf/asdddd/abraunegg/directory_abraunegg4/file_abraunegg5 ... done.
Remaining free space: 1073974467376
OneDrive Client requested to create remote path: 1can_be_deleted/asdf/asdddd/abraunegg/directory_abraunegg3
The requested directory to create was not found on OneDrive - creating remote directory: 1can_be_deleted/asdf/asdddd/abraunegg/directory_abraunegg3
Successfully created the remote directory 1can_be_deleted/asdf/asdddd/abraunegg/directory_abraunegg3 on OneDrive
Uploading file 1can_be_deleted/asdf/asdddd/abraunegg/directory_abraunegg3/file_abraunegg7 ... done.
Remaining free space: 1073974467376
Uploading file 1can_be_deleted/asdf/asdddd/abraunegg/directory_abraunegg3/file_abraunegg6 ... done.
Remaining free space: 1073974467376
Uploading file 1can_be_deleted/asdf/asdddd/abraunegg/directory_abraunegg3/file_abraunegg5 ... done.
Remaining free space: 1073974467376
Uploading file 1can_be_deleted/asdf/asdddd/abraunegg/file_abraunegg7 ... done.
Remaining free space: 1073974467376
Uploading file 1can_be_deleted/asdf/asdddd/abraunegg/file_abraunegg6 ... done.
Remaining free space: 1073974467376
OneDrive Client requested to create remote path: 1can_be_deleted/asdf/asdddd/abraunegg/directory_abraunegg1
The requested directory to create was not found on OneDrive - creating remote directory: 1can_be_deleted/asdf/asdddd/abraunegg/directory_abraunegg1
Successfully created the remote directory 1can_be_deleted/asdf/asdddd/abraunegg/directory_abraunegg1 on OneDrive
Uploading file 1can_be_deleted/asdf/asdddd/abraunegg/directory_abraunegg1/file_abraunegg7 ... done.
Remaining free space: 1073974467376
Uploading file 1can_be_deleted/asdf/asdddd/abraunegg/directory_abraunegg1/file_abraunegg6 ... done.
Remaining free space: 1073974467376
Uploading file 1can_be_deleted/asdf/asdddd/abraunegg/directory_abraunegg1/file_abraunegg5 ... done.
Remaining free space: 1073974467376
Uploading file 1can_be_deleted/asdf/asdddd/abraunegg/file_abraunegg5 ... done.
Remaining free space: 1073974467376
Monitor directory: 1can_be_deleted/asdf/asdddd/abraunegg/directory_abraunegg3
[M] Directory created: 1can_be_deleted/asdf/asdddd/abraunegg/directory_abraunegg3
Uploading differences of 1can_be_deleted/asdf/asdddd/abraunegg/directory_abraunegg3
Processing directory_abraunegg3
The directory has not changed
Processing file_abraunegg6
The file has not changed
Processing file_abraunegg7
The file has not changed
Processing file_abraunegg5
The file has not changed
Uploading new items of 1can_be_deleted/asdf/asdddd/abraunegg/directory_abraunegg3
[M] File changed: 1can_be_deleted/asdf/asdddd/abraunegg/directory_abraunegg3/file_abraunegg6
Uploading differences of 1can_be_deleted/asdf/asdddd/abraunegg/directory_abraunegg3/file_abraunegg6
Processing file_abraunegg6
The file has not changed
Uploading new items of 1can_be_deleted/asdf/asdddd/abraunegg/directory_abraunegg3/file_abraunegg6
[M] File changed: 1can_be_deleted/asdf/asdddd/abraunegg/directory_abraunegg3/file_abraunegg6
Uploading differences of 1can_be_deleted/asdf/asdddd/abraunegg/directory_abraunegg3/file_abraunegg6
Processing file_abraunegg6
The file has not changed
Uploading new items of 1can_be_deleted/asdf/asdddd/abraunegg/directory_abraunegg3/file_abraunegg6
[M] File changed: 1can_be_deleted/asdf/asdddd/abraunegg/directory_abraunegg3/file_abraunegg7
Uploading differences of 1can_be_deleted/asdf/asdddd/abraunegg/directory_abraunegg3/file_abraunegg7
Processing file_abraunegg7
The file has not changed
Uploading new items of 1can_be_deleted/asdf/asdddd/abraunegg/directory_abraunegg3/file_abraunegg7
[M] File changed: 1can_be_deleted/asdf/asdddd/abraunegg/directory_abraunegg3/file_abraunegg7
Uploading differences of 1can_be_deleted/asdf/asdddd/abraunegg/directory_abraunegg3/file_abraunegg7
Processing file_abraunegg7
The file has not changed
Uploading new items of 1can_be_deleted/asdf/asdddd/abraunegg/directory_abraunegg3/file_abraunegg7
Monitor directory: 1can_be_deleted/asdf/asdddd/abraunegg/directory_abraunegg4
[M] Directory created: 1can_be_deleted/asdf/asdddd/abraunegg/directory_abraunegg4
Uploading differences of 1can_be_deleted/asdf/asdddd/abraunegg/directory_abraunegg4
Processing directory_abraunegg4
The directory has not changed
Processing file_abraunegg5
The file has not changed
Processing file_abraunegg7
The file has not changed
Processing file_abraunegg6
The file has not changed
Uploading new items of 1can_be_deleted/asdf/asdddd/abraunegg/directory_abraunegg4
Monitor directory: 1can_be_deleted/asdf/asdddd/abraunegg/directory_abraunegg5
[M] Directory created: 1can_be_deleted/asdf/asdddd/abraunegg/directory_abraunegg5
Uploading differences of 1can_be_deleted/asdf/asdddd/abraunegg/directory_abraunegg5
Processing directory_abraunegg5
The directory has not changed
Processing file_abraunegg6
The file has not changed
Processing file_abraunegg7
The file has not changed
Processing file_abraunegg5
The file has not changed
Uploading new items of 1can_be_deleted/asdf/asdddd/abraunegg/directory_abraunegg5
Applying changes of Path ID: 01TJHOZ2N6Y2GOVW7725BZO354PWSELRRZ
Uploading differences of .
Processing root
Processing asdf
The directory has not changed
Processing asdddd
The directory has not changed
Processing abraunegg
The directory has not changed
Processing directory_abraunegg4
The directory has not changed
Processing file_abraunegg5
The file has not changed
Processing file_abraunegg7
The file has not changed
Processing file_abraunegg6
The file has not changed
Processing directory_abraunegg5
The directory has not changed
Processing file_abraunegg6
The file has not changed
Processing file_abraunegg7
The file has not changed
Processing file_abraunegg5
The file has not changed
Processing file_abraunegg5
The file has not changed
Processing directory_abraunegg3
The directory has not changed
Processing file_abraunegg6
The file has not changed
Processing file_abraunegg7
The file has not changed
Processing file_abraunegg5
The file has not changed
Processing file_abraunegg6
The file has not changed
Processing file_abraunegg7
The file has not changed
Processing directory_abraunegg2
The directory has not changed
Processing file_abraunegg6
The file has not changed
Processing file_abraunegg7
The file has not changed
Processing file_abraunegg5
The file has not changed
Processing directory_abraunegg1
The directory has not changed
Processing file_abraunegg6
The file has not changed
Processing file_abraunegg7
The file has not changed
Processing file_abraunegg5
The file has not changed
Processing asdf
The directory has been deleted
Deleting item from OneDrive: 1can_be_deleted/asdf
HTTP request returned status code 403 (Forbidden)
{
    "error": {
        "code": "accessDenied",
        "innerError": {
            "date": "2018-07-05T10:58:07",
            "request-id": "89ea4b10-5296-4f87-95d5-74a7cbf10eec"
        },
        "message": "Request was cancelled by event received. If attempting to delete a non-empty folder, it's possible that it's on hold"
    }
}
Applying changes of Path ID: 01TJHOZ2N6Y2GOVW7725BZO354PWSELRRZ
Processing asdf
The directory has been deleted
Deleting item from OneDrive: 1can_be_deleted/asdf
HTTP request returned status code 403 (Forbidden)
{
    "error": {
        "code": "accessDenied",
        "innerError": {
            "date": "2018-07-05T10:58:07",
            "request-id": "89ea4b10-5296-4f87-95d5-74a7cbf10eec"
        },
        "message": "Request was cancelled by event received. If attempting to delete a non-empty folder, it's possible that it's on hold"
    }
}
Applying changes of Path ID: 01TJHOZ2N6Y2GOVW7725BZO354PWSELRRZ
Processing asdf
The directory has been deleted
Deleting item from OneDrive: 1can_be_deleted/asdf
HTTP request returned status code 403 (Forbidden)
{
    "error": {
        "code": "accessDenied",
        "innerError": {
            "date": "2018-07-05T10:58:09",
            "request-id": "30f4a615-5858-4dab-8ceb-8804712705cc"
        },
        "message": "Request was cancelled by event received. If attempting to delete a non-empty folder, it's possible that it's on hold"
    }
}
Applying changes of Path ID: 01TJHOZ2N6Y2GOVW7725BZO354PWSELRRZ
Uploading differences of .
Processing asdf
The directory has been deleted
Deleting item from OneDrive: 1can_be_deleted/asdf
onedrive.OneDriveException@src/onedrive.d(544): HTTP request returned status code 403 (Forbidden)
{
    "error": {
        "code": "accessDenied",
        "innerError": {
            "date": "2018-07-05T10:58:11",
            "request-id": "fca1741b-eb47-4311-9010-37b6ae962b5f"
        },
        "message": "Request was cancelled by event received. If attempting to delete a non-empty folder, it's possible that it's on hold"
    }
}
----------------
src/onedrive.d:33 void onedrive.OneDriveApi.checkHttpCode(ref const(std.json.JSONValue)) [0x5a17dc]
src/onedrive.d:327 void onedrive.OneDriveApi.del(const(char)[]) [0x5a0da3]
src/onedrive.d:167 void onedrive.OneDriveApi.deleteById(const(char)[], const(char)[], const(char)[]) [0x59ff3a]
src/sync.d:1212 void sync.SyncEngine.uploadDeleteItem(itemdb.Item, immutable(char)[]) [0x5aee1f]
src/sync.d:783 void sync.SyncEngine.uploadDirDifferences(itemdb.Item, immutable(char)[]) [0x5aca8c]
src/sync.d:755 void sync.SyncEngine.uploadDifferences(itemdb.Item) [0x5ac849]
src/sync.d:778 void sync.SyncEngine.uploadDirDifferences(itemdb.Item, immutable(char)[]) [0x5aca39]
src/sync.d:755 void sync.SyncEngine.uploadDifferences(itemdb.Item) [0x5ac849]
src/sync.d:778 void sync.SyncEngine.uploadDirDifferences(itemdb.Item, immutable(char)[]) [0x5aca39]
src/sync.d:755 void sync.SyncEngine.uploadDifferences(itemdb.Item) [0x5ac849]
src/sync.d:718 void sync.SyncEngine.scanForDifferences(immutable(char)[]) [0x5ac679]
src/main.d:353 void main.performSync(sync.SyncEngine, immutable(char)[], bool, bool, bool) [0x592023]
src/main.d:294 _Dmain [0x591b36]

[1]+  Exit 1

from onedrive.

abraunegg avatar abraunegg commented on May 12, 2024

I am unsure how you are triggering this as I cannot trigger this even when deleting sub-folders:

2018-Jul-06 13:31:29.3473023 Loading config ...
2018-Jul-06 13:31:29.3476967 Using Config Dir: /root/.config/onedrive
2018-Jul-06 13:31:29.3501706 No config file found, using defaults
2018-Jul-06 13:31:29.3504136 Initializing the OneDrive API ...
2018-Jul-06 13:31:31.3678543 Opening the item database ...
2018-Jul-06 13:31:31.3776709 All operations will be performed in: /root/OneDrive
2018-Jul-06 13:31:31.378062 Initializing the Synchronization Engine ...
2018-Jul-06 13:31:39.7104753 Account Type: business
2018-Jul-06 13:31:39.7107315 Default Drive ID: <redacted>
2018-Jul-06 13:31:39.7108789 Default Root ID: <redacted>
2018-Jul-06 13:31:39.7110275 Remaining Free Space: 1099508979867
2018-Jul-06 13:31:39.7111573 Fetching details for OneDrive Root
2018-Jul-06 13:31:40.3234242 OneDrive Root exists in the database
2018-Jul-06 13:31:40.3236947 Initializing monitor ...
2018-Jul-06 13:31:40.3239382 Monitor directory: .
2018-Jul-06 13:31:40.3242252 Monitor directory: ./mydir-renamed
2018-Jul-06 13:31:46.5641973 [M] Item deleted: mydir-renamed/test.txt
2018-Jul-06 13:31:46.5647994 Deleting item from OneDrive: mydir-renamed/test.txt
2018-Jul-06 13:31:47.9741033 [M] Item deleted: ./mydir-renamed
2018-Jul-06 13:31:47.9746313 Deleting item from OneDrive: ./mydir-renamed
2018-Jul-06 13:32:27.1686381 Applying changes of Path ID: <redacted>
2018-Jul-06 13:32:29.9521947 This item is marked for deletion:
2018-Jul-06 13:32:29.9551414 Uploading differences of .
2018-Jul-06 13:32:29.9556099 Processing root
2018-Jul-06 13:32:29.9565047 The directory has not changed
2018-Jul-06 13:32:29.9567328 Uploading new items of .
2018-Jul-06 13:32:29.957163 Applying changes of Path ID: <redacted>
2018-Jul-06 13:32:42.5877176 Monitor directory: ./ODS
2018-Jul-06 13:32:42.5878763 Monitor directory: ./ODS/Architecture Layres
2018-Jul-06 13:32:42.5879676 [M] Directory created: ./ODS
2018-Jul-06 13:32:42.5880097 Uploading differences of ./ODS
2018-Jul-06 13:32:42.58817 Uploading new items of ./ODS
2018-Jul-06 13:32:42.5884355 OneDrive Client requested to create remote path: ./ODS
2018-Jul-06 13:32:45.3092665 The requested directory to create was not found on OneDrive - creating remote directory: ./ODS
2018-Jul-06 13:32:46.1352597 Successfully created the remote directory ./ODS on OneDrive
...
2018-Jul-06 13:34:16.5502655 Uploading file ./ODS/CP704/Week 10/Week 10 Tutorial Response.doc ... done.
2018-Jul-06 13:34:16.5802247 Remaining free space: 1099501038221
2018-Jul-06 13:34:16.5806274 OneDrive Client requested to create remote path: ./ODS/CP704/Week 11
2018-Jul-06 13:34:18.5971799 The requested directory to create was not found on OneDrive - creating remote directory: ./ODS/CP704/Week 11
2018-Jul-06 13:34:19.6050266 Successfully created the remote directory ./ODS/CP704/Week 11 on OneDrive
2018-Jul-06 13:34:22.6950382 Uploading fragment: 0-104448/104448
2018-Jul-06 13:34:23.7161962 Uploading file ./ODS/CP704/Week 11/cp704_quallec_8_projects.ppt ... done.
2018-Jul-06 13:34:23.7225875 Remaining free space: 1099500933773
2018-Jul-06 13:34:26.7896625 Uploading fragment: 0-103424/103424
2018-Jul-06 13:34:28.8391795 Uploading file ./ODS/CP704/Week 11/cp704_quallec_9_leadership.ppt ... done.
2018-Jul-06 13:34:28.8453577 Remaining free space: 1099500830349
2018-Jul-06 13:34:31.9088012 Uploading fragment: 0-46592/46592
2018-Jul-06 13:34:32.9338576 Uploading file ./ODS/CP704/Week 11/tutorial11.doc ... done.
2018-Jul-06 13:34:32.9411516 Remaining free space: 1099500783757
2018-Jul-06 13:34:35.4786995 Uploading fragment: 0-33792/33792
2018-Jul-06 13:34:36.4451445 Uploading file ./ODS/CP704/Week 11/Week 11 Tutorial Response.doc ... done.
2018-Jul-06 13:34:36.4519763 Remaining free space: 1099500749965
2018-Jul-06 13:34:36.4529653 OneDrive Client requested to create remote path: ./ODS/CP704/Week 12
2018-Jul-06 13:34:38.0506742 The requested directory to create was not found on OneDrive - creating remote directory: ./ODS/CP704/Week 12
2018-Jul-06 13:34:39.0830347 Successfully created the remote directory ./ODS/CP704/Week 12 on OneDrive
2018-Jul-06 13:34:42.1511097 Uploading fragment: 0-202240/202240
2018-Jul-06 13:34:43.1921937 Uploading file ./ODS/CP704/Week 12/cp704_lecture_14_argument.ppt ... done.
2018-Jul-06 13:34:43.1989349 Remaining free space: 1099500547725
2018-Jul-06 13:34:45.2207681 Uploading fragment: 0-130560/130560
2018-Jul-06 13:34:46.2442241 Uploading file ./ODS/CP704/Week 12/cp704_lecture_15_acs.ppt ... done.
2018-Jul-06 13:34:46.2510274 Remaining free space: 1099500417165
...
2018-Jul-06 13:53:31.5779748 The file has not changed
2018-Jul-06 13:53:31.5783768 Processing Week 6
2018-Jul-06 13:53:31.5789619 The directory has not changed
2018-Jul-06 13:53:31.5803738 Processing cp704_lecture_12_social i .ppt
2018-Jul-06 13:53:31.5824429 The file has not changed
2018-Jul-06 13:53:31.5835896 Processing cp704_lecture_11_ip.ppt
2018-Jul-06 13:53:31.5841007 The file has not changed
2018-Jul-06 13:53:31.5844575 Processing Week 12
2018-Jul-06 13:53:31.5849507 The directory has not changed
2018-Jul-06 13:53:31.5856641 Processing tutorial12.doc
2018-Jul-06 13:53:31.5867064 The file has not changed
2018-Jul-06 13:53:31.5880694 Processing Week 12 Tutorial Response.doc
2018-Jul-06 13:53:31.5891441 The file has not changed
2018-Jul-06 13:53:31.5899688 Processing cp704_lecture_15_acs.ppt
2018-Jul-06 13:53:31.5918379 The file has not changed
2018-Jul-06 13:53:31.5923124 Processing cp704_lecture_14_argument.ppt
2018-Jul-06 13:53:31.592969 The file has not changed
2018-Jul-06 13:53:31.5938237 Processing Week 3
2018-Jul-06 13:53:31.5954535 The directory has not changed
2018-Jul-06 13:53:31.5975342 Processing CP704_Lecture_6_Theories.ppt
2018-Jul-06 13:53:31.5982329 The file has not changed
2018-Jul-06 13:53:31.5985907 Processing CP704_Lecture_5_Theories.ppt
2018-Jul-06 13:53:31.5990291 The file has not changed
2018-Jul-06 13:53:31.5993686 Processing Week 3 Tutorial Response.doc
2018-Jul-06 13:53:31.6001715 The file has not changed
2018-Jul-06 13:53:31.6010929 Processing Tutorial03.doc
2018-Jul-06 13:53:31.602279 The file has not changed
2018-Jul-06 13:53:31.6030907 Uploading new items of .
2018-Jul-06 13:53:31.6499575 Applying changes of Path ID: 01D6JQORV6Y2GOVW7725BZO354PWSELRRZ
2018-Jul-06 13:54:02.9876915 [M] Item deleted: ODS/CP704/Week 11/cp704_quallec_8_projects.ppt
2018-Jul-06 13:54:02.9883246 Deleting item from OneDrive: ODS/CP704/Week 11/cp704_quallec_8_projects.ppt
2018-Jul-06 13:54:03.8957119 [M] Item deleted: ODS/CP704/Week 11/cp704_quallec_9_leadership.ppt
2018-Jul-06 13:54:03.8963143 Deleting item from OneDrive: ODS/CP704/Week 11/cp704_quallec_9_leadership.ppt
2018-Jul-06 13:54:04.9213054 [M] Item deleted: ODS/CP704/Week 11/tutorial11.doc
2018-Jul-06 13:54:04.9218912 Deleting item from OneDrive: ODS/CP704/Week 11/tutorial11.doc
2018-Jul-06 13:54:05.958143 [M] Item deleted: ODS/CP704/Week 11/Week 11 Tutorial Response.doc
2018-Jul-06 13:54:05.9587251 Deleting item from OneDrive: ODS/CP704/Week 11/Week 11 Tutorial Response.doc
2018-Jul-06 13:54:06.9730431 [M] Item deleted: ODS/CP704/Week 11
2018-Jul-06 13:54:06.9736142 Deleting item from OneDrive: ODS/CP704/Week 11
2018-Jul-06 13:54:13.3100092 Applying changes of Path ID: 01D6JQORV6Y2GOVW7725BZO354PWSELRRZ
2018-Jul-06 13:54:15.1615293 This item is marked for deletion:
2018-Jul-06 13:54:15.174879 Uploading differences of .
2018-Jul-06 13:54:15.1753587 Processing root
2018-Jul-06 13:54:15.1758281 The directory has not changed
2018-Jul-06 13:54:15.1766505 Processing ODS
2018-Jul-06 13:54:15.1771843 The directory has not changed
2018-Jul-06 13:54:15.1781227 Processing eakbas
2018-Jul-06 13:54:15.17914 The directory has not changed
2018-Jul-06 13:54:15.1799901 Processing week02-03-Combinational_Logic-v1.pptx
...
2018-Jul-06 13:54:15.6186523 Processing Tutorial03.doc
2018-Jul-06 13:54:15.6196308 The file has not changed
2018-Jul-06 13:54:15.6203276 Uploading new items of .
2018-Jul-06 13:54:15.6844868 Applying changes of Path ID: <redacted>

Are you allowing the sync of the local / remote folders to complete BEFORE you are attempting to move or delete them?

from onedrive.

turekm avatar turekm commented on May 12, 2024

yes i let onedrive to sync before the action

is there some difference between M$ onedrive for personal and for company? i am using your onedrive for onedrive company and for some reason it is not deleting files recursively in my case (according the logs it seems it did not even start to delete my files)

not sure how to help from my side more, i just report it... anyway your onedrive is more use-able then previous, that enough for me (i good way :) ... and i am ok with this issue

from onedrive.

abraunegg avatar abraunegg commented on May 12, 2024

is there some difference between M$ onedrive for personal and for company? i am using your onedrive for onedrive company and for some reason it is not deleting files recursively in my case (according the logs it seems it did not even start to delete my files)

In terms of Personal vs Business accounts the functionality is almost the same - a few minor differences regarding uploading files, not for delete actions.

I suspect your issue is entirely environmental, or you are still running (somehow) the original client as I cannot reproduce your issue at all.

We could schedule a webex to diagnose this further if you like

from onedrive.

abraunegg avatar abraunegg commented on May 12, 2024

The other aspect is this - when looking at the develop documents a 403 error is defined as:

Access is denied to the requested resource. The user might not have enough permission.

You have mentioned that this is Office365 - how are you creating the folders - via the OneDrive Web UI or locally on your Linux system?

Are there any administrative privileges being set on your account that prevents you from deleting OneDrive items?

from onedrive.

turekm avatar turekm commented on May 12, 2024

if you have willing and energy to troubleshoot ... we can make some session
give me your skype id or skype for business id and i will write you and we can deal the condition for troubleshooting or some IM? or maybe webex, but i can not talk :)

You have mentioned that this is Office365 - how are you creating the folders - via the OneDrive Web UI or locally on your Linux system?
creating the locally in the linux

Are there any administrative privileges being set on your account that prevents you from deleting OneDrive items?
no, the client from windows do not have problem with it

you are still running (somehow) the original client
how can i validate?

onedrive --version
onedrive v1.1.2-30-g4e93cfa

md5sum will be different i suppose

from onedrive.

turekm avatar turekm commented on May 12, 2024

i uninstalled onedrive and installed once more and now - it seems it works (i am not able repeat the issue as well)
before i just download your onedrive and directly install it without uninstallation skilion onedrive... not sure if it could be cause

from onedrive.

abraunegg avatar abraunegg commented on May 12, 2024

Thanks for the feedback that it is working as expected.

from onedrive.

lock avatar lock commented on May 12, 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.