Skip to content

Conversation

@tcitworld
Copy link
Member

If 'verify_bucket_exists' is set to false in the config.php s3 configuration, it's supposed to avoid verifying that the bucket exists. However empty(falsy) will always return true, so this condition would not work.

Follow-up to #23932

Checklist

@tcitworld tcitworld added this to the Nextcloud 28 milestone Jun 26, 2023
@tcitworld tcitworld requested review from a team, ArtificialOwl, icewind1991, juliusknorr and nfebe and removed request for a team June 26, 2023 14:45
@tcitworld
Copy link
Member Author

/backport to stable27

@tcitworld
Copy link
Member Author

/backport to stable26

@tcitworld
Copy link
Member Author

/backport to stable25

Copy link
Member

@joshtrichards joshtrichards left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch.

Documentation covered few weeks back in nextcloud/documentation#10437 & nextcloud/documentation#10436

@joshtrichards
Copy link
Member

There are also (some # of) installations out there with autocreate in their config to toggle this functionality with S3 (because until recently autocreate was in our docs - though it did nothing - oops!)

Probably too late (risky) to make that parameter equivalent now without blowback. Also, probably not a big deal as long as it: (a) now works (b) the correct parameter is now documented.

@juliusknorr juliusknorr force-pushed the fix/s3/verify_bucket_exists branch from f208387 to 6df781e Compare July 10, 2023 15:45
@juliusknorr juliusknorr added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Jul 10, 2023
@jdavid82

This comment was marked as off-topic.

@EchedelleLR

This comment was marked as off-topic.

@baldorch

This comment was marked as off-topic.

@jdavid82

This comment was marked as off-topic.

@EchedelleLR

This comment was marked as off-topic.

@baldorch

This comment was marked as off-topic.

@jdavid82

This comment was marked as off-topic.

@tcitworld
Copy link
Member Author

tcitworld commented Jul 26, 2023

I've marked the above messages off-topic as the bug was present from the very beginning this feature (and the parameter) was introduced.
#23932

@susnux susnux force-pushed the fix/s3/verify_bucket_exists branch from 6df781e to c2fc3b8 Compare August 2, 2023 14:42
@kesselb kesselb force-pushed the fix/s3/verify_bucket_exists branch from c2fc3b8 to 3726f3f Compare August 31, 2023 13:54
If 'verify_bucket_exists' is set to false in the config.php s3 configuration, it's supposed to avoid
verifying that the bucket exists. However empty(falsy) will  always return true, so this condition
would not work.

Signed-off-by: Thomas Citharel <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4. to release Ready to be released and/or waiting for tests to finish bug feature: external storage feature: object storage

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants