Botched Drupal Update... how to restore?
-
I deleted my entire drupal installation after a botched upgrade attempt. I have the /sites folder and the SQL database both backed up.... how do I restore my Drupal installation to how it was? I was following the update directions (I think I was upgrading to version 6.6 from version 6.4, but I am not sure), and something went wrong. After deleting my entire drupal installation like the directions said, I uploaded 6.6, uploaded my /sites folder, then I ran update.php. AFter this process appeared to be complete I tried to browse around the control panel of my site and all of the pages came up 404.... ANYWAYS, to make a long story short, now I am left with an empty directory, my /sites folder, and my SQL database backup...... can you please give me some guidance on how I can restore my drupal to how it was? Thanks so much - I am in big trouble on this one.
-
Answer:
Correction: The original version was Drupal 6.1
yoyoceramic at Ask.Metafilter.Com Visit the source
Other answers
If you don;t want to do the upgrade, download 6.1 and upload it to the server. Replace the "sites" directory with your backup. That should bring you back online. Then you can check out options for doing the upgrade.
Nothing
I should rephrase: you should upgrade. But the quickest path to being back online is to go back to 6.1. Then install 6.1 on a local machine, or in another directory, and do some testing of the upgrade in a place where it does not make your site go down if it fails.
Nothing
One more thing: after you re-install the 6.1 files and your /sites directory, you will need to restore your database. The upgrade will have modified it, possibly past the point where the site can function. So: Download 6.1, unzip, upload the entire thing to your Drupal root folder. Upload your /sites folder, overwriting the one you just re-installed. Before doing anything else, restore your database. If that doesn't do it, get back to us.
bricoleur
all of the pages came up 404.... Very often when I encounter this in Drupal, it's because of a URL rewriting problem -- updating versions is not going to delete your content. Try going to yourdomain.com?q=admin/settings/clean-urls (be sure to include the ?q=) and turn off clean URLs if it's turned on. If that fixes the access problem, then most likely there is an error in your .htaccess file -- possibly a missing .htaccess file -- and the server is not correctly rewriting the URLs.
camcgee
Thanks for the help, everyone. I have done as you said, and 6.1 is back up and running. Thankfully the database did not seem to be altered by the attempted update. After I get my act together, I am going to go for the upgrade again, hopefully with better luck this time. Thanks
yoyoceramic
Related Q & A:
- How to restore windows 7 without losing data?Best solution by Super User
- How to restore favorites on toolbar?Best solution by Yahoo! Answers
- How to restore emails from outlook to yahoo server?Best solution by Yahoo! Answers
- How to restore deleted emails?Best solution by Super User
- How to restore your computer to factory settings without a disk?Best solution by Yahoo! Answers
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.