Learn about Centmin Mod LEMP Stack today
Register Now

[Solved] 09 beta1 update nginx 1.11.6

Discussion in 'Bug Reports' started by YuchiRO, Dec 12, 2016.

  1. YuchiRO

    YuchiRO Member

    93
    6
    8
    Jan 12, 2015
    Ratings:
    +8
    Local Time:
    1:52 AM
    5.5.4
    Hi

    I using Centmin 09 beta1 and update to nginx 1.11.6 fail ... while other server success !?!? Current nginx is 1.11.5

    Centmin update to lasted.

    Code:
    adding module in ../ngx_brotli
    
    ./configure: error: Brotli library is missing from the ../ngx_brotli/deps/brotli directory.
    
    Please make sure that the git submodule has been checked out:
    
        cd ../ngx_brotli && git submodule update --init && cd /svr-setup/nginx-1.11.6
    
    
    Mon Dec 12 10:53:42 UTC 2016
    Error: 1, Nginx configure failed
    
    report errors on the forums at community.centminmod.com/forums/8/
    
    Thanks.
     
  2. eva2000

    eva2000 Administrator Staff Member

    30,966
    6,919
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,422
    Local Time:
    4:52 AM
    Nginx 1.13.x
    MariaDB 5.5
    what is output for this command (please mask or remove my email address contained in the output)
    Code (Text):
    cd /usr/local/src/centminmod
    git log -1
    

    To troubleshoot, you need to check the the nginx upgrade log at /root/centminlogs and instructions under Sharing logs and errors heading for using Pastebin.com or Gists to share a sanitised version of the contents of the nginx_upgrade.log log. You can see full details at How to troubleshoot Centmin Mod initial install issues

    also what's output of
    Code (Text):
    nginx -t

    when you run centmin.sh menu option 4 there's a nginx upgrade log timestamped at /root/centminlogs

    if you type this command it lists all logs in date ascending order so latest log at bottom
    Code (Text):
    ls -lArt /root/centminlogs

    so copy the entire contents of latest nginx_upgrade log to gist.github.com or pastebin.com

    you can use grep to filter the logs, i.e. look for nginx_upgrade in log name
    Code (Text):
    ls -lahrt /root/centminlogs/ | grep nginx_upgrade
    -rw-r--r--  1 root root 3.2M Oct 11 15:55 centminmod_1.2.3-eva2000.09.001_111016-155345_nginx_upgrade.log
    -rw-r--r--  1 root root 672K Oct 11 22:06 centminmod_1.2.3-eva2000.09.001_111016-220515_nginx_upgrade.log

    So the last nginx upgrade log was named centminmod_1.2.3-eva2000.09.001_111016-220515_nginx_upgrade.log and located at /root/centminlogs/centminmod_1.2.3-eva2000.09.001_111016-220515_nginx_upgrade.log

    then use cat command to output the contents of that log

    clear your ssh window buffer/screen and type
    Code (Text):
    cat /root/centminlogs/centminmod_1.2.3-eva2000.09.001_111016-220515_nginx_upgrade.log

    then select and copy and paste output to pastebin.com or gist.github.com file to share. If your SSH client's scroll buffer isn't large enough using cat might not output the entire log file contents, so you may need to download the log and use local text editor to open and copy and paste.

    so only need content of one specific log, in this case most recent nginx_upgrade.log log
     
  3. YuchiRO

    YuchiRO Member

    93
    6
    8
    Jan 12, 2015
    Ratings:
    +8
    Local Time:
    1:52 AM
    5.5.4
    Here is result
    Code:
    git log -1
    commit 07a18e5a44f623cb2ce2955bd5ca6589c616f6c8
    Author: George Liu <>
    Date:   Sun Dec 11 17:21:43 2016 +1000
    
        update inc/mariadb_submenu.inc add additional version checks in 123.09beta01
    
        add additional mariadb version checks to each submenu option to ensure users don't mess up their existing MariaDB server versions
    
     
    Last edited by a moderator: Dec 12, 2016
  4. eva2000

    eva2000 Administrator Staff Member

    30,966
    6,919
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,422
    Local Time:
    4:52 AM
    Nginx 1.13.x
    MariaDB 5.5
    hmmm looks like ngx_brotli update might have broken something as i get it now too

    Code (Text):
    adding module in ../nginx-module-vts
     + ngx_http_vhost_traffic_status_module was configured
    adding module in ../ngx_cache_purge-2.3
     + ngx_http_cache_purge_module was configured
    adding module in ../ngx_devel_kit-0.3.0
     + ngx_devel_kit was configured
    adding module in ../set-misc-nginx-module-0.31
    found ngx_devel_kit for ngx_set_misc; looks good.
     + ngx_http_set_misc_module was configured
    adding module in ../echo-nginx-module-0.60
     + ngx_http_echo_module was configured
    adding module in ../redis2-nginx-module-0.13
     + ngx_http_redis2_module was configured
    adding module in ../ngx_http_redis-0.3.7
     + ngx_http_redis_module was configured
    adding module in ../nginx-sticky-module-master
     + ngx_http_sticky_module was configured
    adding module in ../memc-nginx-module-0.17
     + ngx_http_memc_module was configured
    adding module in ../srcache-nginx-module-0.31
     + ngx_http_srcache_filter_module was configured
    adding module in ../headers-more-nginx-module-0.32
     + ngx_http_headers_more_filter_module was configured
    configuring additional dynamic modules
    adding module in ../ngx_brotli
    
    ./configure: error: Brotli library is missing from the ../ngx_brotli/deps/brotli directory.
    
    Please make sure that the git submodule has been checked out:
    
        cd ../ngx_brotli && git submodule update --init && cd /svr-setup/nginx-1.11.6
    
    
    Mon Dec 12 11:21:15 UTC 2016
    Error: 1, Nginx configure failed
    
    report errors on the forums at community.centminmod.com/forums/8/
     
  5. eva2000

    eva2000 Administrator Staff Member

    30,966
    6,919
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,422
    Local Time:
    4:52 AM
    Nginx 1.13.x
    MariaDB 5.5
  6. eva2000

    eva2000 Administrator Staff Member

    30,966
    6,919
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,422
    Local Time:
    4:52 AM
    Nginx 1.13.x
    MariaDB 5.5
    • Like Like x 1
  7. Epic Internet Marketing

    Epic Internet Marketing Member

    40
    7
    8
    Aug 3, 2014
    New York, NY
    Ratings:
    +18
    Local Time:
    4:52 AM
    1.12.x | PHP 7.1.x
    10.1
    Seems like it broke nginx in betainstaller-latest.sh as well since I can't do a fresh install that launches nginx properly anymore.
     
    • Like Like x 1
  8. eva2000

    eva2000 Administrator Staff Member

    30,966
    6,919
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,422
    Local Time:
    4:52 AM
    Nginx 1.13.x
    MariaDB 5.5
    You'll need to post on the forums with the following info
    • Server or VPS details ? XEN, KVM, OpenVZ, VMWare or dedicated server ? OS ? CentOS 6.7 or 7.2 ? 32bit or 64bit ?
    • Method of install ? Via centmin.sh menu option 1, Git install or curl one liner install as outlined at centminmod.com/download.html ?
    • How long ago did you install Centmin Mod ?

    Troubleshooting Initial Install



    To troubleshoot initial installation, you need to check the initial install log at /root/centminlogs and instructions under Sharing logs and errors heading for using Pastebin.com or Gists to share a sanitised version of the contents of the initial install log. You can see full details at How to troubleshoot Centmin Mod initial install issues

    Example list /root/centminlogs files in date ascending order and grep for install.log
    Code (Text):
    ls -lahrt /root/centminlogs | grep install.log
    

    example output returns install log at /root/centminlogs/centminmod_1.2.3-eva2000.09.001_111016-112321_install.log
    Code (Text):
    ls -lahrt /root/centminlogs | grep install.log
    -rw-r--r--  1 root root 2.2M Oct 11 01:40 centminmod_1.2.3-eva2000.09.001_111016-112321_install.log
    

    in SSH use cat to ouput contents of /root/centminlogs/centminmod_1.2.3-eva2000.09.001_111016-112321_install.log. Clear your SSH client window/buffer so only output is the contents of the file
    Code (Text):
    cat /root/centminlogs/centminmod_1.2.3-eva2000.09.001_111016-112321_install.log
    

    Then copy and paste into Pastebin.com or Gists entry. If your SSH window scroll buffer isn't that large to get the whole contents of the install log, you can download file manually and copy and paste contents. But makes sure it's sanitised version of the contents of the initial install log as outlined at How to troubleshoot Centmin Mod initial install issues
     
  9. eva2000

    eva2000 Administrator Staff Member

    30,966
    6,919
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,422
    Local Time:
    4:52 AM
    Nginx 1.13.x
    MariaDB 5.5