Updating the Wallarm Packages on Linux

To update the Wallarm packages on Linux, you must:

  1. Update the Wallarm packages.
  2. Check the NGINX configuration file.
  3. Restart NGINX.

1. Update the Wallarm Packages

Run the command:

Debian 8.x (jessie)
Debian 9.x (stretch)
Ubuntu 14.04 LTS (trusty)
Ubuntu 16.04 LTS (xenial)
Ubuntu 18.04 LTS (bionic)
CentOS 6.x
CentOS 7.x
apt-get update
apt-get dist-upgrade
apt-get update
apt-get dist-upgrade
apt-get update
apt-get dist-upgrade
apt-get update
apt-get dist-upgrade
apt-get update
apt-get dist-upgrade
yum update wallarm-node
yum update wallarm-node

Repository access

Your system must have access to https://repo.wallarm.com to download the packages. Ensure the access is not blocked by a firewall.

2. Check the NGINX Configuration File

Parameters wallarm_tarantool_host and wallarm_tarantool_port

The wallarm_tarantool_host and wallarm_tarantool_port have been deprecated starting with version 2.6. If you used these parameters to set up Tarantool, you must replace them with wallarm_tarantool_upstream. See wallarm_tarantool_upstream.

Check that the configuration file is correct after updating the packages.

Run the command:

nginx-wallarm -t

3. Restart NGINX

If you installed Wallarm with NGINX Plus or as a dynamic module for NGINX, restart the nginx service.

Restart the nginx service:

Debian 8.x (jessie)
Debian 9.x (stretch)
Ubuntu 14.04 LTS (trusty)
Ubuntu 16.04 LTS (xenial)
Ubuntu 18.04 LTS (bionic)
CentOS 6.x
CentOS 7.x
systemctl restart nginx
systemctl restart nginx
service nginx restart
service nginx restart
service nginx restart
service nginx restart
systemctl restart nginx
If you installed Wallarm without NGINX Plus or not as a dynamic module for NGINX, restart the nginx-wallarm service.

Restart the nginx-wallarm service:

Debian 8.x (jessie)
Debian 9.x (stretch)
Ubuntu 14.04 LTS (trusty)
Ubuntu 16.04 LTS (xenial)
Ubuntu 18.04 LTS (bionic)
CentOS 6.x
CentOS 7.x
systemctl restart nginx-wallarm
systemctl restart nginx-wallarm
service nginx-wallarm restart
service nginx-wallarm restart
service nginx-wallarm restart
service nginx-wallarm restart
systemctl restart nginx-wallarm

results matching ""

    No results matching ""