• 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.

Resolved How to reinstall nginx?

hardbrasil

Regular Pleskian
hello fellas,

our manager tried to reinstall nginx and now its not loading anymore.

how can i reinstall it from ssh?

Centos7/64bits

Code:
[root@admin ~]# systemctl status nginx
● nginx.service - Startup script for nginx service
   Loaded: loaded (/usr/lib/systemd/system/nginx.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Mon 2016-10-31 10:10:17 BRST; 5min ago
  Process: 29815 ExecStartPre=/usr/bin/test $NGINX_ENABLED = yes (code=exited, status=2)


trought Plesk panel

Code:
Unable to start service: Unable to manage service by nginxmng: ('start', 'nginx'). Error: [2016-10-31 10:10:18] ERR [util_exec] proc_close() failed ['/usr/local/psa/admin/bin/nginx_control' '--start'] with exit code [1] Can not start proxy server:



thanks
 
Last edited:
Hi hardbrasil,

pls. don't make the mistake to mix the package "nginx", with the Plesk shipped version called "sw-nginx", when you use your package manager, even that Plesk calls it's component "nginx" as well. ;)


The fastest way to install and de-install Plesk components, is to use the "Plesk installer":

Show Plesk components for the current installed Plesk version:

plesk installer --select-product-id plesk --select-release-current --show-components --show-options
​
Install a Plesk component ( as listed from the above command! ) - Examples :

plesk installer --select-product-id plesk --select-release-current --install-component nginx

plesk installer --select-product-id plesk --select-release-current --install-component Apache
​
De-Install a Plesk component ( as listed from the above command! ) - Examples :

plesk installer --select-product-id plesk --select-release-current --install-component nginx

plesk installer --select-product-id plesk --select-release-current --install-component Apache
​


Pls. make sure to use the command

"/usr/local/psa/admin/sbin/nginxmng -e", to ENABLE the reverse proxy,

"/usr/local/psa/admin/sbin/nginxmng -d", to DISABLE the reverse proxy and

"/usr/local/psa/admin/sbin/nginxmng -s", to SHOW THE STATUS of the reverse proxy.​
 
Last edited by a moderator:
Back
Top