Get the most out of your Centmin Mod LEMP stack
Become a Member

centmin.sh Centmin Gone Suddenly

Discussion in 'Bug Reports' started by skringjer, Jan 23, 2021.

Tags:
  1. skringjer

    skringjer Member

    156
    19
    18
    Apr 21, 2019
    Ratings:
    +34
    Local Time:
    8:06 PM
    Please fill in any relevant information that applies to you:
    • CentOS Version: 7.8
    • Centmin Mod Version Installed: 23.09beta01
    • Nginx Version Installed: 1.19.4
    • PHP Version Installed: 7.4.12
    • When was last time updated Centmin Mod code base ? : Auto Updates
    • Persistent Config:
      Code (Text):
      LETSENCRYPT_DETECT='y'
      

    Greetings everyone, suddenly i am trying to run centmin commands but it dosent work

    centmin
    Code:
    /usr/bin/centmin: line 2: pushd: /usr/local/src/centminmod: No such file or directory
    /usr/bin/centmin: line 2: ./centmin.sh: No such file or directory
    cmupdate
    Code:
    -bash: cmupdate: command not found
    What should i do? it started happening suddenly, the sites are fine and up but i cant access centmin menu

     
  2. skringjer

    skringjer Member

    156
    19
    18
    Apr 21, 2019
    Ratings:
    +34
    Local Time:
    8:06 PM
  3. eva2000

    eva2000 Administrator Staff Member

    46,663
    10,592
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +16,439
    Local Time:
    1:06 AM
    Nginx 1.19.x
    MariaDB 5.5/10.x
    Just do a fresh Centmin Mod code replacement 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

    first verify that github repo link is working and you don't have connectivity issues to github.com via curl header inspection - look for HTTP 200 status code = ok
    Code (Text):
    curl -I https://github.com/centminmod/centminmod
    

    example
    Code (Text):
    curl -I https://github.com/centminmod/centminmod
    HTTP/1.1 200 OK
    Server: GitHub.com
    Date: Fri, 03 May 2019 09:37:50 GMT
    Content-Type: text/html; charset=utf-8
    Status: 200 OK
    

    Then do clean Centmin Mod code replacement using below SSH commands
    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