[SOLVED] 22.1.7_1 update issues

Started by opn_nwo, May 18, 2022, 05:46:53 PM

Previous topic - Next topic
May 18, 2022, 05:46:53 PM Last Edit: May 19, 2022, 02:17:34 PM by opn_nwo
I just attempted to update from 22.1.6 to 22.1.7_1 and it didn't complete correctly. When it got to the opnsense package it hung there for a long time. When I click to go back to the main dashboard there was an error:

[18-May-2022 11:21:38 America/Toronto] PHP Warning:  include(/usr/local/opnsense/mvc/app/library/OPNsense/Phalcon/Config/Config.php): failed to open stream: No such file or directory in /usr/local/opnsense/mvc/app/config/config.php on line 4
[18-May-2022 11:21:38 America/Toronto] PHP Warning:  include(): Failed opening '/usr/local/opnsense/mvc/app/library/OPNsense/Phalcon/Config/Config.php' for inclusion (include_path='/usr/local/etc/inc:/usr/local/www:/usr/local/opnsense/mvc:/usr/local/opnsense/contrib:/usr/local/share/pear:/usr/local/share') in /usr/local/opnsense/mvc/app/config/config.php on line 4
[18-May-2022 11:21:38 America/Toronto] PHP Warning:  include(/usr/local/opnsense/mvc/app/library/OPNsense/Phalcon/Autoload/Loader.php): failed to open stream: No such file or directory in /usr/local/opnsense/mvc/app/config/config.php on line 5
[18-May-2022 11:21:38 America/Toronto] PHP Warning:  include(): Failed opening '/usr/local/opnsense/mvc/app/library/OPNsense/Phalcon/Autoload/Loader.php' for inclusion (include_path='/usr/local/etc/inc:/usr/local/www:/usr/local/opnsense/mvc:/usr/local/opnsense/contrib:/usr/local/share/pear:/usr/local/share') in /usr/local/opnsense/mvc/app/config/config.php on line 5
[18-May-2022 11:21:38 America/Toronto] Error: Class 'OPNsense\Phalcon\Config\Config' not found in /usr/local/opnsense/mvc/app/config/config.php:7
Stack trace:
#0 /usr/local/opnsense/www/api.php(9): include()
#1 {main}
[18-May-2022 11:21:38 America/Toronto] PHP Warning:  Cannot modify header information - headers already sent by (output started at /usr/local/opnsense/mvc/app/config/config.php:4) in /usr/local/opnsense/www/api.php on line 39
[18-May-2022 11:21:38 America/Toronto] PHP Warning:  Cannot modify header information - headers already sent by (output started at /usr/local/opnsense/mvc/app/config/config.php:4) in /usr/local/opnsense/www/api.php on line 40


I rebooted and the system came back up and it seems to be working. It's reporting version 22.1.7_1, but when I check for updates or run an health check, the update tabs remains empty with the spinning icon on it.

Any suggestion on how to fix this or force the update to reinstall?

This is what happens when I check for updates now. It just hangs here.

Likely browser cache issue.


Cheers,
Franco