Skip to content

Conversation

@cnbeining
Copy link

Hey all,

Thanks for maintaining this project!

It seems that AWS SDK shall attempt to detect ~/.aws/config when initialized when using S3-like Object Storage as observed here and here.

This behaviour is undesired - especially when using S3-compatible endpoints - as the documentation already required users to explicity declare the endpoint when using Object Storage as Primary Storage and when using as External Storage. In a shared hosting environment the default path ~/.aws/config may not be readable, flooding log tail with error messages.

This PR shall disable AWS SDK from seeking for the shared config file thus fixing the log flooding issue.

Other fixes are possible - e.g., exposing this as a config argument - but the marginal benefit seems to be limited: we can further discuss alternative approaches in this PR.

Thanks,

@szaimen szaimen added this to the Nextcloud 25 milestone Sep 16, 2022
@szaimen szaimen added the 3. to review Waiting for reviews label Sep 16, 2022
@szaimen szaimen requested review from a team, ArtificialOwl, ChristophWurst, blizzz and come-nc and removed request for a team September 16, 2022 06:56
@kesselb
Copy link
Contributor

kesselb commented Sep 16, 2022

Same as: #32740

@CarlSchwan
Copy link
Member

I merged #32740 so I think this PR can be closed

@kesselb
Copy link
Contributor

kesselb commented Sep 19, 2022

Thank you @cnbeining for your pull request 👍

@kesselb kesselb closed this Sep 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants