Broken images in Media Library

Hi! I copied images from the PROD CMS public/uploads folder and PROD CMS DB to the DEV environment. Now, the images are broken. But if I upload images through the admin panel, then the images work well.
Also from my Next.js project I can’t access these images. The links to the images show a 404 error.

  • MySQL:
  • Node 16:
  • Strapi 4:
  • Next JS: