Get the most out of your Centmin Mod LEMP stack
Become a Member

Upgrade PHP-FPM Beta Branch Centmin Mod .09 beta branch Testing

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

Tags:
  1. eva2000

    eva2000 Administrator Staff Member

    49,561
    11,374
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +17,677
    Local Time:
    5:55 PM
    Nginx 1.21.x
    MariaDB 10.x
  2. eva2000

    eva2000 Administrator Staff Member

    49,561
    11,374
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +17,677
    Local Time:
    5:55 PM
    Nginx 1.21.x
    MariaDB 10.x
  3. eva2000

    eva2000 Administrator Staff Member

    49,561
    11,374
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +17,677
    Local Time:
    5:55 PM
    Nginx 1.21.x
    MariaDB 10.x
  4. eva2000

    eva2000 Administrator Staff Member

    49,561
    11,374
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +17,677
    Local Time:
    5:55 PM
    Nginx 1.21.x
    MariaDB 10.x
    Updated Centmin Mod 123.09beta01 in preparation for some changes made into the next Nginx 1.19.7+ version to be released as outlined at Beta Branch - disable deprecated HTTP/2 variables in Nginx 1.19.7+ in 123.09beta01. Existing Centmin Mod 123.09beta01 or higher users can first run cmupdate to update local code and then run centmin.sh menu option 4 to recompile Nginx 1.19.7 to auto disable deprecated variables from nginx vhosts when Nginx 1.19.7 is eventually released.

    Nginx 1.19.7 will deprecate HTTP/2 variables in nginx 1.19.7+ as per http://hg.nginx.org/nginx/rev/827202ca1269 and http://hg.nginx.org/nginx/rev/f790816a0e87 for http2_max_field_size, http2_max_header_size and http2_max_requests

    If you're using these deprecated HTTP/2 variables in Nginx 1.19.7+ vhosts, on Nginx service restarts of Nginx config checks (nginx -t), you'll get Nginx warning messages as such but the Nginx service will still start and run Nginx server fine. Example warning message:

    Code (Text):
    nginx: [warn] the "http2_max_field_size" directive is obsolete, use the "large_client_header_buffers" directive instead in /usr/local/nginx/conf/conf.d/domain.com.ssl.conf:26
    nginx: [warn] the "http2_max_header_size" directive is obsolete, use the "large_client_header_buffers" directive instead in /usr/local/nginx/conf/conf.d/domain.com.ssl.conf:27
    nginx: [warn] the "http2_max_requests" directive is obsolete, use the "keepalive_requests" directive instead in /usr/local/nginx/conf/conf.d/domain.com.ssl.conf:28
    
     
  5. eva2000

    eva2000 Administrator Staff Member

    49,561
    11,374
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +17,677
    Local Time:
    5:55 PM
    Nginx 1.21.x
    MariaDB 10.x
    Updated Centmin Mod 123.09beta01 with new centmin-cli.sh script to allow unattended update/recompiles for Nginx, PHP and multi-compression tools. Details at Beta Branch - add centmin-cli.sh command line in 123.09beta01
    Code (Text):
    ./centmin-cli.sh
    
    ./centmin-cli.sh nginx-update 1.19.7
    ./centmin-cli.sh php-update 7.4.15
    ./centmin-cli.sh php-update-all 7.4.15
    ./centmin-cli.sh compress-update
    
     
  6. eva2000

    eva2000 Administrator Staff Member

    49,561
    11,374
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +17,677
    Local Time:
    5:55 PM
    Nginx 1.21.x
    MariaDB 10.x
  7. eva2000

    eva2000 Administrator Staff Member

    49,561
    11,374
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +17,677
    Local Time:
    5:55 PM
    Nginx 1.21.x
    MariaDB 10.x
  8. eva2000

    eva2000 Administrator Staff Member

    49,561
    11,374
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +17,677
    Local Time:
    5:55 PM
    Nginx 1.21.x
    MariaDB 10.x
    updated Centmin Mod 123.09beta01 addons/acmetool.sh with check fix for deprecated acme-v01.api endpoint on very old Centmin Mod Nginx domain issued Letsencrypt certificates to ensure they use v02.api Letsencrypt endpoint and that addons/acmetool.sh defaults to using Letsencrypt CA provider instead of underlying acme.sh clients new ZeroSSL defaults - see Beta Branch - acmetool.sh 1.0.74 (and previous update at Beta Branch - update addons/acmetool.sh 1.0.70 set default CA to letsencrypt in 123.09beta01)
     
  9. eva2000

    eva2000 Administrator Staff Member

    49,561
    11,374
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +17,677
    Local Time:
    5:55 PM
    Nginx 1.21.x
    MariaDB 10.x
  10. eva2000

    eva2000 Administrator Staff Member

    49,561
    11,374
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +17,677
    Local Time:
    5:55 PM
    Nginx 1.21.x
    MariaDB 10.x
    Updated Centmin Mod 123.09beta01 with an updated routine to account for ca-certificates YUM update in the previous post which removes the expiring DST Root CA X3 certificate from
    /etc/pki/tls/certs/ca-bundle.crt CA Trust system bundle. So previous workaround would give an error outlined at https://community.centminmod.com/posts/90262/. This update accounts for folks updating their ca-certificates YUM package.

    Existing users, just run cmupdate command to update your local 123.09beta01 code :)
     
  11. eva2000

    eva2000 Administrator Staff Member

    49,561
    11,374
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +17,677
    Local Time:
    5:55 PM
    Nginx 1.21.x
    MariaDB 10.x
    Updated Centmin Mod 123.09beta01 with specific fixes only if you created Centmin Mod Nginx HTTPS sites with Letsencrypt front facing SSL certificates and need for older CentOS 6 OpenSSL/wget/curl clients to be able to connect to those Centmin Mod Nginx HTTPS sites. If you don't have such use case, there is no need to do a reissue for the updated preferred chain outlined at https://community.centminmod.com/threads/update-acmetool-sh-1-0-76.22024/.
     
  12. eva2000

    eva2000 Administrator Staff Member

    49,561
    11,374
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +17,677
    Local Time:
    5:55 PM
    Nginx 1.21.x
    MariaDB 10.x
  13. eva2000

    eva2000 Administrator Staff Member

    49,561
    11,374
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +17,677
    Local Time:
    5:55 PM
    Nginx 1.21.x
    MariaDB 10.x
  14. eva2000

    eva2000 Administrator Staff Member

    49,561
    11,374
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +17,677
    Local Time:
    5:55 PM
    Nginx 1.21.x
    MariaDB 10.x
  15. eva2000

    eva2000 Administrator Staff Member

    49,561
    11,374
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +17,677
    Local Time:
    5:55 PM
    Nginx 1.21.x
    MariaDB 10.x
  16. eva2000

    eva2000 Administrator Staff Member

    49,561
    11,374
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +17,677
    Local Time:
    5:55 PM
    Nginx 1.21.x
    MariaDB 10.x
  17. eva2000

    eva2000 Administrator Staff Member

    49,561
    11,374
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +17,677
    Local Time:
    5:55 PM
    Nginx 1.21.x
    MariaDB 10.x
    As at January 27, 2022 AEST time, the new code outlined above has now been merged into the main Centmin Mod 123.09beta01 branch via commit at https://community.centminmod.com/th...upport-related-updates-in-123-09beta01.22397/. This includes updated support to optionally automatically sent Nginx upgrade logs to a specified Dropbox account as outlined here https://community.centminmod.com/threads/sending-nginx-upgrade-logs-to-dropbox-via-rclone.22402/

    By default step 1 above config is in place so the same older PCRE v8.45 is installed with Nginx but changed installation location from PREFIX = /usr/local to PREFIX = /usr/local/nginx-dep for new installs. Existing users can update via SSH command = cmupdate.

    Existing Beta Test Users Update



    Existing Centmin Mod 123.09beta01 users who did take part in beta testing outlined here. Need one extra step to remove /usr/local/src/centminmod/inc/sync.inc before cmupdate can run. So for those users, run these 3 commands below:
    Code (Text):
    cd /usr/local/src/centminmod
    rm -f /usr/local/src/centminmod/inc/sync.inc
    cmupdate
    
     
  18. eva2000

    eva2000 Administrator Staff Member

    49,561
    11,374
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +17,677
    Local Time:
    5:55 PM
    Nginx 1.21.x
    MariaDB 10.x
  19. eva2000

    eva2000 Administrator Staff Member

    49,561
    11,374
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +17,677
    Local Time:
    5:55 PM
    Nginx 1.21.x
    MariaDB 10.x