Learn about Centmin Mod LEMP Stack today
Register Now

Centminmod latest version beta stack at loading

Discussion in 'Install & Upgrades or Pre-Install Questions' started by pamamolf, Jun 1, 2016.

  1. pamamolf

    pamamolf Well-Known Member

    2,820
    253
    83
    May 31, 2014
    Ratings:
    +447
    Local Time:
    7:14 PM
    Nginx-1.13.x
    MariaDB 10.1.x
    Hi

    I just update on a few servers on latest Centminmod beta using the menu as i always do and on two servers after that i exit and rerun it and i skipped twice the email entry and then waiting for 5 minutes now without any error or something :(

    [​IMG]

    Now i don't know if i can press ctrl+c to exit without messing anything :(
     
  2. eva2000

    eva2000 Administrator Staff Member

    30,945
    6,914
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,411
    Local Time:
    3:14 AM
    Nginx 1.13.x
    MariaDB 5.5
    you MAY have ran into a bug in tools/imagemagick-fix.sh which was fixed but you need to update centmin mod 123.09beta01 code bypassing centmin.sh menu and do it via cmd line as follows

    Code (Text):
    cd /usr/local/src/centminmod
    git stash
    git pull
    ./centmin.sh
    


    you can double check by leaving the hanged ssh session open, and open new ssh session and type
    Code (Text):
    ps aufxwww
    

    and see what centmin.sh is doing
     
    • Informative Informative x 1
  3. pamamolf

    pamamolf Well-Known Member

    2,820
    253
    83
    May 31, 2014
    Ratings:
    +447
    Local Time:
    7:14 PM
    Nginx-1.13.x
    MariaDB 10.1.x
    Do i have to re run after that the menu 23 and then menu 1 (Setup Centmin Mod Github Environment) so i can use later the submenu 2?
     
  4. eva2000

    eva2000 Administrator Staff Member

    30,945
    6,914
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,411
    Local Time:
    3:14 AM
    Nginx 1.13.x
    MariaDB 5.5
    not if below commands worked for git
    Code (Text):
    cd /usr/local/src/centminmod
    git stash
    git pull
    ./centmin.sh
     
  5. pamamolf

    pamamolf Well-Known Member

    2,820
    253
    83
    May 31, 2014
    Ratings:
    +447
    Local Time:
    7:14 PM
    Nginx-1.13.x
    MariaDB 10.1.x
    Yes i run all commands one by one and i upgrade to latest Nginx 1.11.1 without any issues :)

    For the rest servers i update Centminmod and run it without this issue....
    Do you recommend me to use the above commands to them so i can avoid that bug later?
     
  6. eva2000

    eva2000 Administrator Staff Member

    30,945
    6,914
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,411
    Local Time:
    3:14 AM
    Nginx 1.13.x
    MariaDB 5.5
  7. pamamolf

    pamamolf Well-Known Member

    2,820
    253
    83
    May 31, 2014
    Ratings:
    +447
    Local Time:
    7:14 PM
    Nginx-1.13.x
    MariaDB 10.1.x
    So all will auto updated and no need to run Setup Centmin Mod Github Environment ?
     
  8. eva2000

    eva2000 Administrator Staff Member

    30,945
    6,914
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,411
    Local Time:
    3:14 AM
    Nginx 1.13.x
    MariaDB 5.5
    no re-read that thread, if you setup git environment, then you can setup cronjob to auto update via git pull the code at /usr/local/src/centminmod. Then /usr/local/src/centminmod will always have latest code for the branch you are using.
     
  9. pamamolf

    pamamolf Well-Known Member

    2,820
    253
    83
    May 31, 2014
    Ratings:
    +447
    Local Time:
    7:14 PM
    Nginx-1.13.x
    MariaDB 10.1.x
    I thought that the cron was an automated task....I am almost sure that i have seen that there....
     
  10. eva2000

    eva2000 Administrator Staff Member

    30,945
    6,914
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,411
    Local Time:
    3:14 AM
    Nginx 1.13.x
    MariaDB 5.5
  11. pamamolf

    pamamolf Well-Known Member

    2,820
    253
    83
    May 31, 2014
    Ratings:
    +447
    Local Time:
    7:14 PM
    Nginx-1.13.x
    MariaDB 10.1.x
    Then i got confused with this automated cron:
    Code:
    0 */4 * * * /usr/bin/cminfo_updater
     
  12. eva2000

    eva2000 Administrator Staff Member

    30,945
    6,914
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,411
    Local Time:
    3:14 AM
    Nginx 1.13.x
    MariaDB 5.5
    that's for /usr/bin/cminfo command updater :)

    that outputs summary info
    Code (Text):
    cminfo
    ------------------------------------------------------------------
    Centmin Mod Quick Info:
    ------------------------------------------------------------------
    Server Location Info
    
      ip: IP
      city: Rochester
      region: New York
      country: US
    
    Processors physical = 4, cores = 4, virtual = 4, hyperthreading = no
    
          4  2499.998
          4  QEMU Virtual CPU version 1.5.3
          4  4096 KB
    
    System Up Since:       2016-05-31 14:09:32
    System Uptime:         up 7 hours, 5 minutes
    MySQL Server Started   2016-05-31 14:09:43
    MySQL Uptime:          7 hours 5 min 20 sec 
    MySQL Uptime (secs):   25520
    Server Type:           kvm
    CentOS Version:        7.2
    Centmin Mod:           1.2.3-eva2000.09.001
    Nginx PageSpeed:       OFF
    Nginx Version:         1.11.1
    PHP-FPM Version:       5.6.22
    MariaDB Version:       10.1.14
    CSF Firewall:          v8.26
    Memcached Server:      1.4.25
    NSD Version:           3.2.18
    Siege Version:         4.0.1
    Maldet Version:        not installed
    ClamAV Version:        not installed
    ElasticSearch:         not installed
    ------------------------------------------------------------------
     
  13. pamamolf

    pamamolf Well-Known Member

    2,820
    253
    83
    May 31, 2014
    Ratings:
    +447
    Local Time:
    7:14 PM
    Nginx-1.13.x
    MariaDB 10.1.x
    ok :)

    Last question then just to know :

    Is Setup Centmin Mod Github Environment something that if i install it and then remove centminmod folder then is gone or something that is out of the folder and even if i delete the folder and re download it will work the submenu 2 straight away and update?
     
  14. eva2000

    eva2000 Administrator Staff Member

    30,945
    6,914
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,411
    Local Time:
    3:14 AM
    Nginx 1.13.x
    MariaDB 5.5
    yes if you use centmin.sh menu option 23 submenu option 1 to setup centmin mod github environment and later delete /usr/local/src/centminmod, it will be gone and need resetting up manually via below commands which will resetup git environment and /usr/local/src/centminmod
    Code (Text):
    cd /usr/local/src
    rm -rf /usr/local/src/centminmod
    git clone https://github.com/centminmod/centminmod.git centminmod
    cd centminmod
    git checkout -f 123.09beta01
    ./centmin.sh
    

    or you can re-download latest zip and extract to /usr/local/src/centminmod and re-run centmin.sh menu option 23 submenu option 1
     
  15. pamamolf

    pamamolf Well-Known Member

    2,820
    253
    83
    May 31, 2014
    Ratings:
    +447
    Local Time:
    7:14 PM
    Nginx-1.13.x
    MariaDB 10.1.x
    But does that will need a re installation of github environment?

    Code:
    cd /usr/local/src/centminmod
    git stash
    git pull
    ./centmin.sh
     
  16. eva2000

    eva2000 Administrator Staff Member

    30,945
    6,914
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,411
    Local Time:
    3:14 AM
    Nginx 1.13.x
    MariaDB 5.5
  17. pamamolf

    pamamolf Well-Known Member

    2,820
    253
    83
    May 31, 2014
    Ratings:
    +447
    Local Time:
    7:14 PM
    Nginx-1.13.x
    MariaDB 10.1.x
    I prefer to use then:
    Code:
    cd /usr/local/src/centminmod
    git stash
    git pull
    and then after for updating to use submenu 2 as it is easier and no need to install again the github environment :)
     
  18. eva2000

    eva2000 Administrator Staff Member

    30,945
    6,914
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,411
    Local Time:
    3:14 AM
    Nginx 1.13.x
    MariaDB 5.5
    if you run those commands, you do not need to run centmin.sh menu option 23 submenu option 2 as both do the same things :)

    I usually just use git pull command and rarely use centmin.sh menu option 23 submenu option 2 as it's faster. The menu option is just for easier usage for users who do not understand git.
     
  19. pamamolf

    pamamolf Well-Known Member

    2,820
    253
    83
    May 31, 2014
    Ratings:
    +447
    Local Time:
    7:14 PM
    Nginx-1.13.x
    MariaDB 10.1.x
    I mean after x days that you will update the code :)

    I just need to avoid the startup bug and keep it ready to update with submenu 2 :)
     
  20. eva2000

    eva2000 Administrator Staff Member

    30,945
    6,914
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,411
    Local Time:
    3:14 AM
    Nginx 1.13.x
    MariaDB 5.5