Skip to main content
bbae
Staff
Staff
May 15, 2026

Troubleshooting Tip: Unable to log in to GUI with error 'Error verifying magic file'

  • May 15, 2026
  • 0 replies
  • 33 views

Description

This article describes how to resolve an issue where users are unable to log in to the FortiSOAR GUI and receive the error message:

"Error verifying magic file".


4a2fa5d1.jpg

Scope

FortiSOAR.

Solution

  1. Confirm that the device UUID matches the one value stored in the database.

  • UUID.


Run these steps to check the UUID every time:

csadm license --refresh-device-uuid
systemctl restart cyops-auth
csadm license --show-details
cat /home/csadmin/device_uuid
csadm license --get-device-uuid


  • UUID from the database:

psql -U cyberpgsql -d das <- Password is the device uuid = # csadm license --get-device-uuid.
# SELECT hardware_key, eula_accepted,serial_no FROM envc;


  1. Verify whether the FortiSOAR deployment is incomplete with failed files by following the steps in Troubleshooting Tip: How to use the CLI to resolve the 'VM Configs Failed' error in FortiSOAR.


If a failed item is found, run the VM configuration script as the article instructs.


  1. Clear the license from the database, then deploy the appropriate license again.


Note: Take a snapshot to revert to in the event of any further issues before proceeding with the following steps:

  • Clear the license from the database:

psql -U cyberpgsql das
TRUNCATE TABLE envc;
\q
sudo -u nginx php /opt/cyops-api/bin/console app:import:from:file -f /opt/cyops-api/src/DataFixtures/Widgets/widgets.json


  • Deploy the appropriate license again.

csadm license --deploy-license FSRVMSTM00000000.lic


Related document:

Deploying the FortiSOAR license using the FortiSOAR UI


If the steps above do not resolve the issue, open a FortiCare support ticket: Technical Tip: The correct way to open a FortiCare Ticket for FortiManager/FortiAnalyzer Cloud issue in Support Portal.