TITLE:
Unknown "no_cache" variable nginx
PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE:
OS CentOS Linux 7.4.1708 (Core)
Product Plesk Onyx
Version 17.8.11
PROBLEM DESCRIPTION:
The following error shows up in Plesk after upgrade from Plesk 17.5 #43 to 17.8.11 #2:
New configuration files for the Apache web server were not created due to the errors in configuration templates: nginx: [emerg] unknown "no_cache" variable nginx: configuration file /etc/nginx/nginx.conf test failed . Detailed error descriptions were sent to you by email. Please resolve the issues and click here to generate broken configuration files once again or here to generate all configuration files.
We have tried to find the parameter "no_cache" in nginx configuration files in /etc/nginx/(and sub directories) & /var/www/vhosts/system/(and sub directories) but couldn't locate that parameter in any file.
Even using plesk repair web doesn't work:
httpdmng failed: [2018-03-20 16:17:12.243] ERR [util_exec]
proc_close() failed ['/usr/local/psa/admin/bin/nginx-config'
'-t'] with exit code [1]
[2018-03-20 16:17:12.882] ERR [panel] Apache config
(15215590310.88873800) generation failed: Template_Exception:
nginx: [emerg] unknown "no_cache" variable
nginx: configuration file /etc/nginx/nginx.conf test failed
file:
/usr/local/psa/admin/plib/Template/Writer/Webserver/Abstract.php
line: 75
code: 0
nginx: [emerg] unknown "no_cache" variable
nginx: configuration file /etc/nginx/nginx.conf test failed
Any help would be appreciated.
With best regards.
Unknown "no_cache" variable nginx
PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE:
OS CentOS Linux 7.4.1708 (Core)
Product Plesk Onyx
Version 17.8.11
PROBLEM DESCRIPTION:
The following error shows up in Plesk after upgrade from Plesk 17.5 #43 to 17.8.11 #2:
New configuration files for the Apache web server were not created due to the errors in configuration templates: nginx: [emerg] unknown "no_cache" variable nginx: configuration file /etc/nginx/nginx.conf test failed . Detailed error descriptions were sent to you by email. Please resolve the issues and click here to generate broken configuration files once again or here to generate all configuration files.
We have tried to find the parameter "no_cache" in nginx configuration files in /etc/nginx/(and sub directories) & /var/www/vhosts/system/(and sub directories) but couldn't locate that parameter in any file.
Even using plesk repair web doesn't work:
httpdmng failed: [2018-03-20 16:17:12.243] ERR [util_exec]
proc_close() failed ['/usr/local/psa/admin/bin/nginx-config'
'-t'] with exit code [1]
[2018-03-20 16:17:12.882] ERR [panel] Apache config
(15215590310.88873800) generation failed: Template_Exception:
nginx: [emerg] unknown "no_cache" variable
nginx: configuration file /etc/nginx/nginx.conf test failed
file:
/usr/local/psa/admin/plib/Template/Writer/Webserver/Abstract.php
line: 75
code: 0
nginx: [emerg] unknown "no_cache" variable
nginx: configuration file /etc/nginx/nginx.conf test failed
Any help would be appreciated.
With best regards.