Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minio is broken for the local dev environment #179

Open
duckduckgrayduck opened this issue Oct 31, 2023 · 1 comment
Open

Minio is broken for the local dev environment #179

duckduckgrayduck opened this issue Oct 31, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@duckduckgrayduck
Copy link
Contributor

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 duckduckgrayduck added the bug Something isn't working label Oct 31, 2023
@duckduckgrayduck
Copy link
Contributor Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant