blanc
October 6, 2024, 2:40pm
1
Hi,
A OneDrive remote was created.
One can prove it by „rclone config “: Name = OneDrive, Type = onedrive.
The problem is, directories and files in onedrive are not correct. With „rclone lsd remote :“or „rclone ls remote: “:
Failed to create file system for ‚remote‘: didn’t find section in config file.
What’s wrong with this?
asdffdsa
(jojothehumanmonkey)
October 6, 2024, 2:42pm
2
blanc:
One can prove it by „rclone config “: Name = OneDrive, Type = onedrive.
The problem is, directories and files in onedrive are not correct. With „rclone lsd remote :“or „rclone ls remote: “:
you created a remote named OneDrive
, so need to use that
rclone lsd OneDrive:
blanc
October 7, 2024, 2:40pm
3
asdffdsa:
rclone lsd OneDrive:
Failed to create file system for "OneDrive:": failed to get root: Get "/v1.0/drives/76bb77f6faf6298f/root": couldn't fetch token: Post "/common/oauth2/v2.0/token": unsupported protocol scheme ""
asdffdsa
(jojothehumanmonkey)
October 7, 2024, 2:41pm
4
please post the full output of
rclone version
rclone config redacted OneDrive:
rclone lsd OneDrive: -vv
blanc
October 8, 2024, 1:21pm
5
asdffdsa:
rclone lsd OneDrive: -vv
- rclone version
rclone v1.67.0
os/version: Microsoft Windows 10 Home 22H2 (64 bit)
os/kernel: 10.0.19045.4894 (x86_64)
os/type: windows
os/arch: amd64
go/version: go1.22.4
go/linking: static
go/tags: cmount
- rclone config redacted OneDrive:
[OneDrive]
type = onedrive
token = XXX
drive_id = XXX
drive_type = personal
client_id = XXX
client_secret = XXX
region = q
Double check the config for sensitive info before posting publicly
- rclone lsd OneDrive: -vv
2024/10/08 21:17:36 DEBUG : rclone: Version "v1.67.0" starting with parameters ["rclone" "lsd" "OneDrive:" "-vv"]
2024/10/08 21:17:36 DEBUG : Creating backend with remote "OneDrive:"
2024/10/08 21:17:36 DEBUG : Using config file from "C:\Users\My Home\AppData\Roaming\rclone\rclone.conf"
2024/10/08 21:17:36 DEBUG : OneDrive root '': Token expired but no uploads in progress - doing nothing
2024/10/08 21:17:36 DEBUG : OneDrive: Loaded invalid token from config file - ignoring
2024/10/08 21:17:36 DEBUG : OneDrive: Token refresh failed try 1/5: Post "/common/oauth2/v2.0/token": unsupported protocol scheme ""
2024/10/08 21:17:37 DEBUG : OneDrive: Loaded invalid token from config file - ignoring
2024/10/08 21:17:37 DEBUG : OneDrive: Token refresh failed try 2/5: Post "/common/oauth2/v2.0/token": unsupported protocol scheme ""
2024/10/08 21:17:38 DEBUG : OneDrive: Loaded invalid token from config file - ignoring
2024/10/08 21:17:38 DEBUG : OneDrive: Token refresh failed try 3/5: Post "/common/oauth2/v2.0/token": unsupported protocol scheme ""
2024/10/08 21:17:39 DEBUG : OneDrive: Loaded invalid token from config file - ignoring
2024/10/08 21:17:39 DEBUG : OneDrive: Token refresh failed try 4/5: Post "/common/oauth2/v2.0/token": unsupported protocol scheme ""
2024/10/08 21:17:40 DEBUG : OneDrive: Loaded invalid token from config file - ignoring
2024/10/08 21:17:40 DEBUG : OneDrive: Token refresh failed try 5/5: Post "/common/oauth2/v2.0/token": unsupported protocol scheme ""
2024/10/08 21:17:41 Failed to create file system for "OneDrive:": failed to get root: Get "/v1.0/drives/76bb77f6faf6298f/root": couldn't fetch token: Post "/common/oauth2/v2.0/token": unsupported protocol scheme ""
asdffdsa
(jojothehumanmonkey)
October 8, 2024, 1:24pm
6
blanc:
region = q
that is not a valid region, can try
region = global
rclone v1.67.0
is an old version, can run rclone selfupdate
blanc
October 9, 2024, 11:53am
7
I’ve solved this issue. It’s because I got two remotes mapped to the same OneDrive account. Is there alternative command for downloading files, other than „rclone copy“?
asdffdsa
(jojothehumanmonkey)
October 9, 2024, 12:39pm
8
rclone copyto
why do you need an alternative command?
system
(system)
Closed
November 8, 2024, 12:40pm
9
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.