Welcome to Centmin Mod Community
Become a Member

centmin.sh Centmin Gone Suddenly

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

Tags:
  1. skringjer

    skringjer NoobMaster69

    208
    26
    28
    Apr 21, 2019
    Ratings:
    +43
    Local Time:
    7:42 PM
    Nginx 1.21.6
    MariaDB 10.3.x
    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 NoobMaster69

    208
    26
    28
    Apr 21, 2019
    Ratings:
    +43
    Local Time:
    7:42 PM
    Nginx 1.21.6
    MariaDB 10.3.x
  3. eva2000

    eva2000 Administrator Staff Member

    54,087
    12,177
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,735
    Local Time:
    12:42 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    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