Discover Centmin Mod today
Register Now

centminmod git url changed

Discussion in 'Install & Upgrades or Pre-Install Questions' started by cloud9, Sep 27, 2016.

  1. cloud9

    cloud9 Premium Member Premium Member

    435
    118
    43
    Oct 6, 2015
    England
    Ratings:
    +218
    Local Time:
    1:54 PM
    1.25.3
    10.6.x
    Just got this message in centime (beta 9) so hit y to update

    Attached screen shot

    I now don't have a centminmod directory at all

     

    Attached Files:

  2. eva2000

    eva2000 Administrator Staff Member

    54,907
    12,240
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,811
    Local Time:
    11:54 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    how was centmin mod 123.09beta01 installed ? via centmin.sh menu option 1 or curl installer method ?

    seems your /usr/local/src/centminmod was wiped probably during a failed centmin.sh menu option 23 submenu option 1 or 3 run.

    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. cloud9

    cloud9 Premium Member Premium Member

    435
    118
    43
    Oct 6, 2015
    England
    Ratings:
    +218
    Local Time:
    1:54 PM
    1.25.3
    10.6.x
    Installed Saturday via curl unattended

    Been playing with a test server and varnish, all was working fine PHP upgrades, NGinx upgrades etc etc

    Then i clicked the yes to update git, got the above screen and no centminmod directory anymore

    Yes i'll reinstall the code - thought id post first incase you wanted to know anything
     
  4. eva2000

    eva2000 Administrator Staff Member

    54,907
    12,240
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,811
    Local Time:
    11:54 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    thanks for the heads up.. will see where this is coming from
     
  5. cloud9

    cloud9 Premium Member Premium Member

    435
    118
    43
    Oct 6, 2015
    England
    Ratings:
    +218
    Local Time:
    1:54 PM
    1.25.3
    10.6.x
    Screen Shot 2016-09-26 at 20.01.57.png Screen Shot 2016-09-26 at 20.04.40.png When running git clone as per above now have
     
  6. eva2000

    eva2000 Administrator Staff Member

    54,907
    12,240
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,811
    Local Time:
    11:54 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    2 problems you need to run commands in the order i defined above branchname=123.09beta01 comes before git clone command to define the variable

    2nd Could not resolve hots: github.com Unknown error = your local server DNS resolver in /etc/resolv.conf isn't working so no connectivity to github.com. This is probably why you're missing /usr/local/src/centminmod install directory as git clone failed to run due to not being able to resolve the github.com domain
     
  7. eva2000

    eva2000 Administrator Staff Member

    54,907
    12,240
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,811
    Local Time:
    11:54 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    what's output for

    Code (Text):
    dig A github.com
    ping -c4 github.com
     
  8. cloud9

    cloud9 Premium Member Premium Member

    435
    118
    43
    Oct 6, 2015
    England
    Ratings:
    +218
    Local Time:
    1:54 PM
    1.25.3
    10.6.x
    I did run the commands as per your post - the above is just how i posted the screen shots - sorry for that

    Screen Shot 2016-09-26 at 20.44.37.png

    Screen Shot 2016-09-26 at 20.46.42.png
     
  9. eva2000

    eva2000 Administrator Staff Member

    54,907
    12,240
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,811
    Local Time:
    11:54 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    try rebooting your server and see if your network issue clears up if not contact your web host

    do you have CSF firewall running ?
     
  10. cloud9

    cloud9 Premium Member Premium Member

    435
    118
    43
    Oct 6, 2015
    England
    Ratings:
    +218
    Local Time:
    1:54 PM
    1.25.3
    10.6.x
    Its very strange, (my servers so no web host ;-) )

    Cant ping anything, cant ssh to server, vnc is fine, just disabled csf and rebooted, no change
     
    Last edited: Sep 27, 2016
  11. eva2000

    eva2000 Administrator Staff Member

    54,907
    12,240
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,811
    Local Time:
    11:54 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    If you disable CSF Firewall, you might not have some ports whitelisted on outbound side. Does it work if you re-enable CSF firewall ?
     
  12. cloud9

    cloud9 Premium Member Premium Member

    435
    118
    43
    Oct 6, 2015
    England
    Ratings:
    +218
    Local Time:
    1:54 PM
    1.25.3
    10.6.x
    Just the same with csf enabled
     
  13. cloud9

    cloud9 Premium Member Premium Member

    435
    118
    43
    Oct 6, 2015
    England
    Ratings:
    +218
    Local Time:
    1:54 PM
    1.25.3
    10.6.x
    As its only a test server and I'm not running backups i think it will be easier to just re-install CentOS7
     
  14. eva2000

    eva2000 Administrator Staff Member

    54,907
    12,240
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,811
    Local Time:
    11:54 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    for you yes, for me best to figure out your problem :D

    working DNS resolvers should give you
    Code (Text):
    -------------------------------------------------------------
     Centmin Mod code updates available for /usr/local/src/centminmod
    -------------------------------------------------------------
     Do you want to update your local Centmin Mod Git code ? [y/n]: y
    
    Updating Current Centmin Mod code branch via git
            cd /usr/local/src/centminmod
            git stash
            git pull
            chmod +x centmin.sh
    No local changes to save
    Updating 28b38f0..6d641f4
    Fast-forward
     inc/updater_submenu.inc | 24 ++++++++++++++++++++++++
     1 file changed, 24 insertions(+)
    
    ##################### IMPORTANT #####################
     To complete update exit centmin.sh by continually
     exiting each submenu option until you are back at
     cmd prompt and re-run command to change into directory:
      cd /usr/local/src/centminmod
     before invoking centmin.sh again
    ##################### IMPORTANT #####################
    
     
  15. eva2000

    eva2000 Administrator Staff Member

    54,907
    12,240
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,811
    Local Time:
    11:54 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  16. cloud9

    cloud9 Premium Member Premium Member

    435
    118
    43
    Oct 6, 2015
    England
    Ratings:
    +218
    Local Time:
    1:54 PM
    1.25.3
    10.6.x
    Yes, i saw that update - nice touch

    I have solved the issue - it was the solus vm config file - re-wrote that in solus and rebooted and all is good now

    I remember having this problem with solusvm a year or so ago - and yesterday i did a solusvm update
     
    Last edited: Sep 27, 2016
  17. eva2000

    eva2000 Administrator Staff Member

    54,907
    12,240
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,811
    Local Time:
    11:54 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Good to know.. your reported issue, means one step to better Centmin Mod LEMP stack :)