I've got a Media Library mess on my hands. Transferred old site to staging server for redesign and uploaded large .../content/uploads
via FTP after I was unsuccessful in importing media files thru the Wordpress Importer. All pages and posts imported fine. Changed all urls to the staging server domain - no problem, but lost all attachments to media in pages and posts. Used "Add from Server" plugin to try and register the uploads
folder to the Media Library. It returned a lot of results, but no media re-attached. All embedded links to to media in posts and pages are broken and all Featured Images result in the monochrome beachball within the Featured Image widget within the right sidebar post editor. I've spent hours trying to sort this -- disabled all plugins, contacted Theme publisher (Divi), searched WP Forum and finally searched here for awhile. Lots of similar issues, but no joy. Finally, I thought I'd just bite the bullet and go thru all the posts manually and replace all media within posts thru Add Media function and remove and reapply all Featured Images in the sidebar thru the media search function as Featured Images cannot be selected in anything but Grid view.
What I'm looking at now -- Media Library list view shows all images, but none are attached even after replacing them manually. Media Library ALL IMAGES Grid View only shows a fraction of all the media available in List View. Media Library (Unattached) Grid View shows all images, but after manual replacing nothing moves over as added to ALL MEDIA Grid View... and again, nothing is attached anywhere.
I mean, it working on the front end, but the reason this is important to me is that once the redesign is done I'm only going to be using maybe 100 of 1000 images in the uploads folder and if I can't register or differentiate the active images from the others, there's not going to be any way to clean this site up and get it down to a reasonable size.
Man, that's a long explanation. There's a possibility this is a simple, knuckle-headed move on my part, but I've used this same process dozens of times and never had an issue after querying the DB for the domain change. Any idea what I'm doing wrong? Many thanks in advance.
Theme: Divi 4.0
Staging Domain: http://langston.combsdoadly.com
WP Version: 5.2.4
PHP Version: 7.3
Same behavior in all browsers