Update Guide for Ubuntu / Debian / Kali¶
Requirements:¶
- Previous Faraday server on-prem version installed.
- Redis
- Postgres
Upgrading Faraday¶
Step 1 - Downloading Faraday Installer¶
Download the Faraday installer (.deb or .rpm) from:
Step 2 - Upgrading the package¶
Go to your Download directory and run the following command:
# For .deb
sudo apt-get install ./faraday-server_amd64.deb
This process will take charge of installing and migrating all the data to the new version of Faraday.
Importing License¶
First Method¶
Step 1¶
Delete the old license files from /home/faraday/.faraday/doc/
:
rm /home/faraday/.faraday/doc/*
Step 2¶
Import the license using the "import-license" command:
faraday-manage import-license
Second Method¶
Import the license manually downloading the license file from our Faraday Portal
Step 1¶
Delete the old license files from /home/faraday/.faraday/doc/
:
rm /home/faraday/.faraday/doc/*
On isolated servers where no internet connection is available, copy the license file named "licence.tar.gz" to /home/faraday/.faraday/doc/
.
Extract the contents:
tar xvf {license file}.tar.gz
Post Server/ License Upgrade¶
Check process and status:
sudo systemctl status faraday-server
sudo systemctl enable faraday-server
sudo systemctl restart faraday-server
sudo systemctl status faraday-worker
sudo systemctl enable faraday-worker
sudo systemctl restart faraday-worker
sudo systemctl status faraday-worker-reports
sudo systemctl enable faraday-worker-reports
sudo systemctl enable faraday-worker
Enjoy!