Want more timely Centmin Mod News Updates?
Become a Member

Upgrade Nginx Centmin Mod upgraded - unknown "webp_extension"

Discussion in 'Install & Upgrades or Pre-Install Questions' started by vivek singh, Sep 23, 2020.

  1. vivek singh

    vivek singh New Member

    7
    1
    3
    Sep 20, 2020
    Ratings:
    +1
    Local Time:
    8:37 AM
    hello i am having same issue, i upgraded to beta version and now I am unable to add new site when I do I get this error on nginx- nginx: [emerg] unknown "webp_extension"

     
  2. eva2000

    eva2000 Administrator Staff Member

    47,461
    10,759
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +16,715
    Local Time:
    1:07 PM
    Nginx 1.19.x
    MariaDB 5.5/10.x
    did you upgrade from 123.08stable to 123.09beta01 ? as some config files won't have been upgraded so as to not overwrite your custom changes. One would be the /usr/local/nginx/conf/webp.conf include file in /usr/local/nginx/conf/nginx.conf which was added in 123.09beta01. I will be updating 123.09beta01 to ensure I add a check for such in future though.

    For now, in your /usr/local/nginx/conf/nginx.conf file add right after the geoip.conf include file, the webp.conf include file so it looks like
    Code (Text):
    include /usr/local/nginx/conf/geoip.conf;
    include /usr/local/nginx/conf/webp.conf;
    

    save nginx.conf and restart nginx

    and check nginx config via command
    Code (Text):
    nginx -t
     
    Last edited: Sep 23, 2020
  3. eva2000

    eva2000 Administrator Staff Member

    47,461
    10,759
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +16,715
    Local Time:
    1:07 PM
    Nginx 1.19.x
    MariaDB 5.5/10.x
    FYI, just updated 123.09beta01 with the auto fix. Just run cmupdate command on in SSH and then run centmin.sh once and exit and it should have auto added missing webp.conf include file into nginx.conf :)
     
  4. vivek singh

    vivek singh New Member

    7
    1
    3
    Sep 20, 2020
    Ratings:
    +1
    Local Time:
    8:37 AM
    thanks alot but i checeked previous comments and solved it.