Updating Sites is now BREAKING them - How to get back in or revert?

Hi, while at first I thought my sites were breaking due to a theme update, I just tried updating a site that did NOT have this specific theme installed and only ONE plugin. Right after I updated the plugin, the site broke into Error 500. For some reason, the “updating” functionality on my local install appears to be breaking my sites! :frowning:

Before I panic about having lost all the work done on these sites, I have the sites backed up as previous versions (hopefully prior to these updates) on another disk, but they are NOT .zip archives, meaning I did NOT do export/backup of the sites. Its just a mirror on another disk.

How would I proceed to resurrect a site?

PS> I’m going to assume that my LbF 3.0.4 has become corrupt. I will download the pre-release 3.0.5 but I would still require help to resurrect the sites on a fresh install please @clay

PS2> Unable to resurrect using a command given before by @clay. Leads to this: ** (myloader:359): CRITICAL **: the specified directory is not a mydumper backup
root@d2d6967820d0:/#

Hey there!

Are you able to get the wp-content file and the database for those backed-up sites? If so you should be able to follow this help doc here to resurrect those sites into your fresh version of Local. Let us know if you are still having issues!

Keegan

1 Like

Does my sql folder have to contain all the extracted sql tables as per the screenshot at the link you sent me? Or would local.sql along with the wp-content folder be sufficient?

It’s confusing because my sites seem to only have local.sql in the sql folder, but if I look into the backups folder created by Local, I have zips that contain both flavors… some have the entire list, and some have only local.sql

Please clarify…

ALSO --> can it be imported/restored into a different version of the environment it was in when corrupted? (example, different PHP version …)

With Local you can import a site with a single sql file as long as it has all the data you need within that file. So you should be able to just use that local.sql file.

When importing you can use a different version of PHP however you might have some issues if you are using a different version of MySQL.

Keegan

Could a 500 Error be thrown IF it was just a matter of PHP version being different?
One of the sites I’m trying to restore using your technique is 500 error all around when View Site or Admin is clicked.