I've upgraded a site from 3.8.9 to 4.2.3 and then from 4.2.3 to 5.2.2
However, I've just noticed that some, not all, attachments are missing.
I've just read about the attachment deletion error...