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

the program cannot upload to S3 #18

Open
mimoo opened this issue Jun 19, 2015 · 3 comments
Open

the program cannot upload to S3 #18

mimoo opened this issue Jun 19, 2015 · 3 comments

Comments

@mimoo
Copy link

mimoo commented Jun 19, 2015

I get this error when I try using s3cmd

mimoo@server:~$ s3cmd mb s3://my-database-backups
ERROR: Bucket 'my-database-backups' already exists
ERROR: S3 error: 409 (BucketAlreadyExists): The requested bucket name is not available. The bucket namespace is shared by all users of the system. Please select a different name and try again.

And the program gets me this error:

ERROR: S3 error: 400 (InvalidRequest): The authorization mechanism you have provided is not supported. Please use AWS4-HMAC-SHA256.
Old backup removed.
Moving the backup from past week to another folder...
ERROR: S3 error: 400 (InvalidRequest): The authorization mechanism you have provided is not supported. Please use AWS4-HMAC-SHA256.
Past backup moved.
@mimoo
Copy link
Author

mimoo commented Jun 19, 2015

looks like this happen if I create the bucket manually on the aws panel. If I do it with s3cmd it works (and also the error I got was because I have to find a name that no other of their clients have chose

@excalq
Copy link

excalq commented Jun 19, 2015

You might have two issues here. Keep in mind that bucket names must be globally unique.

@codex73
Copy link

codex73 commented Feb 4, 2016

@mimoo You need to create an unique bucket on S3. S3 buckets are unique just like domain names. Try something like this instead: s3cmd mb s3://mub-09876ddc-u

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

3 participants