Join the community today
Register Now

uninstall script feature request

Discussion in 'Feature Requests & Suggestions' started by joshuah, Apr 29, 2017.

  1. joshuah

    joshuah Member

    121
    14
    18
    Apr 3, 2017
    Ratings:
    +17
    Local Time:
    10:05 PM
    It would be great to echo the name of the database as you uninstall it.. or at least give a prompt to ask if you want to drop it.


    /root/tools/wp_uninstall_domain.com.au.sh
    -------------------------------------------------------------------------
    Do you want to uninstall/delete WP install for domain.com.au
    This will delete all data from /home/nginx/domains/domain.com.au
    including any non-wordpress data installed at /home/nginx/domains/domain.com.au
    Note: This script will not drop the database, please remove xyzssksksk database using this command mysql xxxxxxxx
    -------------------------------------------------------------------------
    Uninstall WP Install For domain.com.au [y/n]: y

    Restarting nginx (via systemctl): [ OK ]
     
  2. eva2000

    eva2000 Administrator Staff Member

    54,868
    12,239
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,810
    Local Time:
    9:05 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    done just updated 123.09beta01 with the change for all new wordpress auto installs via centmin.sh menu option 22 :)
     
  3. joshuah

    joshuah Member

    121
    14
    18
    Apr 3, 2017
    Ratings:
    +17
    Local Time:
    10:05 PM
    Awesome mate!! :) Thanks again.
     
  4. joshuah

    joshuah Member

    121
    14
    18
    Apr 3, 2017
    Ratings:
    +17
    Local Time:
    10:05 PM
    Also, just thinking.. is it possible to add a new directory under /home/nginx/domains/domain.tld/ called "tools" or "quickref". This can include an output of vhost SSL configuration locations, nginx, steps to reset wp-login password, wp db and login details, and even the uninstall script itself.

    At the moment, I am storing all this information in a secure location locally, but would be nice to have that information easily on hand in a good location like /home/nginx/domains/domain.tld/quickref/
     
  5. joshuah

    joshuah Member

    121
    14
    18
    Apr 3, 2017
    Ratings:
    +17
    Local Time:
    10:05 PM
    I honestly think that would be AWESOME :) Makes admin life much easier.
     
  6. eva2000

    eva2000 Administrator Staff Member

    54,868
    12,239
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,810
    Local Time:
    9:05 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+