Discover Centmin Mod today
Register Now

Upgrade CentminMod seems to have disappeared

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

  1. BamaStangGuy

    BamaStangGuy Premium Member Premium Member

    651
    189
    43
    May 25, 2014
    Ratings:
    +264
    Local Time:
    8:02 AM
    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

    45,677
    10,371
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +16,094
    Local Time:
    12:02 AM
    Nginx 1.19.x
    MariaDB 5.5/10.x
    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

    45,677
    10,371
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +16,094
    Local Time:
    12:02 AM
    Nginx 1.19.x
    MariaDB 5.5/10.x
  4. BamaStangGuy

    BamaStangGuy Premium Member Premium Member

    651
    189
    43
    May 25, 2014
    Ratings:
    +264
    Local Time:
    8:02 AM
  5. eva2000

    eva2000 Administrator Staff Member

    45,677
    10,371
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +16,094
    Local Time:
    12:02 AM
    Nginx 1.19.x
    MariaDB 5.5/10.x
    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