- missing upload - The upload record is found in DB but the file is missing in the file storage.
- missing post upload - The upload record is not found in DB for an upload URL in the post.
I think those old scheme uploads are not found in the database and/or filesystem too.
You can do it by enabling the setting using the below command. It will migrate those upload if they’re found in DB and filesystem.
SiteSetting.migrate_to_new_scheme = true