Images uploaded in Media Library automatically corrupts after few days

System Information
  • Strapi Version: v3.1.7
  • Operating System: Windows
  • Database: Google Cloud SQL
  • Node Version:
  • NPM Version:
  • Yarn Version:

Everytime I upload some images in the Media Library on Strapi Admin, they gets corrupt after 2-3 days. This has happened with me twice. I have integrated Google cloud SQL as db. Is this is the issue with the Strapi Admin or am I doing something wrong?

@DMehaffy any idea about this? :neutral_face: Thanks!

cc: @Eric_Lemay

Images are wiped during deployment.

What hosting service do you use?

1 Like

No, it’s not an issue from DB. As I see from your screenshot DB is working perfectly, since you have the references for all the uploaded images. So that means you lost your images from the file system.

1 Like

Yup exactly, the default upload provider stores them in the local filesystem ./public/uploads so you would need to move to a provider package for file uploads. A community member made a google storage provider you can find here: strapi-provider-upload-google-cloud-storage - npm

I am having same issue i am using digital ocean apps

I am having the same issue here