Question

Collectstatic is not working with DO spaces

i have a Django application on DO apps. everything seems perfect but collectstatic command is not working as expected. it is just coping the new static files but didn’t find which file was changed.


Submit an answer

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!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

This is a big blocker for our production site too. We are using DO Aap platform and offloading the media files to DO spaces. Every time there is an update on the CSS and we run collectstatic in console. the CSS file on spaces doesn’t update and changes don’t reflect on our website.

We have tried collectfast pip module but it didn’t work either. Is there any solution for that?

I am currently facing the same issue with

python manage.py collectstatic

Collectstatic (in Concolse for DO app) can not find changed/modified files.

Have you ever found a solution to this problem? Thanks.