Want to subscribe to topics you're interested in?
Become a Member

Centminmod latest version beta stack at loading

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

  1. pamamolf

    pamamolf Premium Member Premium Member

    4,086
    428
    83
    May 31, 2014
    Ratings:
    +834
    Local Time:
    2:10 PM
    Nginx-1.25.x
    MariaDB 10.3.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

    54,868
    12,239
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,810
    Local Time:
    10:10 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    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
     
  3. pamamolf

    pamamolf Premium Member Premium Member

    4,086
    428
    83
    May 31, 2014
    Ratings:
    +834
    Local Time:
    2:10 PM
    Nginx-1.25.x
    MariaDB 10.3.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

    54,868
    12,239
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,810
    Local Time:
    10:10 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    not if below commands worked for git
    Code (Text):
    cd /usr/local/src/centminmod
    git stash
    git pull
    ./centmin.sh
     
  5. pamamolf

    pamamolf Premium Member Premium Member

    4,086
    428
    83
    May 31, 2014
    Ratings:
    +834
    Local Time:
    2:10 PM
    Nginx-1.25.x
    MariaDB 10.3.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

    54,868
    12,239
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,810
    Local Time:
    10:10 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  7. pamamolf

    pamamolf Premium Member Premium Member

    4,086
    428
    83
    May 31, 2014
    Ratings:
    +834
    Local Time:
    2:10 PM
    Nginx-1.25.x
    MariaDB 10.3.x
    So all will auto updated and no need to run Setup Centmin Mod Github Environment ?
     
  8. eva2000

    eva2000 Administrator Staff Member

    54,868
    12,239
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,810
    Local Time:
    10:10 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    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 Premium Member Premium Member

    4,086
    428
    83
    May 31, 2014
    Ratings:
    +834
    Local Time:
    2:10 PM
    Nginx-1.25.x
    MariaDB 10.3.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

    54,868
    12,239
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,810
    Local Time:
    10:10 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  11. pamamolf

    pamamolf Premium Member Premium Member

    4,086
    428
    83
    May 31, 2014
    Ratings:
    +834
    Local Time:
    2:10 PM
    Nginx-1.25.x
    MariaDB 10.3.x
    Then i got confused with this automated cron:
    Code:
    0 */4 * * * /usr/bin/cminfo_updater
     
  12. eva2000

    eva2000 Administrator Staff Member

    54,868
    12,239
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,810
    Local Time:
    10:10 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    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 Premium Member Premium Member

    4,086
    428
    83
    May 31, 2014
    Ratings:
    +834
    Local Time:
    2:10 PM
    Nginx-1.25.x
    MariaDB 10.3.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

    54,868
    12,239
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,810
    Local Time:
    10:10 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    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 Premium Member Premium Member

    4,086
    428
    83
    May 31, 2014
    Ratings:
    +834
    Local Time:
    2:10 PM
    Nginx-1.25.x
    MariaDB 10.3.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

    54,868
    12,239
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,810
    Local Time:
    10:10 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  17. pamamolf

    pamamolf Premium Member Premium Member

    4,086
    428
    83
    May 31, 2014
    Ratings:
    +834
    Local Time:
    2:10 PM
    Nginx-1.25.x
    MariaDB 10.3.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

    54,868
    12,239
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,810
    Local Time:
    10:10 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    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 Premium Member Premium Member

    4,086
    428
    83
    May 31, 2014
    Ratings:
    +834
    Local Time:
    2:10 PM
    Nginx-1.25.x
    MariaDB 10.3.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

    54,868
    12,239
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,810
    Local Time:
    10:10 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+