Skip to content

Configure S3 per-wiki awards container path - #22

Open
sentry[bot] wants to merge 1 commit into
mainfrom
seer/fix/s3-awards-container
Open

Configure S3 per-wiki awards container path#22
sentry[bot] wants to merge 1 commit into
mainfrom
seer/fix/s3-awards-container

Conversation

@sentry

@sentry sentry Bot commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

This PR addresses an InvalidArgumentException originating from the AWS SDK when attempting to access the awards container for specific wikis (e.g., uscwiki-awards). The root cause was identified as a missing entry in the $wgFileBackends['s3']['containerPaths'] array within LocalSettings.php.

While a global awards container mapping existed, the per-wiki mapping for "{$wgDBname}-awards" was absent. This led to an empty bucket name being passed to the AWS ListObjects operation, causing the validation error.

The change adds the necessary "{$wgDBname}-awards" => "wikioasis-media/{$wgDBname}/awards" entry to the containerPaths array, ensuring that the S3 backend can correctly resolve the path for per-wiki awards containers.

Fixes MEDIAWIKI-C66

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

Successfully merging this pull request may close these issues.

0 participants