Update to 18.7 problem

Started by maxbw, October 13, 2018, 01:34:05 PM

Previous topic - Next topic
After I've updated via WebGUI to 18.7 opnsense was not reachable anymore over IP, so I connected via serial interface.
The process stopps now with this.
What can I do now to restore the old settings?
Haven't made any backup before update manually  :-[

Initializing...
Fatal error: Uncaught OPNsense\Core\ConfigException: empty file in /usr/local/opnsense/mvc/app/library/OPNsense/Core/Config.php:322
Stack trace:
#0 /usr/local/opnsense/mvc/app/library/OPNsense/Core/Config.php(350): OPNsense\Core\Config->loadFromFile('/conf/config.xm...')
#1 /usr/local/opnsense/mvc/app/library/OPNsense/Core/Config.php(514): OPNsense\Core\Config->load()
#2 /usr/local/opnsense/mvc/app/library/OPNsense/Core/Config.php(291): OPNsense\Core\Config->restoreBackup('/conf/backup/co...')
#3 /usr/local/opnsense/mvc/app/library/OPNsense/Core/Singleton.php(49): OPNsense\Core\Config->init()
#4 /usr/local/opnsense/mvc/app/library/OPNsense/Core/Singleton.php(70): OPNsense\Core\Singleton->__construct()
#5 /usr/local/etc/inc/config.inc(82): OPNsense\Core\Singleton::getInstance()
#6 /usr/local/etc/inc/config.inc(333): parse_config()
#7 /usr/local/etc/rc.bootup(52): require_once('/usr/local/etc/...')
#8 {main}
  thrown in /usr/local/opnsense/mvc/app/library/OPNsense/Core/Config.php on line 322
Enter full pathname of shell or RETURN for /bin/sh:

Thanks in advance Max

Looks like the upgrade missed something along the way. All is not lost. Re-install from media and when prompted select to use existing config. Once  you get back to the shell menu, remember you are running in live mode so log in as installer to allow it to write to the drive.
OPNsense 24.7 - Qotom Q355G4 - ISP - Squirrel 1Gbps.

Team Rebellion Member