Skip to main content
Juancacst
Staff
Jan 13, 2022 9:51 PM UTC

Technical Tip: Upgrade failed with ./upgrade.sh: line 186: python: command not found

  • Apr 24, 2026 3:00 PM UTC
  • 0 replies
  • 871 views
  • Translate All

 

Description

This article describes the python command not found when running ./upgrade.sh script. 

Scope FortiSIEM in-place upgrade
Solution
  • When running the ./upgrade.sh script, it exits with the error below:

./upgrade.sh: line 186: python: command not found

 

  • Change the "python" entries to"python2.7" within the loops and run the script again.
Juancacst_2-1642102120765.png

 

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