PHP error restoring DHCP lease data on fresh installation:
Restoring a configuration with DHCP lease data can lead to a PHP error when restoring during a fresh install:
[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 264
If the restore part happens before the first DHCP daemon startup that directory structure likely doesn't exist yet.
Updated by Viktor Gurov about 1 month ago
- Assignee set to Viktor Gurov
- Affected Version set to 2.5.0