Error deploying Django application that serves static files from an S3 Bucket

0

So the deployment process was going smoothly and well for a long time, with no errors, no failures, no nothing.
However, suddenly the following error starts to appear:

botocore.exceptions.ClientError: An error occurred (AccessDenied) when calling the DeleteObject operation: Access Denied  
Error while running '$ python manage.py collectstatic --noinput'.

I changed literally nothing to my AWS S3 configuration, and never experienced such a problem, any help??

Emad G
preguntada hace un año490 visualizaciones
1 Respuesta
0

The error points to be not having access to delete some thing from the s3 bucket. There can be two things:-

  • The application is trying to delete some object from the bucket, but it cant because there is no permission to do so, you can update the role policy and add permissions.
  • The policy was changed and delete permission was removed, which will again require adding back the permission.
AWS
Rishi
respondido hace un año

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas