Learn about Centmin Mod LEMP Stack today
Register Now

Upgrade PHP-FPM Centmin Mod .09 beta branch Testing

Discussion in 'Beta release code' started by eva2000, Aug 12, 2015.

Tags:
  1. eva2000

    eva2000 Administrator Staff Member

    42,052
    9,489
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,600
    Local Time:
    3:54 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    Try updating centmin mod 123.09beta01 code to latest and try again then
     
  2. pamamolf

    pamamolf Premium Member Premium Member

    3,529
    342
    83
    May 31, 2014
    Ratings:
    +656
    Local Time:
    7:54 AM
    Nginx-1.17.x
    MariaDB 10.3.x
    Running at the startup of Centminmon the check for yum updates is not so elegant but it can't be done at the end or another way i think....
     
  3. eva2000

    eva2000 Administrator Staff Member

    42,052
    9,489
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,600
    Local Time:
    3:54 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    it's already moved from beginning of centmin.sh launch to menu 24 exit in latest update :)
     
    • Like Like x 1
  4. pamamolf

    pamamolf Premium Member Premium Member

    3,529
    342
    83
    May 31, 2014
    Ratings:
    +656
    Local Time:
    7:54 AM
    Nginx-1.17.x
    MariaDB 10.3.x
    So is pagespeed latest that we wait out? :)

    Are we waiting anything else?

    When we must expect the final stable version of Centminmod 09?
     
  5. eva2000

    eva2000 Administrator Staff Member

    42,052
    9,489
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,600
    Local Time:
    3:54 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    wait and see + test :)
     
  6. ModeltogTossen

    ModeltogTossen I wish I could??

    313
    97
    28
    Dec 20, 2015
    Denmark
    Ratings:
    +143
    Local Time:
    6:54 AM
    1.9.12
    10.0.23
    If you ask me - no - we need to have @eva2000 letsencrypt work merged into branch 09beta1 also before stable :)
     
  7. eva2000

    eva2000 Administrator Staff Member

    42,052
    9,489
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,600
    Local Time:
    3:54 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    letsencrypt won't make it into 123.09stable as needs more work :)
     
  8. ModeltogTossen

    ModeltogTossen I wish I could??

    313
    97
    28
    Dec 20, 2015
    Denmark
    Ratings:
    +143
    Local Time:
    6:54 AM
    1.9.12
    10.0.23
    Ohh, very sad for me to read that - but @eva2000 - I do really understand and accept your decision in that statement. When you make the current 09beta1 stable its still a very big step forward, no question about that.
     
  9. pamamolf

    pamamolf Premium Member Premium Member

    3,529
    342
    83
    May 31, 2014
    Ratings:
    +656
    Local Time:
    7:54 AM
    Nginx-1.17.x
    MariaDB 10.3.x
  10. ModeltogTossen

    ModeltogTossen I wish I could??

    313
    97
    28
    Dec 20, 2015
    Denmark
    Ratings:
    +143
    Local Time:
    6:54 AM
    1.9.12
    10.0.23
  11. duydangle

    duydangle Member

    43
    7
    8
    May 30, 2014
    Ratings:
    +10
    Local Time:
    12:54 PM
    1.9.9
    10
    Just updated the code and got "git gc". Found this commit Beta Branch - update inc/updater_submenu.inc | Centmin Mod Community and just looked at your code:
    Code:
    CM_DIRSIZE=$(/usr/bin/df /usr/local/src/centminmod | awk '{print $4}' | tail -1 | awk '{print $1}')
    On my centos 6 df is on /bin/, not /usr/bin/.

    Re-compiling nginx.
     
  12. eva2000

    eva2000 Administrator Staff Member

    42,052
    9,489
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,600
    Local Time:
    3:54 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
  13. duydangle

    duydangle Member

    43
    7
    8
    May 30, 2014
    Ratings:
    +10
    Local Time:
    12:54 PM
    1.9.9
    10
    Update still get "[emerg] unknown directive "geoip_country" in /usr/local/nginx/conf/geoip.conf:2" with the last build. Recompiling without dynamic geoip
     
  14. eva2000

    eva2000 Administrator Staff Member

    42,052
    9,489
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,600
    Local Time:
    3:54 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    strange that you aren't able to compile nginx

    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 initial install log. You can see full details at How to troubleshoot Centmin Mod initial install issues

    also what's output of
    Code:
    nginx -t
    do you have any settings set in /etc/centminmod/custom_config.inc ?
     
  15. eva2000

    eva2000 Administrator Staff Member

    42,052
    9,489
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,600
    Local Time:
    3:54 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
  16. duydangle

    duydangle Member

    43
    7
    8
    May 30, 2014
    Ratings:
    +10
    Local Time:
    12:54 PM
    1.9.9
    10
    Nginx is compiled successfully but cannot start. I will try delete centminmod and redownload.
     
  17. eva2000

    eva2000 Administrator Staff Member

    42,052
    9,489
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,600
    Local Time:
    3:54 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    type
    Code:
    nginx -t
    to see why
     
  18. eva2000

    eva2000 Administrator Staff Member

    42,052
    9,489
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,600
    Local Time:
    3:54 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    Update, Centmin Mod 123.09beta01 latest code has been updated and now works with ngx_pagespeed 1.10.33.5 beta as a dynamic module or static module as well as ngx_brotli as a dynamic module. You can see examples posted below:
    Going forward, I think 123.09beta01 and 123.09stable will default to having ngx_pagespeed and lua nginx modules disabled out of box, and let end users to re-enable it via nginx recompile to enable them.
     
    • Agree Agree x 3
    • Like Like x 2
  19. eva2000

    eva2000 Administrator Staff Member

    42,052
    9,489
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,600
    Local Time:
    3:54 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x

    Nginx 1.9.12 with OpenSSL defaults



    Updated both Centmin Mod 123.08stable and 123.09beta01 builds to default to Nginx 1.9.12. Due to Nginx 1.9.12 breaking LibreSSL support, I have switched Centmin Mod's Nginx build back from LibreSSL to OpenSSL 1.0.2f via setting LIBRESSL_SWITCH='n' as default. You'll notice longer Nginx compile/recompile times as Nginx compiled against OpenSSL takes much longer than against LibreSSL. So to update to Nginx 1.9.12, update Centmin Mod 123.08stable or 123.09beta01 latest code first BEFORE running centmin.sh menu option 4.

    Backport to 123.08stable

    LibreSSL had native chacha20_poly1305 ssl cipher support for SSL. But OpenSSL 1.0.2f doesn't. Centmin Mod 123.09beta01 supports patching OpenSSL 1.0.2+ with Cloudflare's official patch they use to add chacha20 support to OpenSSL 1.0.2. This is set via switch in centmin.sh. You can set this via persistent config file /etc/centminmod/custom_config.inc and set.
    Code:
    CLOUDFLARE_PATCHSSL='y'    # set 'y' to implement Cloudflare's chacha20 patch https://github.com/cloudflare/sslconfig
    I have backported this patch routine into Centmin Mod 123.08stable however for stable it's default to disabled with
    Code:
    CLOUDFLARE_PATCHSSL='n' 
    If you are on 123.08stable and need chacha20 support for SSL, you can set this via persistent config file /etc/centminmod/custom_config.inc
    Code:
    CLOUDFLARE_PATCHSSL='y' 
    and then run centmin.sh menu option 4 to update to Nginx 1.9.12

    To update your Centmin Mod builds follow instructions at centminmod.com/upgrade.html and respective version threads below:
     
    Last edited: Feb 25, 2016
    • Informative Informative x 1
  20. ModeltogTossen

    ModeltogTossen I wish I could??

    313
    97
    28
    Dec 20, 2015
    Denmark
    Ratings:
    +143
    Local Time:
    6:54 AM
    1.9.12
    10.0.23
    From little Denmark - Updated:

    Code:
    Total Nginx Upgrade Time: 402.942848129 seconds
    Code:
    nginx version: nginx/1.9.12
    built by gcc 4.8.5 20150623 (Red Hat 4.8.5-4) (GCC)
    built with OpenSSL 1.0.2f  28 Jan 2016
    TLS SNI support enabled
    configure arguments: --with-ld-opt='-ljemalloc -Wl,-z,relro -Wl,-rpath,/usr/local/lib' --with-cc-opt='-m64 -mtune=native -mfpmath=sse -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2' --sbin-path=/usr/local/sbin/nginx --conf-path=/usr/local/nginx/conf/nginx.conf --with-http_stub_status_module --with-http_secure_link_module --with-openssl-opt=enable-tlsext --add-module=../nginx-module-vts --with-libatomic --with-threads --with-stream=dynamic --with-stream_ssl_module --with-http_gzip_static_module --add-dynamic-module=../ngx_brotli --add-dynamic-module=../ngx_pagespeed-release-1.10.33.5-beta --with-http_sub_module --with-http_addition_module --with-http_image_filter_module=dynamic --with-http_geoip_module=dynamic --with-http_realip_module --add-module=../nginx-accesskey-2.0.3 --add-module=../nginx-http-concat-master --add-module=../ngx-fancyindex-0.3.6 --add-module=../ngx_cache_purge-2.3 --add-module=../ngx_devel_kit-0.2.19 --add-module=../set-misc-nginx-module-0.29 --add-module=../echo-nginx-module-0.58 --add-module=../redis2-nginx-module-0.12 --add-module=../ngx_http_redis-0.3.7 --add-module=../nginx_upstream_check_module-0.3.0 --add-module=../openresty-memc-nginx-module-4f6f78f --add-module=../openresty-srcache-nginx-module-ffa9ab7 --add-module=../headers-more-nginx-module-0.29 --with-pcre=../pcre-8.38 --with-pcre-jit --with-http_ssl_module --with-http_v2_module --with-openssl=../openssl-1.0.2f
    
     
    • Like Like x 1
    • Informative Informative x 1