By munchies on
I'm trying to reinstall Drupal.
After Database Configuration, I get this message:
"Drupal already installed
* To start over, you must empty your existing database and replace the appropriate settings.php with an unmodified copy.
* To install to a different database, edit the appropriate settings.php file in the sites folder."
I seem to remember doing something to the settings.php on the original install, but I cannot find specifically what in my notes.
Any thoughts? I promise to write it down!! (Again.)
Comments
Delete it all
If you are just looking to blow everything away and start from scratch, delete all of your Drupal files and delete the database. Then recreate the database and reinstall Drupal. Of course, you lose all of your work and content that way, but I can't quite tell what it is you are looking to do.
Delete Database. Got it.
I deleted the files but not my beloved database. I will try that.
What about without loss?
Is it possible (using Drupal 7) RE-Install Drupal, without remove the data? I got an error and I want to try to re-install it without loss.
Thanks in advance and regards.
Uninstall / Reinstall
I think you should delete all files in pubile_html and upload again.
If you want to re-install
If you want to re-install Drupal, you can empty
$databases = array();variable in settings.php file and then access your site in browser. This will automatically start installation of Drupal.Yogesh
http://yogeshchaugule.com/blog
Thanks you.
Hi, I couldn't try what you said, because I don't have the right permissions on the hosting, so I can edit that file, but I sent an email to the hosting provider to allow me to do it by SSH.
I will let you know if it works as soon as I got it.
I have something corrupted in the core (I think) so I need to "RE-install" it but without loss.
And, one more time, thank you, I opened an issue (https://www.drupal.org/node/2753123) but I didn't have luck yet.
Thanks.
Re-installing will start site
Re-installing will start site from scratch and you won't be able to access anything from earlier database. If your site was running earlier, then try running update.php by accessing site.com/update.php in browser. If this is not accessible, then change
$update_free_accessvariable in settings.php toTRUE, i.e.$update_free_access = TRUE;and then access in browser. Also try steps provided in "Corrupted Drupal file(s)", if that helps.If running update.php doesn't work, try checking Drupal Logs directly in watchdog table or check Apache2 Logs.
Yogesh
http://yogeshchaugule.com/blog
Thanks. Will let you know asap.
I couldn't, due permission denied. I am still waiting SSH access from my hosting side in order to be able to edit settings.php file, as soon as they grant my access, I will follow your tips.
Thanks again and I will let you know.
Drupal installation
I'm unable to install drupal 8. After setting up databse, it says drupal 8 installed already. I dropped all tables from databse and installed it again. I changed in settings.php also. I emptied it. Yet, it's giving me the same error. Can you please tell me about how to fix this? Current version of drupal which i'm using is 8.4.0
you create a new database
you hava an alternative option you create a new database for drupal. it is easier but your previous database is useless.
so,you can delete previous database for your comfortable.
Even after using the new
Even after using the new databse it says drupal already installed