Join the community today
Register Now

Centmin 23. Update code base

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

  1. JarylW

    JarylW Active Member

    216
    41
    28
    Jun 19, 2014
    Singapore
    Ratings:
    +103
    Local Time:
    1:39 PM
    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?

     
  2. eva2000

    eva2000 Administrator Staff Member

    53,190
    12,113
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,649
    Local Time:
    3:39 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    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

    53,190
    12,113
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,649
    Local Time:
    3:39 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    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

    216
    41
    28
    Jun 19, 2014
    Singapore
    Ratings:
    +103
    Local Time:
    1:39 PM
    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

    53,190
    12,113
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,649
    Local Time:
    3:39 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    intended action for centmin.sh menu option 23 submenu option 1. submenu option 3 does the same for switching branches ;)
     
  6. JarylW

    JarylW Active Member

    216
    41
    28
    Jun 19, 2014
    Singapore
    Ratings:
    +103
    Local Time:
    1:39 PM
    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