Newbie help: simple ls isn't working, likely a config issue

What is the problem you are having with rclone?

Newbie question -- config seems right but simple ls for s3 is failing.

rclone ls s3://museado
2024/01/20 08:28:45 Failed to create file system for "s3://museado": didn't find section in config file

I'm almost certain this is something simple and basic, like a permissions issue.

I'm running on Ubuntu, and have installed rclone with

sudo snap install rclone

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

rclone version
rclone v1.65.1
- os/version: ubuntu 22.04 (64 bit)
- os/kernel: 6.5.0-14-generic (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.21.5
- go/linking: static
- go/tags: snap

Are you on the latest version of rclone? You can validate by checking the version listed here: Rclone downloads
-->

Yes

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

Amazon s3

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

rclone ls s3://museado
2024/01/20 08:28:45 Failed to create file system for "s3://museado": didn't find section in config file

Please run 'rclone config redacted' and share the full output. If you get command not found, please make sure to update rclone.

rclone config redacted
[museado-s3]
type = s3
provider = AWS
env_auth = true
access_key_id = XXX
secret_access_key = XXX
region = us-east-1
location_constraint = us-east-2
acl = private

A log from the command that you were trying to run with the -vv flag

rclone ls s3://museado -vv
2024/01/20 08:30:31 DEBUG : rclone: Version "v1.65.1" starting with parameters ["/snap/rclone/489/bin/rclone" "ls" "s3://museado" "-vv"]
2024/01/20 08:30:31 DEBUG : Creating backend with remote "s3://museado"
2024/01/20 08:30:31 DEBUG : Using config file from "/home/tac/snap/rclone/489/.config/rclone/rclone.conf"
2024/01/20 08:30:31 Failed to create file system for "s3://museado": didn't find section in config file

This is what I'm expecting to see:

aws s3 ls s3://museado
                           PRE data/
                           PRE images/
                           PRE nabolom/
2024-01-19 12:11:45      12288 detect.sqlite
2024-01-19 12:11:46      12288 dugmus-scraper.sqlite
2024-01-19 12:11:46      12288 images.sqlite
2024-01-19 12:37:53    3277718 nabolom

instead you have to run:

rclone ls museado-s3:

or

rclone ls museado-s3:bucket_name

in general you have to use

remote_name:bucket_name/path/

in your case remote_name is museado-s3 as you defined in your config file.

1 Like

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