FortiSOAR Knowledge Base
FortiSOAR: Security Orchestration and Response software provides innovative case management, automation, and orchestration. It pulls together all of an organization's tools, helps unify operations, and reduce alert fatigue, context switching, and the mean time to respond to incidents.
calvinc97
Staff
Staff
Article Id 371708
Description

This article provides a method to clear license entries in the database.

Scope FortiSOAR.
Solution

When the license table has additional entries of a license, it is required to have only one license in the database.

This can occur when the database is externalized and the application server is cloned or restored from backup, as the uuid is changing.

 

Note:

Take a snapshot for revert in case of any issues before proceeding with the below:

 

  1. Run the following command below on FortiSOAR SSH to enter the database:

 

# psql -U cyberpgsql -d das <----- Password is the device uuid = # csadm license --get-device-uuid.

 

  1. List out all existing license files and verify them accordingly:

 

das=# select serial_no,hardware_key from envc

 

  1. Run the command below to truncate the env file, clearing all license entries in the database:

 

truncate envc;

 

After that, proceed to access the GUI and deploy the correct license on the FortiSOAR.

Contributors