After migrating some post form the old site I missed the media library. So I had to go post by post uploading old images and inserting. Everything works fine except for the featured images. The img tag is generated with no href. The files upload correctly to the site and are shown on the media library.