Report this

What is the reason for this report?

Strapi Media Library keeps disappearing

Posted on June 18, 2021

Hi,

I have a Strapi CMS on DigitalOcean and all the uploaded files keep disappearing after some time. I can still see the names of the files, but the actual images/documents are missing. Do you have any idea what could be causing this?

Thanks in advance, Stefan



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!

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.

Solved it by connecting Strapi to Digial Ocean Spaces using

strapi-provider-upload-do

https://www.npmjs.com/package/strapi-provider-upload-do

and by following this tutorial to get the required keys

https://www.digitalocean.com/community/tutorials/how-to-create-a-digitalocean-space-and-api-key

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.