Learn about Centmin Mod LEMP Stack today
Become a Member

Upgrade centmin does not work anymore

Discussion in 'Install & Upgrades or Pre-Install Questions' started by upgrade81, May 20, 2018.

  1. upgrade81

    upgrade81 Premium Member Premium Member

    136
    6
    18
    Sep 5, 2016
    Italy
    Ratings:
    +8
    Local Time:
    6:40 PM
    1.13.8
    10
    after launching a cmupdate "with an error" below:

    Code (Text):
    cmupdate
    
    Detected Centmin Mod Github Remote Repo Changes
    setting up fresh /usr/local/src/centminmod code base to match
    
    Cloning into 'centminmod'...
    fatal: unable to access 'https://github.com/centminmod/centminmod.git/': Could not resolve host: github.com; Unknown error
    
    Completed. Fresh /usr/local/src/centminmod code base in place
    To run centmin.sh again, you need to change into directory: /usr/local/src/centminmod
    cd /usr/local/src/centminmod
    


    Centmin no longer exists. the directory is non-existent

    Code (Text):
    centmin
    /usr/bin/centmin: line 2: pushd: /usr/local/src/centminmod: No such file or directory
    bash: centmin.sh: No such file or directory
    


    WTF?

    Code:
    ping google.com
    ping: google.com: Name or service not known
    
     
    Last edited: May 20, 2018
  2. upgrade81

    upgrade81 Premium Member Premium Member

    136
    6
    18
    Sep 5, 2016
    Italy
    Ratings:
    +8
    Local Time:
    6:40 PM
    1.13.8
    10
    • Agree Agree x 1
  3. eva2000

    eva2000 Administrator Staff Member

    36,387
    7,992
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,304
    Local Time:
    2:40 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    you network connectivity in your VPS is down or not 100% working what do you get from these commands
    Code (Text):
    ping -c4 github.com
    

    Code (Text):
    ping -c6 github.com
    

    ensure you have working DNS resolvers
    Code (Text):
    cat /etc/resolv.conf
    

    for example i use cloudflare and google public DNS resolvers in /etc/resolv.conf
    Code (Text):
    options rotate
    options timeout:1
    nameserver 1.1.1.1
    nameserver 8.8.8.8
    

    If you can't ping and have working DNS resolvers in /etc/resolv.conf, contact your web host.

    Once fixed and have network connectivity to internet, you can re-setup fresh copy of Centmin Mod local code via commands below by wiping /usr/local/src/centminmod as outlined similar to update guide here for older than .07 releases.

    replace branchname with branch you want either 123.08stable or 123.09beta01
    Code (Text):
    branchname=123.09beta01
    cd /usr/local/src
    rm -rf centminmod*
    git clone -b ${branchname} --depth=1 https://github.com/centminmod/centminmod.git centminmod
    cd centminmod
    ./centmin.sh
     
    • Agree Agree x 1
..