Skip to main content
calvinc97
Staff & Editor
Staff & Editor
Apr 27, 2026 5:26 PM UTC

Troubleshooting Tip: FortiSOAR upgrade failure due to missing Python yaml module

Description


This article describes an issue where the FortiSOAR upgrade fails due to a missing Python dependency.

During the upgrade process, the following error may be observed in the logs:

ModuleNotFoundError: No module named 'yaml'


This issue prevents the upgrade from completing successfully.

Scope


FortiSOAR.


Solution

To resolve the issue, install the required Python module and retry the upgrade:

  1. Install the required Python module by running the following command:


# yum install -y python3-pyyaml


  1. After installing the module, rerun the upgrade to complete the process.


By following these steps, the issue should be resolved and the FortiSOAR should be successfully upgraded.

    Risk and Resilience in the Age of AI. An OT Thought Leadership Summit for Houston's Critical Infrastructure Leaders. Date: Thursday, December 3, 2026. Time: 8:30 am - 1:30 pm (CT). Location: The Westin Houston, Memorial City | 945 Gessner Road, Houston, TX 77024