Update Guide for Ubuntu/Debian/Kali¶
Requirements:¶
- Previous install of Faraday 4.6.2 or bellow
- 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.
Step 3 - Migrating References (from previous versions to 5.0.0 only)¶
As part of migrating the data on references faraday run:
faraday-manage move-references -a true
Step 4 - Migrating Host Stats (from previous versions to 5.1.1 only)¶
As part of migrating the data on references faraday run:
faraday-manage sync-hosts-stats
Importing License¶
faraday-manage import-license
Or, in isolated servers, download the license file from the portal and place it in /home/faraday/.faraday/doc/
. Remove old license files from the doc folder when renewing the license:
tar xvf {license file}.tar.gz
Post Upgrade¶
Check process and status:
sudo systemctl status faraday-server
sudo systemctl enable faraday-server
sudo systemctl status faraday-worker
sudo systemctl enable faraday-worker
sudo systemctl status faraday-worker-reports
sudo systemctl enable faraday-worker-reports