Join the community today
Become a Member

Centmin Mod Github Environment Error

Discussion in 'Bug Reports' started by pamamolf, Aug 25, 2015.

  1. pamamolf

    pamamolf Premium Member Premium Member

    4,074
    427
    83
    May 31, 2014
    Ratings:
    +833
    Local Time:
    12:50 AM
    Nginx-1.25.x
    MariaDB 10.3.x
    Hi


    On a vps i install latest 09 beta and then i use the:
    Code:
    1). Setup Centmin Mod Github Environment
    and all was fine and then i run:
    Code:
    2). Update Centmin Mod Current Branch
    and i got this:
    Code:
    Error: you do not have git environment setup for github based updates
           run submenu option 1 to setup github environment first
    Some output:

    Code:
    --------------------------------------------------------
            Centmin Mod Updater Sub-Menu
    --------------------------------------------------------
    1). Setup Centmin Mod Github Environment
    2). Update Centmin Mod Current Branch
    3). Update Centmin Mod Newer Branch
    4). Back to Main menu
    --------------------------------------------------------
    Enter option [ 1 - 4 ] 1
    --------------------------------------------------------
    
    setup Centmin Mod git sourced install...
    
    download github.com centmin mod 123.09beta01 branch repo
    Cloning into 'centminmod'...
    Switched to a new branch '123.09beta01'
    Branch 123.09beta01 set up to track remote branch 123.09beta01 from origin.
    
    list all available local branches
            git branch -a
    * 123.09beta01
      master
      remotes/origin/123.06stable
      remotes/origin/123.07stable
      remotes/origin/123.08beta03
      remotes/origin/123.08beta03-el7ffmpeg-fix
      remotes/origin/123.08beta03-libresslclang
      remotes/origin/123.08beta03-rtmp
      remotes/origin/123.08beta03clang
      remotes/origin/123.08beta03curl743
      remotes/origin/123.08beta03libressl
      remotes/origin/123.08beta03redis
      remotes/origin/123.08centos7beta01
      remotes/origin/123.08centos7beta02
      remotes/origin/123.08stable
      remotes/origin/123.08zerodown
      remotes/origin/123.09beta01
      remotes/origin/HEAD -> origin/master
      remotes/origin/master
    
    list git log last commit
            git log -a
    commit 332b41f6f4ecb31a5da2787e4e741fc12741c584
    Author: George Liu <eva2000@centminmod.com>
    Date:   Tue Aug 25 13:39:18 2015 +1000
    
        update Nginx vhost autogen to support HTTP Public Key Pinning for SSL
    
        for 123.09beta01 https://community.centminmod.com/posts/17649/
    
    to update centmin mod 123.09beta01 branch repo via git
            cd /usr/local/src/centminmod
            git stash
            git pull
            chmod +x centmin.sh
    
    --------------------------------------------------------
            Centmin Mod Updater Sub-Menu
    --------------------------------------------------------
    1). Setup Centmin Mod Github Environment
    2). Update Centmin Mod Current Branch
    3). Update Centmin Mod Newer Branch
    4). Back to Main menu
    --------------------------------------------------------
    Enter option [ 1 - 4 ] 2
    --------------------------------------------------------
    
    Error: you do not have git environment setup for github based updates
           run submenu option 1 to setup github environment first

    VPS OS: CentOS Linux release 7.1.1503 (Core)
     
  2. eva2000

    eva2000 Administrator Staff Member

    54,051
    12,176
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,734
    Local Time:
    8:50 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    After setting up git environment via centmin.sh menu option 23 submenu option 1, you need to edit out of centmin.sh and re-run centmin.sh example posted for Nginx HTTP/2 update Nginx - First Alpha Patch for Nginx HTTP/2 support | Centmin Mod Community where you