Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Failed to create file system for "remote:": Didn't find section in config file" #290

Closed
nfshr opened this issue Jan 10, 2016 · 16 comments
Closed

Comments

@nfshr
Copy link

nfshr commented Jan 10, 2016

rclone was set up as advised in the docs via auto-config for google-drive (choice 9, "drive"). Set up went ok and token was received. Config was left at default when possible. Now i get the following err when trying to connect:

$ rclone ls remote:
2016/01/10 19:16:52 Failed to create file system for "remote:": Didn't find section in config file

Any Ideas why this happens? Couldn't find anything in the docs/Google.

OS: Arch; rclone: community/rclone 1.26-1

@klauspost
Copy link
Collaborator

Replace remote with the name you gave your drive.

Use rclone config to see the name of your remote.

@nfshr
Copy link
Author

nfshr commented Jan 10, 2016

Oh, ok, thx! :)

@nfshr nfshr closed this as completed Jan 10, 2016
@xinmeng1
Copy link

thx

@Aireezz
Copy link

Aireezz commented Apr 15, 2017

I'm having this same issue yet I have specified it with the name I gave the drive.

Drive name = encrypted
Files located under

Main folder -Media
sub folders -
Tv
Movies
Music

i run this command "rclone mount encrytped:media /mnt/googledrive &"

I have also tried specifying a sub folder like this. "rclone mount encrytped:media/tv /mnt/googledrive &"

No luck, any thoughts?

@Flash619
Copy link

Flash619 commented May 5, 2017

I have the exact same issue when using a crypt remote type. If I try secret:myfolder/ It get "didn't find section in config file".

EDIT

Nevermind, I had two words in the remote name switched around.

@razzmatazzrr
Copy link

What is this part in the rclone config about?

service_account_file> /home/foo/myJSONfile.json # This is where the JSON file goes!

Can I leave this blank? I've set a root_folder_id. All I want to do is copy and delete jpgs from a folder on my raspberry pi, however when I try run this...

rclone -v move /home/pi/timelapse remote:tent --delete-after --include *.jpg --include *.log

then it tells me, "Failed to create file system for "remote:tent": didn't find section in config file".

I'd love to know how to sync files to my google drive. Trying to make a timelapse. I don't want to run out of storage on my pi halfway through the timelapse.

@ncw
Copy link
Member

ncw commented Dec 29, 2018

What is this part in the rclone config about?

service_account_file> /home/foo/myJSONfile.json # This is where the JSON file goes!

Can I leave this blank?

Yes if you aren't using a service account file.

This question is probably better on the rclone forum if that isn't enough to get it going.

@henriquebs12
Copy link

Replace remote with the name you gave your drive.

Use rclone config to see the name of your remote.

Your simple comment probably saved thousand of users. Poor UX writing from the rclone documentation site. If it had some examples over there, it shouldn't happen. Sometimes devs think everbody think the same way they do. Thanks for the help.

@Inambe
Copy link

Inambe commented Oct 11, 2020

For me it was that I was running rclone ls google-drive and not rclone ls google-drive:/

@hugoxxd
Copy link

hugoxxd commented Oct 28, 2020

Yes,i have solved the same problem. The wiki documentation is very unclear

@ncw
Copy link
Member

ncw commented Oct 28, 2020

Always happy to take fixes to the docs if anyone would like to do them.

Note the docs are here - https://github.com/rclone/rclone/tree/master/docs/content and you can click the edit icon on the docs and submit a fix all from your browser :-)

@SephReed
Copy link

SephReed commented Oct 1, 2021

Derp. Dropbox: !== DropBox:

@shubinmir
Copy link

shubinmir commented Nov 22, 2022

I faced with same problem with AWS.
And your tree of comments lets me to solve my issue.

command for example
rclone ls name-of-remote-connection:name-of-bucket/dir-name
or
rclone ls name-of-remote-connection:name-of-bucket/

name-of-remote-connection - this can be created with command below
rclone config

@Feriman22
Copy link

I had the same problem with MEGA. The problem was that I updated the rclone and the new version does not support MEGA Cloud.

The solution is to downgrade the existing version:

wget https://github.com/rclone/rclone/releases/download/v1.59.2/rclone-v1.59.2-linux-arm64.deb -P /tmp
sudo dpkg --install /tmp/rclone-v1.59.2-linux-arm64.deb
rm -f /tmp/rclone-v1.59.2-linux-arm64.deb

And stay on this version:
sudo apt-mark hold rclone

@sebastianaa92
Copy link

Replace remote with the name you gave your drive.

Use rclone config to see the name of your remote.

i'm stupid hahaha it was this simple... ty bro

@mirekphd
Copy link

mirekphd commented Feb 18, 2024

I think this error is caused by using an undefined name "remote", so the simplest solution is not using it, like this:

rclone serve webdav "/tmp" 

(instead of the failing rclone serve webdav "remote:/tmp")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests