• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Issue How do I update NGINX version??

Walter

Basic Pleskian
I'm currently using Ubuntu 16.04.3 and nginx 1.11.10. Looking at my installation script, I added the nginx repo before installing Plesk. The latest nginx repo version for Ubuntu mainline nginx is 1.13.5-2. I see after an apt update that "http://autoinstall.plesk.com/ubuntu/NGINX17 xenial InRelease" is listed in addition to my nginx repo. I'm assuming that the Plesk entry is superseding the nginx.org entry? Looking back, I should have installed nginx from repo instead of just adding the repo.

How do I safely upgrade to the nginx distro version from here without adversely impacting my service?

Code:
lsb_release -a
Distributor ID: Ubuntu
Description:    Ubuntu 16.04.3 LTS
Release:        16.04
Codename:       xenial

Code:
nginx -V
nginx version: nginx/1.11.10
built with OpenSSL 1.0.2g  1 Mar 2016

Code:
grep nginx /etc/apt/sources.list
deb http://nginx.org/packages/mainline/ubuntu/ xenial nginx
deb-src http://nginx.org/packages/mainline/ubuntu/ xenial nginx

Code:
apt-cache show nginx
Package: nginx
Version: 1.13.5-2~xenial
Architecture: amd64
Maintainer: Sergey Budnevitch <[email protected]>
Installed-Size: 2782
Depends: init-system-helpers (>= 1.18~), libc6 (>= 2.14), libpcre3, libssl1.0.0 (>= 1.0.2~beta3), zlib1g (>= 1:1.1.4), lsb-base (>= 3.0-6), adduser
Conflicts: nginx-common

Code:
sudo apt-get update && sudo apt -y upgrade
Hit:1 http://us.archive.ubuntu.com/ubuntu xenial InRelease
Get:2 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB]
Get:3 http://us.archive.ubuntu.com/ubuntu xenial-backports InRelease [102 kB]
Hit:4 http://autoinstall.plesk.com/ubuntu/PSA_17.5.3 xenial InRelease
Hit:5 http://autoinstall.plesk.com/ubuntu/PHP70_17 xenial InRelease
Hit:6 http://autoinstall.plesk.com/ubuntu/PHP71_17 xenial InRelease
Hit:7 http://autoinstall.plesk.com/ubuntu/NGINX17 xenial InRelease
Get:8 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]
Hit:9 http://nginx.org/packages/mainline/ubuntu xenial InRelease
Fetched 306 kB in 0s (395 kB/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
 
Hi Walter,

Plesk comes with its very own compiled "nginx" - version, called "sw-nginx". Using a different nginx - version on your server might cause issues/errors/problems.
 
Back
Top