I deleted some files from my OneDrive online and when I try to mount OneDrive using rclone, it tries to locate the deleted files and mount them (I think). Before I deleted the files, I was trying to move them into a different folder, but it didn't work. In case that's relevant!
I'm new to Linux, rclone and OneDrive so please write things in layman's terms! All help much appreciated, Thanks!!
- os/version: ubuntu 20.04 (64 bit)
- os/kernel: 5.13.0-40-generic (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.17.2
- go/linking: static
- go/tags: none
OneDrive for business
rclone --vfs-cache-mode writes mount "onedrive": ~/OneDrive
Edit remote Option client_id. OAuth Client Id. Leave blank normally. Enter a string value. Press Enter for the default (""). client_id> Option client_secret. OAuth Client Secret. Leave blank normally. Enter a string value. Press Enter for the default (""). client_secret> Option region. Choose national cloud region for OneDrive. Enter a string value. Press Enter for the default ("global"). Choose a number from below, or type in your own value. 1 / Microsoft Cloud Global \ "global" 2 / Microsoft Cloud for US Government \ "us" 3 / Microsoft Cloud Germany \ "de" 4 / Azure and Office 365 operated by 21Vianet in China \ "cn" region> 1 Edit advanced config? y) Yes n) No (default) y/n> n Already have a token - refresh? y) Yes (default) n) No y/n> n Option config_type. Type of connection Enter a string value. Press Enter for the default ("onedrive"). Choose a number from below, or type in an existing value. 1 / OneDrive Personal or Business \ "onedrive" 2 / Root Sharepoint site \ "sharepoint" / Sharepoint site name or URL 3 | E.g. mysite or https://contoso.sharepoint.com/sites/mysite \ "url" 4 / Search for a Sharepoint site \ "search" 5 / Type in driveID (advanced) \ "driveid" 6 / Type in SiteID (advanced) \ "siteid" / Sharepoint server-relative path (advanced) 7 | E.g. /teams/hr \ "path" config_type> 1 Drive OK? Found drive "root" of type "business" URL: https://ljmu-my.sharepoint.com/........ y) Yes (default) n) No y/n> y -------------------- [onedrive] type = onedrive region = global token =
I get lots of these error messages for different files I previously deleted:
<3>ERROR : 2022-04-21 Phone images/Pictures/Messenger/received_4335388043192773.jpeg: vfs cache: failed to reload item: reload: failed to add virtual dir entry: file does not exist
And then a list of these:
<3>ERROR : 2022-04-21 Phone images/Pictures/Screenshots/Screenshot_20211128-132009.jpg: Failed to copy: Post "https://graph.microsoft.com/v1.0/drives/b!b_WXNXN32km9NzkK9OZqfnuDNvXidVJEhb2hjAJrIUo7YacLCNxJSrFtl7PZPEpa/items/01GFHSN6QFWIS7EMQHNJFKDJIXDREXTKKD:/Screenshot_20211128-132009.jpg:/createUploadSession": context canceled