Wireless Controller
Dedicated Wi-Fi control and management for high density and mobility
mp2
Staff
Staff
Article Id 197973
Description
This article describes the reason and how to overcome the upgrade failure on FortiWLC with reason 'terminate called after throwing an instance of 'Meru::PatchXmlFileParserException''.

Related link.

https://docs.fortinet.com/product/wireless-controller/8.5

Solution
FortiWLC upgrade getting failed with the below error.
Current Version is 8.3-3GAbuild-0
Upgrading Controller
terminate called after throwing an instance of 'Meru::PatchXmlFileParserException'
what(): Characters returned error: patch/vcs error for filename = /opt/meru/etc/patch/install/8.1-2-0-patch-BUG49920.xml
/opt/meru/etc/cli/upgrade_controller.sh: line 289: 30380 Aborted /opt/wlan/bin/upgrade $*
Diagnostics of this session can be found in /opt/wlan/var/log/setup.log
The FortiWLC will give the above error if there is any patch installed on the previous version.
Hence it is recommended to uninstall and delete the old patch on the FortiWLC before the upgrade.
Find the below steps to uninstall and delete the patch from FortiWLX before the upgrade.

From CLI.
FWLC-MP(15)# show patch installed
8.5-1build-18-patch-BUGXXXXX-1812191548-FAP43X-arm
FWLC-MP(15) patch uninstall 8.5-1build-18-patch-BUGXXXXX-1812191548-FAP43X-arm
From GUI.
Go to Maintenance -> File Management -> Patches, select the installed patch and select 'unistall', then again select the patch and select 'delete'.



Contributors