Want more timely Centmin Mod News Updates?
Become a Member

Upgrade CentminMod seems to have disappeared

Discussion in 'Install & Upgrades or Pre-Install Questions' started by BamaStangGuy, Feb 22, 2019.

  1. BamaStangGuy

    BamaStangGuy Active Member

    669
    192
    43
    May 25, 2014
    Ratings:
    +272
    Local Time:
    10:15 PM
    Code:
    [12:03][root@li1848-37.members.linode.com ~]# cmupdate
    
    Detected Centmin Mod Github Remote Repo Changes
    setting up fresh /usr/local/src/centminmod code base to match
    
    Cloning into 'centminmod'...
    error: RPC failed; result=6, HTTP code = 0
    fatal: The remote end hung up unexpectedly
    
    Completed. Fresh /usr/local/src/centminmod code base in place
    To run centmin.sh again, you need to change into directory: /usr/local/src/centminmod
    cd /usr/local/src/centminmod
    Now /usr/local/src/centminmod doesn't exist.

     
  2. eva2000

    eva2000 Administrator Staff Member

    58,893
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    1:15 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    looks like your network connectivity temp issues or github side issues led to not being able to use git and so updated directory didn't happen

    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

    58,893
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    1:15 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
  4. BamaStangGuy

    BamaStangGuy Active Member

    669
    192
    43
    May 25, 2014
    Ratings:
    +272
    Local Time:
    10:15 PM
  5. eva2000

    eva2000 Administrator Staff Member

    58,893
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    1:15 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    I'll be updating 123.09beta01 with a smarter check routine for this so that before removing /usr/local/src/centminmod, will move it to /usr/local/src/centminmod-automoved and then do fresh git clone creation of /usr/local/src/centminmod directory. Then check if git clone was successful before removing /usr/local/src/centminmod-automoved. If git clone fails for reasons like above, restore previous /usr/local/src/centminmod-automoved directory to /usr/local/src/centminmod.

    update at https://community.centminmod.com/th...-routine-to-be-smarter-in-123-09beta01.16670/
     
    Last edited: Feb 22, 2019