PHP error after reboot
-
Looks like this: https://redmine.pfsense.org/issues/14432
But if you're doing something custom there it could be that.
Steve
-
@Gertjan
Actually, I think when the owner is telegraf it seems ok.I disabled the Telegraf service and removed the file. The file was not created until the watchdog service detected the service down and restarted it.
The file was then created with the root owner, but so far no PHP error thrown.This is weird but it seems in fact an issue with the owner of the file, as you said, root should overcome the telegraf user.
I've stopped the service, removed the file, watchdog starts the service, and now it's always created with the root user ...
Well, no further investigation as we can conclude this is related to the telegaf service and the root user, and the creation of that file, and I'll keep an eye on It.
Thank you for your insights and support.
Best regards.
JG -
@stephenw10 said in PHP error after reboot:
Looks like this: https://redmine.pfsense.org/issues/14432
But if you're doing something custom there it could be that.
Steve
Actually, the only custom is the addition of the influx db v2 part inside the telegraf.conf file.
I guess I can change the config of the influxDB to accept it but on the other hand why? why can't we use the either version v1 or v2 influx DB connections?
But that's not the point of this thread.
And as said above I thank you all for your insights and help, I now understand a bit more thanks to you.
Best regards.
JG -
Well there's a patch on that bug you can apply to correct it if that's the issue.
-
Of course, no point in asking for help/support/advice and acting if all is normal.
I do want to see if the patch solves the issue, even if I kinda of concluded that I'm able to manage the issue.
So if you please can you direct/provide the link/access to the patch?Much appreciated.
Regards,
Jg -
You can just add the commit hash to the system patches package directly:
Then fetch and apply it.
Steve
-
@stephenw10 well, I think this is for the non-ce version of PFsense ..
Since I cannot find, or see, that SYSTEM->Patches option. -
@magoo_it It's an add-on package for CE and Plus: https://docs.netgate.com/pfsense/en/latest/development/system-patches.html
-
@rcoleman-netgate said in PHP error after reboot:
@magoo_it It's an add-on package for CE and Plus: https://docs.netgate.com/pfsense/en/latest/development/system-patches.html
And you beat it to me ... I just opened the thread tom come here to inform you the a simple duck search just told me so ...
Nevertheless, I thank you so much.It seems that today is not my best day on IT ... well better days will come.
Regards.
JG -
@magoo_it said in PHP error after reboot:
It seems that today is not my best day on IT ... well better days will come.
aww, don't be so hard on yourself. I have to keep a sticky on the Reddit group about this tool because it seems very few people there know about it, either.
-
G Gertjan referenced this topic on
-
-
G Gertjan referenced this topic on