Can someone help me understand what's the error?

Started by Tismofied, February 05, 2023, 03:53:15 PM

Previous topic - Next topic
I have to admit I am way out of my league when it comes to home networking but I am willing to learn bit by bit.
I set up a very simple home network this week with vlans for my ioTs and gaming.
I got an error this morning on my router.
this is what the crash reporter says;

[05-Feb-2023 09:30:08 America/] TypeError: flock(): Argument #1 ($stream) must be of type resource, bool given in /usr/local/opnsense/mvc/app/config/services_api.php:72
Stack trace:
#0 [internal function]: flock(false, 1)
#1 [internal function]: Phalcon\Session\Adapter\Stream->read('3b18c4c8c7eb9xx...')
#2 [internal function]: session_start()
#3 /usr/local/opnsense/mvc/app/config/services_api.php(72): Phalcon\Session\Manager->start()
#4 [internal function]: Closure->{closure}()
#5 [internal function]: Phalcon\Di\Service->resolve(NULL, Object(Phalcon\Di\FactoryDefault))
#6 [internal function]: Phalcon\Di\Di->get('session', NULL)
#7 [internal function]: Phalcon\Di\Di->getShared('session')
#8 /usr/local/opnsense/mvc/app/controllers/OPNsense/Base/ControllerRoot.php(149): Phalcon\Di\Injectable->__get('session')
#9 /usr/local/opnsense/mvc/app/controllers/OPNsense/Base/ApiControllerBase.php(277): OPNsense\Base\ControllerRoot->doAuth()
#10 [internal function]: OPNsense\Base\ApiControllerBase->beforeExecuteRoute(Object(Phalcon\Mvc\Dispatcher))
#11 [internal function]: Phalcon\Dispatcher\AbstractDispatcher->dispatch()
#12 /usr/local/opnsense/www/api.php(24): Phalcon\Mvc\Application->handle('/api/diagnostic...')
#13 {main}

This is probably a bug in opnsense. If you know how to reproduce the error you can create a bug ticket.

any other errors? may be hardware issues?
looks like there was some error while getting the php session store dir and session can not be started