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??

1回答
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
回答済み 1年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ