Question

How to reset 1-click installation on the droplet without destroying it and rebuilt it again?

Posted January 17, 2021 381 views
WordPress

Hi. I’ve a 1-click WordPress install that I need to reset without destroying it. How do I go about doing this? My reason for doing this is that I, for some reason, cannot log into the WP admin panel. I know I’m entering the right password and username as I have SSH’d into the Droplet and copied and typed it in, character for character. I have have no problem starting from scratch, but I don’t want to lose to the IP/domain that are already connected.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
Submit an Answer
2 answers

Hi @yuvrajsingh1,

I would suggest you use WP-CLI and change the user password from there rather than resetting the droplet. You can check it out here :

https://wp-cli.org/

It’s a powerful WordPress tool that helps you manage your WordPress website from your command line and in cases such as this is really helpful.

As for rebuilding your droplet and if you still want to go with that option, Instead of destroying the droplets, you will instead navigate to the destroy page in the control panel but use the rebuild option. The drop-down menu will display all the disk images you have available.

Regards,
KFSys

  • I will try WP-CLI, but I think the admin area is gone – I know I’m entering the right password, as I’m copying it directly from the database.

    I can’t find the 1-Click Install in the disk images from the “Rebuild” option? Is there a way to do that? Or if not, how do I get Wordpress started on it from a base Ubuntu image?

Hello,

You can easily recover your WordPress password by accessing the admin area login page and click the “Lost your password?” link. You can then enter either your Username or Email Address to receive the new password.

The other option is the reset the password from the WordPress database directly. You can check the following mini tutorial on how to do this here:

https://www.digitalocean.com/community/questions/reseting-wordpress-admin-password-via-the-command-line-terminal

Regards,
Alex

  • Hi Alex,

    I’ve tried that, but I haven’t gotten the emails. I’ve even checked spam. I think the admin area might just be gone, as I went to the database and copied out the exact password. Rebuilding might be my best choice, but I don’t see an option for 1-Click Applications (for Wordpress), just the Ubuntu images. How do I get WordPress running on them?

    • Hello, yuvrajsingh1

      I will still recommend you to try resetting the password from the database and give it another go before you proceed with another install.

      There is no way to simply rebuild the droplet. You will need to either spin up a new droplet using the one-click app from our marketplace

      https://marketplace.digitalocean.com/apps/wordpress

      or to install WordPress manually on a Ubuntu (LAMP or LEMP stack) droplet by following this tutorial:

      https://www.digitalocean.com/community/tutorials/how-to-install-wordpress-on-ubuntu-20-04-with-a-lamp-stack

      You can also make a copy of the current wp-content/uploads directory of your droplet as in this way you wont have to re-upload the images on the new WordPress installation, bu rather just copy them over once the new installation is up and running.

      Hope that this helps!
      Regards.
      Alex

      by Lisa Tagliaferri
      WordPress is an extremely popular open-source technology and WordPress sites represent 36% of all websites that are currently online. This tutorial is intended for those who are comfortable with system administration or for those who are interested in learning how to administer your own WordPress instance on the server side. In this guide, we’ll install and set up WordPress via LAMP on a Linux Ubuntu 20.04 server.