My website disappeared

Issue Summary

I believe that after an update I lost everything I found the folder however I cant find the SQL folder, I got file local-lightning. Please someone can help, I am so nervous

Troubleshooting Questions

  • Does this happen for all sites in Local, or just one in particular?

  • Are you able to create a new, plain WordPress site in Local and access it in a Browser?


Describe the steps that others can take to replicate this issue. If you have screenshots that can help clarify what is happening, please include them!

System Details

  • Which version of Local is being used?

  • What Operating System (OS) and OS version is being used?
    Windows 11 Home

  • Attach the Local Log. See this Help Doc for instructions on how to do so:

local-lightning.log (63.6 KB)

Security Reminder

Local does a pretty good job of scrubbing private info from the logs and the errors it produces, however there’s always the possibility that something private can come through. Because these are public forums, always review the screenshots you are sharing to make sure there isn’t private info like passwords being displayed.

Hi @Erminio

Can you send a screenshot of what you’ve found?

If you can locate your Local site folder, you should be able to just re-zip/compress it and then drag and drop it back into Local to re-import.

Hi, I found 3 folders app, conf , logs

please let me know what can I do , tks a lot

Hi @Erminio

Per the instructions on our help doc below in the section, Restore from only Local site files you can try zipping everything up together and then importing that:

1 Like

I tried but is not working… help!!!
Was working great, after an update I lost my website

Do you know if I can restore my website with this files?

I tried many times but is showing that message:

I believe is because is missing the file .sql
How can I get this file just with I have right now??? :cold_sweat: :sob:

Hi @Erminio!

So there are no MySQL or SQL folders anywhere within that Local Sites folder? Does it only have the App/Public items?

You could create a new, blank website in Local and manually replace the WP-Content directory with the one on your desktop, but you’ll be missing any of the database content unless you’re able to locate that or have another backup stored with a host or elsewhere.

In the future, you can always use our Cloud Backups feature to keep your work safe: Cloud Backups

Hello Nick
I have folder conf/mysql/my.cnf
this can help?

What about when you open this App folder? What is in there? Image 2023-06-03 at 9.49.01 AM

just a folder public and inside:

Hi @Erminio - Unfortunately if there isn’t a SQL file in that App folder and you can’t locate one anywhere else on your machine it might be lost. So the only thing you could do would be to create a fresh site from scratch and restore the wp-content only.

Was this a site you built only in Local? Or did it come from a hosted environment somewhere originally?

I got my old old backup in my last host, however, my media gallery is not showing my images, but I can see when my website is running, other problem is when I save some changes in my page show me an error
An error has occurred while saving your page. Various problems can cause a save to fail, such as a lack of server resources, firewall blockages, plugin conflicts or server misconfiguration. You can try saving again by clicking Try Again, or you can download a backup of your unsaved page by clicking Download Backup. Backups can be restored using the portability system while next editing your page.

Contacting your host and asking them to increase the following PHP variables may help: memory_limit, max_execution_time, upload_max_filesize, post_max_size, max_input_time, max_input_vars. In addition, auditing your firewall error log (such as ModSecurity) may reveal false positives that are preventing saves from completing.

Lastly, it is recommended that you temporarily disable all WordPress plugins and browser extensions and try to save again to determine if something is causing a conflict.

In my folder I can see all the images wp-contents/upload

Hi @Erminio

You can use the instructions at the bottom of this help article to try raising those PHP variables as needed.

There could also be a plugin conflict. As the error message indicates you might try disabling all plugins, and then turning them back on 1 at a time to see if a specific plugin causes the error to reappear.

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.