You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When rclone does pretty much anything, if the destination does not exist then it tries to create it. Unfortunately it uses what it considers the S3 equivalent of mkdir -p. Even worse, it (always!) tries to create the bucket. Document that user needs to set no_check_bucket = true (or set the --s3-no-check-bucket flag) in order to work around this.
The underlying issue is that S3 will return a 409 (Conflict) when trying to recreate an already-existing bucket. We return 405 (Method Not Allowed), and rclone gives up.
The text was updated successfully, but these errors were encountered:
When copying to a new key, Rclone likes to try to create _all_ the S3 path
down (it seems to think it's on a POSIXy filesystem so it `mkdir -p`s). A
repository cannot be created by the gateway -- there is not enough info on
the request -- but if we return a 409 (conflict) then Rclone continues and
succeeds.
There is no S3 gateway test, so tested manually using Rclone.
Fixes#2447.
…2451)
* [S3 gateway] Return HTTP 409 (Conflict) when creating existing repo
When copying to a new key, Rclone likes to try to create _all_ the S3 path
down (it seems to think it's on a POSIXy filesystem so it `mkdir -p`s). A
repository cannot be created by the gateway -- there is not enough info on
the request -- but if we return a 409 (conflict) then Rclone continues and
succeeds.
There is no S3 gateway test, so tested manually using Rclone.
Fixes#2447.
* [CR] Require CreateRepositoryAction (not ReadRepositoryAction)
Pointed out by @tvanderwal-lmco as part of #2445.
When rclone does pretty much anything, if the destination does not exist then it tries to create it. Unfortunately it uses what it considers the S3 equivalent of
mkdir -p
. Even worse, it (always!) tries to create the bucket. Document that user needs to setno_check_bucket = true
(or set the--s3-no-check-bucket
flag) in order to work around this.The underlying issue is that S3 will return a 409 (Conflict) when trying to recreate an already-existing bucket. We return 405 (Method Not Allowed), and rclone gives up.
The text was updated successfully, but these errors were encountered: