Is anybody able to help me out with a fix for this problem:
(it occurs every few seconds):
[14-Sep-2024 13:43:49 Europe/Berlin] PHP Fatal error: Uncaught Error: Failed opening required '/usr/local/www/widgets/api/plugins/system.inc' (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/etc/inc/xmlrpc/hass.inc(12) : eval()'d code:5
Stack trace:
#0 /usr/local/etc/inc/xmlrpc/hass.inc(12): eval()
#1 /usr/local/opnsense/contrib/IXR/IXR_Library.php(446): exec_php_xmlrpc('\nini_set('displ...')
#2 /usr/local/opnsense/contrib/IXR/IXR_Library.php(384): IXR_Server->call('opnsense.exec_p...', '\nini_set('displ...')
#3 /usr/local/opnsense/contrib/IXR/IXR_Library.php(357): IXR_Server->serve('<?xml version='...')
#4 /usr/local/etc/inc/xmlrpc.inc(67): IXR_Server->__construct(Array)
#5 /usr/local/www/xmlrpc.php(104): XMLRPCServer->start()
#6 {main}
thrown in /usr/local/etc/inc/xmlrpc/hass.inc(12) : eval()'d code on line 5
[14-Sep-2024 13:45:10 Europe/Berlin] PHP Fatal error: Uncaught Error: Failed opening required '/usr/local/www/widgets/api/plugins/system.inc' (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/etc/inc/xmlrpc/hass.inc(12) : eval()'d code:5
Stack trace:
#0 /usr/local/etc/inc/xmlrpc/hass.inc(12): eval()
#1 /usr/local/opnsense/contrib/IXR/IXR_Library.php(446): exec_php_xmlrpc('\nini_set('displ...')
#2 /usr/local/opnsense/contrib/IXR/IXR_Library.php(384): IXR_Server->call('opnsense.exec_p...', '\nini_set('displ...')
#3 /usr/local/opnsense/contrib/IXR/IXR_Library.php(357): IXR_Server->serve('<?xml version='...')
#4 /usr/local/etc/inc/xmlrpc.inc(67): IXR_Server->__construct(Array)
#5 /usr/local/www/xmlrpc.php(104): XMLRPCServer->start()
#6 {main}
thrown in /usr/local/etc/inc/xmlrpc/hass.inc(12) : eval()'d code on line 5
Remove Home Assistant plugin.
Cheers,
Franco
Hey @Franco,
where do you see in the log that home assistant is the problem?
Could you explain it for me that I'm able to comprehend the error?
Cheers,
0zzy
hass.inc <-- there
I've said it elsewhere, but to reiterate:
Nothing against Home Assistant people here, but they did make the choice to repurpose the pfSense integration which will keep breaking because we want to clean up the /usr/local/etc/inc parts and have proper APIs to do the job that they require. But it is what it is.
Cheers,
Franco
Hi @Franco
this makes absolutely sense, I forget it after test something with home assistant.
It works for a while, now after you explain the situation, I check my home assistant config and there are also errors, which I fixed today.
I use it also for checking on updates, not only for opnsense (there is much more ;) ).
for me it's not necessary more a nice to have.
So thank you for the explaination, it would help me to sort such issues on opnsense.
Cheers and have a nice weekend.
0zzy