Error adding DHCP address reservation

Hi folks. I'm seeing the same error as in Error on setting up Static DHCP, namely that I receive an error in the web UI upon adding a new DHCP address reservation. The reservation is successfully added to the referenced file, and the web UI updates with the new addition. It looks like just a UI glitch. I'm on Raspbian Stretch with all the latest updates. Is there a fix for this?

The exact error is:

Error

There was a problem applying your settings.
Debugging information:
PHP error (2): fopen(/etc/dnsmasq.d/04-pihole-static-dhcp.conf): failed to open stream: No such file or directory in /var/www/html/admin/scripts/pi-hole/php/savesettings.php:66

The debug token is 90y1y9ak4t

Edited to add: the error only appeared when I added the first reservation. Adding further reservations did not trigger the error message.

This issue was found and will be fixed in v4.1 when it is released:
https://github.com/pi-hole/pi-hole/issues/2444
https://github.com/pi-hole/AdminLTE/pull/852

1 Like

I see - thanks for letting me know :smiley:

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.