Skip to content

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.

Updating the Postanalytics Module

The postanalytics module should be updated prior to updating any other packages if it is installed on the separate server.

If the postanalytics module and Wallarm NGINX module shares the same server, then no additional actions are required. Take steps described in this document to update all packages at once.

1. Update the Wallarm Packages

Run the command if postanalytics module and Wallarm NGINX modules are installed on the same server:

apt-get update
apt-get install wallarm-node
apt-get update
apt-get install wallarm-node
apt-get update
apt-get install wallarm-node
apt-get update
apt-get install wallarm-node
apt-get update
apt-get install wallarm-node
apt-get update
apt-get install wallarm-node
yum update wallarm-node
yum update wallarm-node
yum update wallarm-node

Run the command if only Wallarm NGINX module is installed on the server:

apt-get update
apt-get install wallarm-node-nginx
apt-get update
apt-get install wallarm-node-nginx
apt-get update
apt-get install wallarm-node-nginx
apt-get update
apt-get install wallarm-node-nginx
apt-get update
apt-get install wallarm-node-nginx
apt-get update
apt-get install wallarm-node-nginx
yum update wallarm-node-nginx
yum update wallarm-node-nginx
yum update wallarm-node-nginx

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:

systemctl restart nginx
systemctl restart nginx
systemctl restart nginx
service nginx restart
service nginx restart
service nginx restart
service nginx restart
systemctl restart nginx
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:

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
systemctl restart nginx-wallarm