By sailikhith
We are using the digital ocean spaces to offload our dev env static files. We need to run the collect static command manually to update the media and static files. The whole process was working fine for the last couple of months but I am recently facing this error. After some research, I updated the Access key id and AWS secret access key but this error remains the same. Any help would be appreciated.
Code we used: docker exec -it crmbase python manage.py collectstatic --noinput
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
If the error still persists even after updating your access key ID and AWS secret access key, there might be other factors causing this issue.
Here are a few items to check:
1. Permissions: Make sure that the keys you’re using have the required read and write permissions to Spaces. You might have to revise your IAM policies.
2. CORS Configuration: Ensure that your CORS configuration is set up correctly. Misconfigurations often lead to such issues.
3. Environment available inside Docker: In some cases, the environment variables may not be available inside Docker. Make sure the environment variables are accessible within your Docker container.
For more detailed assistance, it would help if I could see the specific error message you’re facing. If these suggestions don’t help, you might want to reach out to DigitalOcean’s support team for a more detailed analysis of your issue.
You can also explore the DigitalOcean Spaces documentation for further assistance with Spaces.
Hope that this helps!
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.