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

Can't see files and folders in my S3 bucket #12635

Closed
jensbaumgart opened this issue Dec 8, 2021 · 15 comments
Closed

Can't see files and folders in my S3 bucket #12635

jensbaumgart opened this issue Dec 8, 2021 · 15 comments
Labels
help wanted s3 AWS S3 Protocol Implementation

Comments

@jensbaumgart
Copy link

I successfully connected to my amazon S3 bucket. But I can't see the contained files and folders.
I can create files and folders in the bucket. See attached screenshot.

Cyberduck Version 8.1.1 (36550)
macOS 12.0.1 (21A559)
cyberduck

@fishcharlie
Copy link

@jensbaumgart Do you have the correct IAM roles/permissions setup?

@edwinv
Copy link

edwinv commented Dec 12, 2021

I'm experiencing the same issue. The S3 bucket and IAM policy have been in place since 2018. I was always able to list and update files. With the last version of Cyberduck, listing of subfolders in the bucket suddenly throws this error:

CleanShot 2021-12-12 at 17 23 18@2x

I've reconfirmed the policy by using the AWS cli tool, this lists the bucket contents without issues. This confirms for me a possible bug in Cyberduck.

Related: #12596, #11883, #11896

@jensbaumgart
Copy link
Author

The bucket is an external bucket. How to connect to an external bucket? I tried to put the bucket name in front of the server name, but this did not help. I still do not see the content of /

@dkocher
Copy link
Contributor

dkocher commented Dec 13, 2021

Please do not set a region specific endpoint for the hostname. Refer to Access single bucket.

@dkocher dkocher added the s3 AWS S3 Protocol Implementation label Dec 13, 2021
@jensbaumgart
Copy link
Author

I put the bucket name in front of the server name. With this, I get the same result.
Then I entered the bucket name in the path field of the bookmark. This results in error message "Cannot read bucket location"
My colleagues using S3 Browser on Windows can access the bucket using "Add external bucket".

@jensbaumgart
Copy link
Author

if I use S3 REST API, I see all objects in the bucket (jbtest and others not shown in Cyberduck):
https://s3-eu-central-1.amazonaws.com/hcp-XXXXXXXXXXXXXXXXXXXX?list-type=2

@dkocher
Copy link
Contributor

dkocher commented Dec 14, 2021

Make sure your IAM policy allows s3:GetBucketLocation.

@jensbaumgart
Copy link
Author

I have no access to these settings. I only have access key, secret key and bucket name.

@dkocher
Copy link
Contributor

dkocher commented Dec 22, 2021

This is possibly fixed with #12694. Please try the latest snapshot build 8.2.0.36660.

@dkocher dkocher closed this as completed Dec 22, 2021
@jensbaumgart
Copy link
Author

Can't find download for 8.2.0.36660. Can you provide a link?

@dkocher
Copy link
Contributor

dkocher commented Dec 22, 2021

@jensbaumgart
Copy link
Author

The issue persists with version Version 8.2.0 (36663)
Tried all combinations:
put bucket in path: yes/no
put bucket in server name: yes/no

@dkocher
Copy link
Contributor

dkocher commented Dec 23, 2021

Please provide logging output with Debug option enabled.

@jensbaumgart
Copy link
Author

cyberduck copy.log

@jensbaumgart
Copy link
Author

We finally found the issue: our paths contained a //. After removing the //, everything works fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted s3 AWS S3 Protocol Implementation
Projects
None yet
Development

No branches or pull requests

4 participants