Learn about Centmin Mod LEMP Stack today
Become a Member

Centmin 23. Update code base

Discussion in 'Bug Reports' started by JarylW, Jan 29, 2017.

  1. JarylW

    JarylW Active Member

    213
    39
    28
    Jun 19, 2014
    Singapore
    Ratings:
    +99
    Local Time:
    11:04 AM
    Please fill in any relevant information that applies to you:
    • CentOS Version: CentOS 7 64bit ?
    • Centmin Mod Version Installed: 123.09beta01
    • Nginx Version Installed: N/a
    • PHP Version Installed: n/a
    • MariaDB MySQL Version Installed: n/a
    • When was last time updated Centmin Mod code base ? Acidentally ran option 1 , and terminated the command with ctrl + c . this broke the entire centmin menu.
    Perhaps do a check before initializing git?
     
    • Like Like x 1
  2. eva2000

    eva2000 Administrator Staff Member

    29,051
    6,593
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,789
    Local Time:
    1:04 PM
    Nginx 1.13.x
    MariaDB 5.5
    centmin.sh menu option 1 should of not worked on existing installs hmm

    thanks for heads up

    To fix the centmin menu, for now 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
     
  3. eva2000

    eva2000 Administrator Staff Member

    29,051
    6,593
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,789
    Local Time:
    1:04 PM
    Nginx 1.13.x
    MariaDB 5.5
    oh you mean centmin.sh menu option 23 submenu option 1 ? in that case you can let it ran anyway, all it does is what i outlined above in 2nd post, freshen your local server's /usr/local/src/centminmod code base code :)
     
  4. JarylW

    JarylW Active Member

    213
    39
    28
    Jun 19, 2014
    Singapore
    Ratings:
    +99
    Local Time:
    11:04 AM
    Yea already did it. Was surprised it cleaned out my whole folder though :)

    Edit: isn't this option the one to switch branches?
    3) Update Centmin Mod Newer Branch
     
  5. eva2000

    eva2000 Administrator Staff Member

    29,051
    6,593
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,789
    Local Time:
    1:04 PM
    Nginx 1.13.x
    MariaDB 5.5
    intended action for centmin.sh menu option 23 submenu option 1. submenu option 3 does the same for switching branches ;)
     
    • Like Like x 1
  6. JarylW

    JarylW Active Member

    213
    39
    28
    Jun 19, 2014
    Singapore
    Ratings:
    +99
    Local Time:
    11:04 AM
    Ah I thought input same branch on option 3 should perform that action, and option 1 was simply for a first-time setup of the git environment . Misinterpreted :D