Join the community today
Register Now

Strange thing, centmin is gone

Discussion in 'Install & Upgrades or Pre-Install Questions' started by Sunka, Nov 14, 2016.

  1. Sunka

    Sunka Active Member

    888
    230
    43
    Oct 31, 2015
    Rijeka, Croatia
    Ratings:
    +376
    Local Time:
    11:58 AM
    Nginx 1.13.3
    MariaDB 10.1.24
    After option 24 to exit from centmin:

    Code:
    -------------------------------------------------------------
     Centmin Mod remote branch has changed
     from https://github.com/centminmod/centminmod.git
     to
    -------------------------------------------------------------
     Do you want to update the Centmin Mod Git repo url ? [y/n]: y
    
    setup Centmin Mod git sourced install...
    
    download github.com centmin mod 123.09beta01 branch repo
    time git clone -b 123.09beta01 --depth=1  centminmod
    fatal: repository 'centminmod' does not exist
    
    real    0m0.001s
    user    0m0.000s
    sys     0m0.001s
    time git clone -b 123.09beta01 --depth=1  centminmod
    fatal: repository 'centminmod' does not exist
    
    real    0m0.001s
    user    0m0.000s
    sys     0m0.001s
    inc/updater_submenu.inc: line 172: cd: centminmod: No such file or directory
    chmod: cannot access ‘centmin.sh’: No such file or directory
    
    list all available local branches
            git branch -a
    fatal: Not a git repository (or any of the parent directories): .git
    
    list git log last commit
            git log -a
    fatal: Not a git repository (or any of the parent directories): .git
    
    to update centmin mod 123.09beta01 branch repo via git
            cd /usr/local/src/centminmod
            git stash
            git pull
            chmod +x centmin.sh
    
    ##################### IMPORTANT #####################
     To complete update
    ##################### IMPORTANT #####################
     run:
    
      cd /usr/local/src/centminmod
    
     before invoking centmin.sh again
    ##################### IMPORTANT #####################
    
    -------------------------------------------------------------
    fatal: Not a git repository (or any of the parent directories): .git
    fatal: Not a git repository (or any of the parent directories): .git
    -------------------------------------------------------------
     Centmin Mod local code is up to date at /usr/local/src/centminmod
     no available updates at this time...
    -------------------------------------------------------------
    You have new mail in /var/spool/mail/root
    [root@upcloud ~]# centmin
    /usr/bin/centmin: line 2: pushd: /usr/local/src/centminmod: No such file or directory
    bash: centmin.sh: No such file or directory
    What to do?
     
  2. eva2000

    eva2000 Administrator Staff Member

    28,935
    6,567
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,747
    Local Time:
    7:58 PM
    Nginx 1.13.x
    MariaDB 5.5
    sounds like github.com connectivity issue
    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
     
    • Winner Winner x 1
  3. Sunka

    Sunka Active Member

    888
    230
    43
    Oct 31, 2015
    Rijeka, Croatia
    Ratings:
    +376
    Local Time:
    11:58 AM
    Nginx 1.13.3
    MariaDB 10.1.24
    ta daaaaaaa... (y)

    Code:
    [root@upcloud ~]# branchname=123.09beta01
    [root@upcloud ~]# cd /usr/local/src
    [root@upcloud src]# rm -rf centminmod*
    [root@upcloud src]# git clone -b ${branchname} --depth=1 https://github.com/centminmod/centminmod.git centminmod
    Cloning into 'centminmod'...
    remote: Counting objects: 343, done.
    remote: Compressing objects: 100% (310/310), done.
    remote: Total 343 (delta 63), reused 110 (delta 12), pack-reused 0
    Receiving objects: 100% (343/343), 19.50 MiB | 12.83 MiB/s, done.
    Resolving deltas: 100% (63/63), done.
    [root@upcloud src]# cd centminmod
    [root@upcloud centminmod]# ./centmin.sh
    
    --------------------------------------------------------
         Centmin Mod Menu 123.09beta01 centminmod.com     
    --------------------------------------------------------
    1).  Centmin Install
    2).  Add Nginx vhost domain
    3).  NSD setup domain name DNS
    4).  Nginx Upgrade / Downgrade
    5).  PHP Upgrade / Downgrade
    6).  XCache Re-install
    7).  APC Cache Re-install
    8).  XCache Install
    9).  APC Cache Install
    10). Memcached Server Re-install
    11). MariaDB 5.2/5.5 & 10.x Upgrade Sub-Menu
    12). Zend OpCache Install/Re-install
    13). Install/Reinstall Redis PHP Extension
    14). SELinux disable
    15). Install/Reinstall ImagicK PHP Extension
    16). Change SSHD Port Number
    17). Multi-thread compression: pigz,pbzip2,lbzip2...
    18). Suhosin PHP Extension install
    19). Install FFMPEG and FFMPEG PHP Extension
    20). NSD Install/Re-Install
    21). Update - Nginx + PHP-FPM + Siege
    22). Add Wordpress Nginx vhost + Cache Plugin
    23). Update Centmin Mod Code Base
    24). Exit
    --------------------------------------------------------
    Enter option [ 1 - 24 ] 23
    --------------------------------------------------------
    
    --------------------------------------------------------
            Centmin Mod Updater Sub-Menu             
    --------------------------------------------------------
    1). Setup Centmin Mod Github Environment
    2). Update Centmin Mod Current Branch
    3). Update Centmin Mod Newer Branch
    4). Exit
    --------------------------------------------------------
    Enter option [ 1 - 4 ] 2
    --------------------------------------------------------
    
    Updating Current Centmin Mod code branch via git
    
     Centmin Mod local code up to date at /usr/local/src/centminmod
     no available updates at this time...
     
    • Like Like x 2