after migration, newly uploaded images won’t show up

The problem was that the upload folder still was defined as /dev. I changed that using the upload url path enabled plugin.