Learn about Centmin Mod LEMP Stack today
Register Now

wp_uninstall script

Discussion in 'Feature Requests & Suggestions' started by EckyBrazzz, Jun 27, 2019.

  1. EckyBrazzz

    EckyBrazzz Active Member

    884
    186
    43
    Mar 28, 2018
    >>>>Click here<<<< i'm nearby......
    Ratings:
    +342
    Local Time:
    7:54 PM
    Latest
    Latest
    Last day I made transfers of many domains to another server and deleted the old one on the server that I'm going to dump.

    But, using the wp_uninstall is a little confusion, it does its job, but only forgets to delete itself.

    This gives confusion on the already uninstalled vhost and you have to check them manually.

    It would be nice if the uninstall script would uninstall itself after it has done his job to keep a clean environment and ease of use. When you got over a 100+ domains it's much search to find the correct scripts that you did not use before.
     
  2. eva2000

    eva2000 Administrator Staff Member

    46,179
    10,499
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +16,278
    Local Time:
    8:54 AM
    Nginx 1.19.x
    MariaDB 5.5/10.x
    will look into this - might make it a prompt for delete so end users can confirm deletion
     
  3. EckyBrazzz

    EckyBrazzz Active Member

    884
    186
    43
    Mar 28, 2018
    >>>>Click here<<<< i'm nearby......
    Ratings:
    +342
    Local Time:
    7:54 PM
    Latest
    Latest
    The same for the wp_updater
     
  4. eva2000

    eva2000 Administrator Staff Member

    46,179
    10,499
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +16,278
    Local Time:
    8:54 AM
    Nginx 1.19.x
    MariaDB 5.5/10.x
    uninstall script for wordpress should remove the wp_updater_*.sh scripts from cronjob - they aren't doing that for you ?
     
  5. EckyBrazzz

    EckyBrazzz Active Member

    884
    186
    43
    Mar 28, 2018
    >>>>Click here<<<< i'm nearby......
    Ratings:
    +342
    Local Time:
    7:54 PM
    Latest
    Latest
    They uninstall the cron, but in /root/tools they still exist.
     
  6. eva2000

    eva2000 Administrator Staff Member

    46,179
    10,499
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +16,278
    Local Time:
    8:54 AM
    Nginx 1.19.x
    MariaDB 5.5/10.x
    strange the /root/tools/wp_updater_yourdomain.com.sh should be removed too via wp_uninstall_yourdomain.com.sh script
     
  7. EckyBrazzz

    EckyBrazzz Active Member

    884
    186
    43
    Mar 28, 2018
    >>>>Click here<<<< i'm nearby......
    Ratings:
    +342
    Local Time:
    7:54 PM
    Latest
    Latest
    Yeah, it has
    Code (Text):
    rm -rf /root/tools/wp_updater_domain.com.sh
    .
    Had a closer look and it gets deleted, sorry my mistake. Guess I mixed up some servers.