Scenario
You are operating an OPNsense edge and have just upgraded a plugin. The following symptoms appear:
- Plugin-related GUI tabs are missing or empty
- Plugin service fails to start after an upgrade
- System log shows a PHP or template error referencing the plugin
Available evidence:
- Firmware → Plugins lists the plugin as “out of date” but reinstalling fails
- system log: “cannot redeclare class
<PluginName>” or template not found /var/log/<plugin>.logor/usr/local/etc/<plugin>/shows parse errors
Your task
Determine the cause, recover, document, and validate.
Investigation
The investigation follows the discipline taught in Part XLIV:
- Form hypothesis, find evidence, test, validate.
- Use the available evidence above to bound the search.
- Reach one of the likely root causes.
Recovery procedure
(Do not reveal until you have reasoned through the problem.)
- Identify the failing component.
- Apply the remediation pathway.
- Validate with the verification step.
- Document the incident.
Remediation
- Identify the plugin and its current version:
pkg info | grep <plugin>. 2. Check the plugin’s changelog or release page for compatibility with your OPNsense version. 3. Either downgrade the plugin to a compatible version, or upgrade the OPNsense core to a compatible version. 4. Reinstall the plugin from Firmware → Plugins and verify the GUI tabs and service come back.
Verification
Plugin GUI tabs render; plugin service starts; integration points (DNS, IPsec, Suricata) work as expected.
Rollback
Remove the plugin (pkg delete <plugin>) if needed; expect the integration to be lost until reinstalled correctly.
Prevention
Treat plugin upgrades as part of the upgrade plan: do not upgrade plugins across major OPNsense versions unless the plugin changelog explicitly supports the new core. Read the plugin’s release notes before applying. Test in lab.