• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

nginx test failed after 11.5 upgrade

TravisG

New Pleskian
After upgrading to 11.5, I get the following message in my control panel:

Code:
New configuration files for the Apache web server were not created due to the errors in configuration templates: nginx: [emerg] "proxy_cache" zone "otto-cache" is unknown in /etc/nginx/nginx.conf:40 nginx: configuration file /etc/nginx/nginx.conf test failed . The error message containing the detailed error descriptions was sent to you by e-mail. Please resolve the issues and click here to generate broken configuration files once again or here to generate all configuration files.

If I try

Code:
/usr/local/psa/admin/sbin/httpdmng --reconfigure-all

I get

Code:
Execution failed.
Command: httpdmng
Arguments: Array
(
    [0] => --reconfigure-domains
    [1] => domains.com (all my domains),
)

Details: 2013-11-04T08:47:56-08:00 ERR (3)  [util_exec]: proc_close() failed
2013-11-04T08:47:56-08:00 ERR (3)  [panel]: Apache config (13835836760.42889800) generation failed: Template_Exception: nginx: [emerg] "proxy_cache" zone "otto-cache" is unknown in /etc/nginx/nginx.conf:40
nginx: configuration file /etc/nginx/nginx.conf test failed

file: /usr/local/psa/admin/plib/Template/Writer/Webserver/Abstract.php
line: 68
code: 0
nginx: [emerg] "proxy_cache" zone "otto-cache" is unknown in /etc/nginx/nginx.conf:40
nginx: configuration file /etc/nginx/nginx.conf test failed

Any ideas?
 
There is no 'proxy_cache' parameter in default nginx configuration:

# grep proxy_cache /etc/nginx/nginx.conf
# grep 'proxy_cache' /etc/nginx/conf.d/*

Check this parameter in included config files in /etc/nginx/conf.d/ directory. Looks like that you have some customization there.
 
Back
Top