All new image uploads are broken (404)

After running into upgrade issues from v2x to v3x (see 502 on image upload, but works fine with `ghost run` · Issue #11129 · TryGhost/Ghost · GitHub) I have reinstalled my ghost blog from scratch and imported the content as a json from the old one. I have also upgraded to ghost 3.10.0. None of these attempts have managed to fix my issue however:

The sizes of any uploaded image is not generated properly, i.e, the directories in content/images/size/ remain empty. I am using the Casper theme and have not changed the custom image sizes in the config. I have also made sure to recursively run chown on the ghost directory for the user ghost. Does anyone know what could be causing the issue? Thanks.

Hey @LanceMaverick. Resized images are generated on the first request, so you might have to visit the page to see them in the content directory :+1:

I have the same issue. It is only for the featured image. The images inside the posts work well

I have the same problem but can’t find any documentation about why.
I’ve used the importer to import JSON (from an old Ghost site) and I uploaded my old images folder via SFTP.
I can confirm that the images exist and are at the correct urls. But when opening the url in a browser I get a 404 error.
I have already made sure ghost is the owner of all the image files

Is this maybe a mixed http/https error? What do the errors in the browser console say?

My problem was tied to the fact that my last ghost install was in a subdirectory.

If you’re migrating from another platform, keep in mind that each import would need to use the same file path structure found in the export generated by the platform (e.g. include the /content/images/ path).

:woman_facepalming:t5: