Skip to content

Updating the Separately Installed Postanalytics Module

These instructions describe the steps to update the postanalytics module installed on a separate server. Postanalytics module must be updated before updating Linux WAF packages.

Step 1: Add new Wallarm WAF repository

Delete the previous Wallarm WAF repository address and add a repository with a new WAF node version packages. Please use the commands for the appropriate platform.

CentOS and Amazon Linux 2

sudo yum remove wallarm-node-repo
sudo rpm -i https://repo.wallarm.com/centos/wallarm-node/7/2.16/x86_64/Packages/wallarm-node-repo-1-5.el7.noarch.rpm

Debian and Ubuntu

  1. Open the file with the Wallarm WAF repository address in the installed text editor. In this instruction, vim is used.

    sudo vim /etc/apt/sources.list.d/wallarm.list
    
  2. Comment out or delete the previous repository address.

  3. Add a new repository address:

    deb http://repo.wallarm.com/debian/wallarm-node stretch/2.16/
    
    deb http://repo.wallarm.com/debian/wallarm-node stretch/2.16/
    deb http://repo.wallarm.com/debian/wallarm-node stretch-backports/2.16/
    
    deb http://repo.wallarm.com/debian/wallarm-node buster/2.16/
    
    deb http://repo.wallarm.com/ubuntu/wallarm-node xenial/2.16/
    
    deb http://repo.wallarm.com/ubuntu/wallarm-node bionic/2.16/
    

Step 2: Update the Tarantool packages

sudo apt update
sudo apt dist-upgrade -o Dir::Etc::sourcelist=/etc/apt/sources.list.d/wallarm.list -o Dir::Etc::sourceparts=""
sudo apt update
sudo apt dist-upgrade -o Dir::Etc::sourcelist=/etc/apt/sources.list.d/wallarm.list -o Dir::Etc::sourceparts=""
sudo yum update

Step 3: Restart the postanalytics module

sudo systemctl restart wallarm-tarantool
sudo service wallarm-tarantool restart
sudo systemctl restart wallarm-tarantool