documentcloud icon indicating copy to clipboard operation
documentcloud copied to clipboard

Minio is broken for the local dev environment

Open duckduckgrayduck opened this issue 2 years ago • 1 comments

http://minio.documentcloud.org:9000/documents/documents/20000009/19-karpuzova-old-apartment-listing.pdf?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=OC1jBeQoawJ7GBPEsSeIa4WU9uZpqUVzuenSIYr6O9zDAQtULEtmfSUiv4PuXslS%2F20231025%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20231025T174511Z&X-Amz-Expires=300&X-Amz-SignedHeaders=host&X-Amz-Signature=6eba960d0a8b5a0a573398e63b86f1d6c47c8e465ce722512afd2a9e197405ba

Axios errors are also present. Currently we have worked around by setting up the Django backend to work with an AWS bucket, just as production does irl, but we should fix this for local development for the future or shift the instructions to AWS bucket.

duckduckgrayduck avatar Oct 31 '23 13:10 duckduckgrayduck

If we decide to abandon minio and opt for instructions on creating an AWS bucket, we should make sure to include instructions that if anyone can't upload a public document or change a document to public on their local dev environment and receives: documentcloud-documentcloud_celeryworker-1 | botocore.exceptions.ClientError: An error occurred (AccessControlListNotSupported) when calling the PutObjectAcl operation: The bucket does not allow ACLs

They need to delete Bucket Owner enforcement/activate ACLs on the testing bucket from within AWS.

duckduckgrayduck avatar Oct 31 '23 13:10 duckduckgrayduck