Learn about Centmin Mod LEMP Stack today
Become a Member

Upgrade Update Centminmod Code Base

Discussion in 'Install & Upgrades or Pre-Install Questions' started by dorobo, Mar 16, 2017.

  1. dorobo

    dorobo Active Member

    420
    104
    43
    Jun 6, 2014
    Ratings:
    +161
    Local Time:
    8:27 AM
    latest
    latest
    while trying to update centminmod code base using 23 in the options, I accidentally chose 1 instead of 2. I panicked and pressed ctrl-C but now it seems /usr/local/src/centminmod has been deleted.

    Code (Text):
    --------------------------------------------------------
            Centmin Mod Updater Sub-Menu              
    --------------------------------------------------------
    1). Setup Centmin Mod Github Environment
    2). Update Centmin Mod Current Branch
    3). Update Centmin Mod Newer Branch
    4). Exit
    --------------------------------------------------------
    Enter option [ 1 - 4 ] 1
    --------------------------------------------------------
    
    setup Centmin Mod git sourced install...
    
    download github.com centmin mod 123.09beta01 branch repo
    time git clone -b 123.09beta01 --depth=1 https://github.com/centminmod/centminmod.git centminmod
    Cloning into 'centminmod'...
    ^C[19:57][root@iota.domain.com centminmod]# ./centmin.sh
    -bash: ./centmin.sh: No such file or directory
    [19:57][root@iota.domain.com centminmod]# ./centmin.sh
    -bash: ./centmin.sh: No such file or directory
    [19:57][root@iota.domain.com centminmod]# cd /usr/local/src/centminmod
    -bash: cd: /usr/local/src/centminmod: No such file or directory
    

     
  2. Colin

    Colin Premium Member Premium Member

    108
    32
    28
    Oct 7, 2015
    Sheffield UK
    Ratings:
    +80
    Local Time:
    1:27 AM
    1.11.#
    MariaDB 10.1.#
    I've seen this before, early on. Actually had a ssh drop as I was doing the setup stage, equiv to ctrl+c...
    Guessing as I've not got the code open, the setup has to clear out centminmod to prep for the git clone. Git can't easily clone into a populated directory.

    If you've not sussed it already
    Code:
    cd /usr/local/src && git clone -b 123.09beta01 --depth=1 https://github.com/centminmod/centminmod.git centminmod
     
    • Agree Agree x 1
    • Informative Informative x 1
  3. eva2000

    eva2000 Administrator Staff Member

    28,987
    6,579
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,767
    Local Time:
    10:27 AM
    Nginx 1.13.x
    MariaDB 5.5
    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
    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