Welcome to Centmin Mod Community
Become a Member

Uninstalling Wordpress

Discussion in 'Blogs & CMS usage' started by Mrbo, Jun 24, 2018.

  1. Mrbo

    Mrbo Member

    112
    7
    18
    Jun 17, 2018
    Ratings:
    +7
    Local Time:
    4:35 AM
    The "/root/tools/wp_uninstall_domain.com.sh" command worked on a test wordpress installation but than when i try it on another installation it doesnt work:


    Code:
    [root@~]# /root/tools/wp_uninstall_test.com.sh
    -------------------------------------------------------------------------
    Do you want to uninstall/delete WP install for test.com
    

    Code:
    [root@~]# /root/tools/wp_uninstall_mbmassageterapi.se.sh
    -bash: /root/tools/wp_uninstall_mbmassageterapi.se.sh: No such file or directory

    But its there:
    Code:
    [root@ home]# cd /home/nginx/domains/
    [06:13][root@ domains]# ls -alh
    drwxr-s---. 6 nginx nginx 4.0K Jun 24 05:32 mbmassageterapi.se
    

     
  2. eva2000

    eva2000 Administrator Staff Member

    45,662
    10,361
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +16,080
    Local Time:
    7:35 AM
    Nginx 1.19.x
    MariaDB 5.5/10.x
    was mbmassageterapi.se installed via centmin.sh menu option 2 (non-wordpress) or 22 (wordpress) options ? if setup via centmin.sh menu option 2 it won't have a wp_uninstall* script for it

    To properly remove an Nginx vhost the instructions are on official site at How to delete Nginx vhost account for existing domain/subdomain ? as well as on each Nginx vhost creation's ending output too lists the commands.

    You also get a log file for each Nginx vhost created which also lists the commands in 123.09beta01 and higher example for http2.domain.com remove log at /root/centminlogs/centminmod_140218-021218_nginx_addvhost_nv-remove-cmds-http2.domain.com.log
    Code (Text):
    ls -lahrt /root/centminlogs/ | grep remove
    -rw-r--r--   1 root root 1.3K Feb 14 02:12 centminmod_140218-021218_nginx_addvhost_nv-remove-cmds-http2.domain.com.log
    
     
  3. Mrbo

    Mrbo Member

    112
    7
    18
    Jun 17, 2018
    Ratings:
    +7
    Local Time:
    4:35 AM
    Thanks!
    Just want to say that what you have done and are doing is amazing. Cant believe how much great information there is and how much effort and care you´ve put into this. Thanks a lot once again for making life easier for a guy trying to learn!
     
  4. eva2000

    eva2000 Administrator Staff Member

    45,662
    10,361
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +16,080
    Local Time:
    7:35 AM
    Nginx 1.19.x
    MariaDB 5.5/10.x
    Thanks for the kind words - very much appreciated :)