• The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

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