-
Notifications
You must be signed in to change notification settings - Fork 171
Change AWS Region for Minio backend #2386
Copy link
Copy link
Closed
Milestone
Description
Deployment Type: Docker Compose
Images: docspell/restserver:v0.40.0, docspell/joex:v0.40.0, docspell/dsc:v0.10.0, postgres:16.0, solr:9
Issue:
I am getting the following error when I try to use the Minio backend to connect to an S3 bucket.
docspell-joex | java.util.concurrent.CompletionException: error occurred
docspell-joex | ErrorResponse(code = AuthorizationHeaderMalformed, message = The authorization header is malformed; the region 'us-east-1' is wrong; expecting 'us-west-2', bucketName = null, objectName = null, resource = null, requestId = <REDACTED>, hostId = <REDACTED>)
I have been able to successfully perform actions from the CLI with the following ENV VARS set
AWS_ACCESS_KEY_ID=<REDACTED>
AWS_SECRET_ACCESS_KEY=<REDACTED>
AWS_DEFAULT_REGION=us-west-2
How can I set the AWS_DEFAULT_REGION using the for the Minio Backend?
I have Tried:
- Injecting the ENV VAR directly into the container
- Looking for clues in the Binny Source here https://github.com/eikek/binny/tree/master/modules/minio/src/main/scala/binny/minio
- Reading through the Default Config Docs here https://docspell.org/docs/configure/defaults/
- Searching the github issues
Any help would be appreciated : ^ )
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels