Failed opening required '/usr/local/pkg/apache_mod_security.inc'
-
After upgrading from 2.5.2 to 2.7.0-RELEASE (amd64), I now receive this error:
[28-Oct-2024 09:12:45 America/Denver] PHP Fatal error: Uncaught Error: Failed opening required '/usr/local/pkg/apache_mod_security.inc' (include_path='.:/etc/inc:/usr/local/pfSense/include:/usr/local/pfSense/include/www:/usr/local/www:/usr/local/captiveportal:/usr/local/pkg:/usr/local/www/classes:/usr/local/www/classes/Form:/usr/local/share/pear:/usr/local/share/openssl_x509_crl/') in Standard input code:3
Stack trace:
#0 {main}
thrown in Standard input code on line 3 -
Most likely it aborted the upgrade process part way through for some reason and ended up with a partial upgrade. That results in library mismatches or just missing.
If it still has access to the repos you may be able to run a forced pkg re-install to complete it.
However I would probably just install 2.7.2 clean and restore your config into it.
Steve