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

Nginx 1.23.1 upgrade failure

Discussion in 'Install & Upgrades or Pre-Install Questions' started by dce, Aug 5, 2022.

  1. eva2000

    eva2000 Administrator Staff Member

    58,895
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    10:27 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    Usually https://community.centminmod.com/threads/how-to-troubleshoot-nginx-installs-upgrades.17778/ along with just output for
    Code (Text):
    nginx -t

    to check nginx config test will tell you why nginx refused to restart


    always run cmupdate before centmin.sh menu option 4 to ensure you have latest updates for Centmin Mod 124.00stable & 130.00beta01 releases which only 2 branches getting updates. 123.09beta01 and 123.08stable don't get any updates anymore.
     
  2. dce

    dce Member

    51
    7
    8
    Feb 21, 2018
    Ratings:
    +9
    Local Time:
    8:27 AM
    Updated to 1.23.1 successfully. Nginx was failing to start because I had disabled pagespeed (pagespeed unplugged) for some sites in the nginx configuration. I commented out before compile and all went well.

    By the way, since the upgrade, when I run the nginx -t command, it now spews the ngnix configuration information for all the enabled sites. Is this normal? Before it just outputted warnings and errors.
     
    Last edited: Aug 15, 2022
  3. eva2000

    eva2000 Administrator Staff Member

    58,895
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    10:27 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    are you sure you typed correct command

    lowercase t is config check only
    Code (Text):
    nginx -t

    uppercase T is a full all nginx vhost/config file configuration dump output
    Code (Text):
    nginx -T
     
  4. dce

    dce Member

    51
    7
    8
    Feb 21, 2018
    Ratings:
    +9
    Local Time:
    8:27 AM
    Yes, I used -T carelessly assuming it did not matter. Learnt something new! Thanks for all the help eva2000....