Mounting OneDrive Shared Folder

What is the problem you are having with rclone?

I am trying to mount my school account OneDrive to my laptop. I am successfully able to mount all the folders besides one that is not owned by me but rather shared with me. I have read to use a webdav config for this although am getting an odd issue when following tutorials such as this one.

Run the command 'rclone version' and share the full output of the command.

    ~  rclone version                                                                                                                                                                                                                                                      ✔  5s  
rclone v1.58.1
- os/version: arch 21.2.6 (64 bit)
- os/kernel: 5.16.18-1-MANJARO (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.17.9
- go/linking: static
- go/tags: none

Which cloud storage system are you using? (eg Google Drive)

I am attempting to sync a OneDrive shared folder.

The command you were trying to run (eg rclone copy /tmp remote:tmp)

   ~  rclone --vfs-cache-mode writes mount "app": ~/AndroidApp                                                                                                                                                                                                               ✔   
2022/04/29 11:32:31 Failed to create file system for "app:": :  ()

The rclone config contents with secrets removed.

[app]
type = webdav
url = https://[university domain].sharepoint.com/personal/[user email with underscores]/Documents/Software/AndroidApp/
vendor = sharepoint
user = zmt1002
pass = [encrypted pass]

A log from the command with the -vv flag

   ~  rclone -vv --vfs-cache-mode writes mount "app": ~/AndroidApp                                                                                                                                                                                                           ✔   
2022/04/29 11:36:14 DEBUG : rclone: Version "v1.58.1" starting with parameters ["rclone" "-vv" "--vfs-cache-mode" "writes" "mount" "app:" "/home/zack/AndroidApp"]
2022/04/29 11:36:14 DEBUG : Creating backend with remote "app:"
2022/04/29 11:36:14 DEBUG : Using config file from "/home/zack/.config/rclone/rclone.conf"
2022/04/29 11:36:14 DEBUG : found headers: 
2022/04/29 11:36:15 Failed to create file system for "app:": :  ()

You want to use:

rclone mount app: ~/AndroidApp --vfs-cache-mode writes

I'd not use "~" myself as I like full paths rather than relative stuff.

This seems to result in the same vague error.

    ~  rclone mount app: /home/zack/AndroidApp --vfs-cache-mode writes                                                                                                                                                                                                        ✔   
2022/04/29 11:47:55 Failed to create file system for "app:": :  ()

Run

rclone about app: -vvv
    ~  rclone about app: -vvv                                                                                                                                                                                                                                                     ✔ 
2022/04/29 11:55:02 DEBUG : rclone: Version "v1.58.1" starting with parameters ["rclone" "about" "app:" "-vvv"]
2022/04/29 11:55:02 DEBUG : Creating backend with remote "app:"
2022/04/29 11:55:02 DEBUG : Using config file from "/home/zack/.config/rclone/rclone.conf"
2022/04/29 11:55:02 DEBUG : found headers: 
2022/04/29 11:55:02 Failed to create file system for "app:": :  ()

Shared folders are not supported in rclone:

Implement OneDrive shared with me · Issue #4062 · rclone/rclone (github.com)

You'd follow that issue to see how it progresses.

I am trying to mount the specific shared folder separately as mentioned here:

This workaround seemed to work although results in an odd error message for me.

Those comments are from 2019 so not sure as it may or may not work. You could always ask in the issue.

I'll pursue help there if I can't get it to work. Thanks for your help. Marking your response with the Github issue as the solution.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.