I have an AWS ECS Task that runs a Django (Python) app and a Proxy for static files, both containers run on Docker.
Django has a command called collectstatic that copies all the static files into the shared folder that will be served by the proxy.
I have been running this setup for a few months without any problems, but around 17 March 2021 I noticed that my deployment was not updating my website.
Looking at my Django app logs I saw the error:
PermissionError: [Errno 13] Permission denied: '/vol/web/static'
I didn't make any configuration changes recently and after a week of experimentation, debug and frustration I noticed that a few other people from the same course that I followed to create this setup started having the exact same issue at the same time (basically a week ago).
At this time my only guess would be that something must have changed within AWS itself, but I'm not sure what to look for.
Any suggestions will be appreciated, thanks!
Note: I made sure that my setup works on my local environment with the proxy using a docker-compose file that simulates the app-proxy interaction, so I don't think this has anything to do with my
settings.pyor how my static files are configured.EDIT I just learned that AWS Fargate updated from 1.3 to 1.4 and that seems to be causing the issue.