Discover Centmin Mod today
Register Now

Upgrade Nginx Nginx 1.11.11 upgrade errors

Discussion in 'Install & Upgrades or Pre-Install Questions' started by ahmed, Mar 23, 2017.

  1. ahmed

    ahmed Member

    201
    15
    18
    Feb 21, 2017
    Ratings:
    +21
    Local Time:
    11:55 AM
    Please fill in any relevant information that applies to you:
    • CentOS Version: i.e. CentOS 6 32bit or 64bit / CentOS 7 64bit ?
    • Centmin Mod Version Installed: i.e. 123.08stable or 123.09beta01
    • Nginx Version Installed: i.e. 1.11.10
    • PHP Version Installed: i.e. 5.6.30 or 7.0.15
    • MariaDB MySQL Version Installed: i.e. 10.0.21 or 10.1.21
    • When was last time updated Centmin Mod code base ? : i.e. run centmin.sh menu option 23 submenu option 2
    • Persistent Config: Do you have any persistent config file options set in /etc/centminmod/custom_config.inc ? You can check via this command:

      cat /etc/centminmod/custom_config.inc

      Code:
      [*]NGXDYNAMIC_BROTLI='y'
      
      NGINX_LIBBROTLI='y'
      
      LETSENCRYPT_DETECT='y'
      
      NGXDYNAMIC_BROTLI='y'
      
      NGINX_LIBBROTLI='y'
      
      AUTO_GITUPDATE='y'
      
      NGINX_IPV='y'
      
      PHP_PGO='y'
      
      [/LIST]
      

      • Post output in CODE tags.

      Code:
      ccache /usr/bin/clang -ferror-limit=0 -c -pipe  -O -Wall -Wextra -Wpointer-arith -Wconditional-uninitialized -Wno-unused-parameter -Werror -g -m64 -mtune=native -mfpmath=sse -g -O3 -fstack-protector -fuse-ld=gold --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wno-sign-compare -Wno-string-plus-int -Wno-deprecated-declarations -Wno-unused-parameter -Wno-unused-const-variable -Wno-conditional-uninitialized -Wno-mismatched-tags -Wno-sometimes-uninitialized -Wno-parentheses-equality -Wno-tautological-compare -Wno-self-assign -Wno-deprecated-register -Wno-deprecated -Wno-invalid-source-encoding -Wno-pointer-sign -Wno-parentheses -Wno-enum-conversion -Wno-c++11-compat-deprecated-writable-strings -Wno-write-strings -gsplit-dwarf -DNDK_SET_VAR -DNDK_UPSTREAM_LIST -Wno-deprecated-declarations  -I src/core -I src/event -I src/event/modules -I src/os/unix -I ../ngx_devel_kit-0.3.0/objs -I objs/addon/ndk -I ../ngx_brotli/deps/brotli/include -I ../pcre-8.40 -I ../libressl-2.4.5/.openssl/include -I ../zlib-1.2.11 -I objs -I src/http -I src/http/modules -I src/http/v2 -I ../ngx_devel_kit-0.3.0/src -I ../ngx_devel_kit-0.3.0/src -I ../ngx_devel_kit-0.3.0/objs -I objs/addon/ndk -I src/stream \
      
      -o objs/addon/src/ngx_http_echo_subrequest.o \
      
      ../echo-nginx-module-0.60/src/ngx_http_echo_subrequest.c
      
      ../echo-nginx-module-0.60/src/ngx_http_echo_request_info.c:219:15: error: assigning to 'ngx_buf_t *' (aka 'struct ngx_buf_s *') from incompatible type 'ngx_chain_t' (aka 'struct ngx_chain_s')
      
                  b = hc->busy[i];
      
                    ^ ~~~~~~~~~~~
      
      ../echo-nginx-module-0.60/src/ngx_http_echo_request_info.c:284:15: error: assigning to 'ngx_buf_t *' (aka 'struct ngx_buf_s *') from incompatible type 'ngx_chain_t' (aka 'struct ngx_chain_s')
      
                  b = hc->busy[i];
      
                    ^ ~~~~~~~~~~~
      
      2 errors generated.
      
      make[1]: *** [objs/addon/src/ngx_http_echo_request_info.o] Error 1
      
      make[1]: *** Waiting for unfinished jobs....
      
      make[1]: Leaving directory `/svr-setup/nginx-1.11.11'
      
      make: *** [build] Error 2
      
      
      real 2m3.989s
      
      user 1m15.407s
      
      sys 0m31.114s
      
      
      Wed Mar 22 16:59:46 UTC 2017
      
      Error: 2, Nginx make failed
      
      
      report errors on the forums at community.centminmod.com/forums/8/
      
      
                    total        used        free      shared  buff/cache   available
      
      Mem:           3700         536         433          64        2730        2782
      
      Swap:          1023           0        1023
      
      
      CPU: Intel(R) Xeon(R) CPU @ 2.30GHz (1)
      
      
      version increment history
      
      1.2.3-eva2000.09.004 #Sun Mar 19 22:56:58 UTC 2017
      
      1.2.3-eva2000.09.004 #Mon Mar 20 21:49:50 UTC 2017
      
      1.2.3-eva2000.09.004 #Mon Mar 20 21:50:29 UTC 2017
      
      1.2.3-eva2000.09.004 #Wed Mar 22 16:50:32 UTC 2017
      
      1.2.3-eva2000.09.004 #Wed Mar 22 16:52:37 UTC 2017
      
      
      last Centmin Mod local git commit entry
      
      /usr/local/src/centminmod /svr-setup/nginx-1.11.11
      
      
      3940e9a George Liu Wed, 22 Mar 2017 09:50:48 +1000 
      
      only strip nginx binary if it exists in 123.09beta01
      
      
      8 6 inc/nginx_install.inc
      
      8 6 inc/nginx_upgrade.inc
      
       2 files changed, 16 insertions(+), 12 deletions(-)
      
      /svr-setup/nginx-1.11.11
      
      Total Nginx Upgrade Time: 421.045980705 seconds
      

     
  2. ahmed

    ahmed Member

    201
    15
    18
    Feb 21, 2017
    Ratings:
    +21
    Local Time:
    11:55 AM
    looks like I entered the brotli twice, im recompiling and will post it
     
  3. ahmed

    ahmed Member

    201
    15
    18
    Feb 21, 2017
    Ratings:
    +21
    Local Time:
    11:55 AM
    still the same

    my php is 7.1.3 and i have the betacentmin updated
     
  4. pdinh97qng

    pdinh97qng New Member

    16
    2
    3
    Jan 24, 2016
    Ratings:
    +2
    Local Time:
    2:55 AM
    Mine is 7.0.17 and same error
     
  5. pamamolf

    pamamolf Well-Known Member

    2,503
    230
    63
    May 31, 2014
    Ratings:
    +391
    Local Time:
    12:55 PM
    Nginx-1.13.x
    MariaDB 10.1.x
  6. eva2000

    eva2000 Administrator Staff Member

    28,996
    6,579
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,769
    Local Time:
    7:55 PM
    Nginx 1.13.x
    MariaDB 5.5
    • Like Like x 1