PHP errors with 2.7.0-DEVELOPMENT-amd64-20220512-1201 snapshot
-
Did a clean reinstall and received this:
md64
12.3-STABLE
FreeBSD 12.3-STABLE devel-12-n227369-faf3efce301 pfSenseCrash report details:
PHP Errors:
[12-May-2022 18:31:16 ] PHP Warning: file_put_contents(/var/dhcpd/var/db/dhcpd.leases): failed to open stream: No such file or directory in /etc/inc/config.lib.inc on line 264No FreeBSD crash data found.
Under /var/dhcpd/var/db/ I have two files named:
dhcpd.leases
dhcpd.leases~
created today.Any ideas?
-
Were you restoring a configuration that contained DHCP lease data?
-
@jimp Correct. The thing is I did not lose any lease data. Is there any impact here?
-
I'd expect it to have failed to restore the data with that error so I'm not sure what might have happened. Likely the directory did not exist at first and then once it was created it could restore the data.
-
One more question: How did you restore the configuration? Using the GUI? Copied from USB during the install? Or using the ECL method?
-
@jimp Inspecting further I see that all leases were reassigned with today's date, besides the DHCP Static Mappings ones.
-
@jimp I used both of them.
I mean I had the config.xml in both locations:\config\config.xml
and
\conf\config.xmlso I think the USB one triggered first.
-
So it probably didn't actually restore the lease data then.
We'll look into it
-
@jimp said in PHP errors with 2.7.0-DEVELOPMENT-amd64-20220512-1201 snapshot:
So it probably didn't actually restore the lease data then.
We'll look into it
Thanks,
I am available to reinstall and test, when the fix reaches a snapshot.