Destroyed media database – help !
-
I seem to have destroyed my 20,000+ item media database (over 250,000 thumbnails). Before the issue occurred, several files were scaled and cropped within wordpress. I also changed the wordpress thumbnail sizes. I also migrated my images to Cloudflare Images Edge, keeping origin server masters.
‘Something’ went wrong at ‘some point’ and ‘everything broke’ giving me my worst tech issue in over 20 years (well, ever). Two examples of issues a) hardcoded image path to a specicfc size thumbnail that doesn’t exist b) image gallery shortcode of attachment_IDs displays blank images (but if I edit the image it finds something)
(I’ve been working for the last 60+ hours on this!)
I cant restore from a backup because I was unaware of the problem for a month. I would lose a month of work of have to perform some sort of export/import of content+images + configuration changes (of which there are many)
Your free tool found only about 10 images on disk (all with -scaled.jpg suffixes). I’m not concerned about those.
What I’ve done to fix:
- I’ve added a more comprehensive list of thumbnail sizes covering sizes I had before and sizes I have now.
- “Regenerate thumbnails” seems to have improved things. I’m as yet unable to get through the full list of 20k files
- I’m running wp-smush on a ‘cant hurt basis’
- I have run “broken link checker.” I’ve reduced the number of broken links from thousands to about 30, so that’s the job done for the more obvious errors. I’m not bothered about 30
- question. Can your Pro Tool fix my remaining issues? a. The remaining issue seems to be attachment_IDs that don’t properly resolve to images especially from galleries
- question. Can your Pro Tool fix my remaining issues? b. bring together all variants of original files, those with -scaled in their name and others with an odd suffix added, like e1590005335934 in this file AJ-Bell-London-Triathlon-Standard-Olympic-Route-e1590005335934.png
One complicating factor is that I can make changes on the origin, but they are not necessarily reflected on the edge. So I might think a file is ok but it is not to the rest of the world (unless I specifically double-check…there is a LOT of double-checking to do)
Basically I need a ‘fix everything’ media tool that consider the attachment_ID and then links every child thumbnail version, and scaled child, and resized child (defined by the first part of the image name)
can your tool do that please?
(the linked url contains numerous examples)
The page I need help with: [log in to see the link]
The topic ‘Destroyed media database – help !’ is closed to new replies.