OPNsense Forum

Archive => 17.7 Legacy Series => Topic started by: RickNY on December 07, 2017, 06:28:22 pm

Title: Crash on upgrade to 17.7.9
Post by: RickNY on December 07, 2017, 06:28:22 pm
Saw the upgrade available for 17.7.9... Did the required update to package manager, then did upgrade to 17.7.9... Crashed at end with message "An API exception occured
Error at /usr/local/opnsense/mvc/app/library/OPNsense/Core/Backend.php:95 - stream_socket_client(): unable to connect to unix:///var/run/configd.socket (Connection refused) (errno=2)"

Submitted the crash report to developers with above info.. Is the state of my system sound at the moment?
Title: Re: Crash on upgrade to 17.7.9
Post by: franco on December 07, 2017, 08:08:01 pm
Hi RickNY,

That is harmless. Your system / GUI is probably up and running?

There is a glitch between the GUI and the API where the backend reloads its socket and this is when this error can occur. Some changes went into 17.7.9 that should make this happen less in the future, but it's still not completely reload-safe, so that error may pop up again in the future.


Cheers,
Franco
Title: Re: Crash on upgrade to 17.7.9
Post by: franco on December 11, 2017, 01:46:26 pm
I think we finally found it... the error handler was too aggressive :)

https://github.com/opnsense/core/commit/f617967


Cheers,
Franco
Title: Re: Crash on upgrade to 17.7.9
Post by: RickNY on December 12, 2017, 01:25:22 pm

was another update pushed out for this?  My system pulled down 17.7.9_9 this morning and installed it without issue.
Title: Re: Crash on upgrade to 17.7.9
Post by: franco on December 12, 2017, 05:11:50 pm
No, this wasn't in the hotfixes, but as I said it only happens sporadically. It is queued up for inclusion in 17.7.10.


Cheers,
Franco
Title: Re: Crash on upgrade to 17.7.9
Post by: RickNY on December 12, 2017, 08:05:26 pm
What was 17.7.9_9?
Title: Re: Crash on upgrade to 17.7.9
Post by: franco on December 12, 2017, 09:27:15 pm
The two hotfixes were recorded via the original announcement: https://forum.opnsense.org/index.php?topic=6581.0


Cheers,
Franco