Please follow the below template, it will help us to help you!
If you are Experiencing issues with a Pi-hole install that has non-standard elements (e.g you are using nginx instead of lighttpd, or there is some other aspect of your install that is customised) - please use the Community Help category.
Expected Behaviour:
PiHole installed on a Pi Zero 2W with lite OS x64. Connected to the LAN using a ethernet cable via an Argon POD case. Unbound is configured as per standard instructions and been running happily for months.
System becomes unresponsive constantly and I'm unable to view the admin page or access via console. Pinging also does not respond. Only temp fix is to power it off and back on again but then it just reoccurs and Im at a lost to why.
Actual Behaviour:
On the first occurance I replaced the SD card with a new one thinking maybe it had failed but this made no difference. I also replaced the power supply with the official one thinking this was also a common cause of problems. Finally I replaced the Zero wtih a new unit I had spare and a complete fresh install but again this doesnt seem to have made any difference.
Could someone more knowledgeable help where this issue might be and potential resolutions? Thanks!
I did wonder if it was a PiHole update but if so we’d see other people with the same issue. I guess the only other things it can be are the case or even the router. I’m away from home at the moment but will look through the logs you suggest and report back…
Thank you to @deHakkelaar as your guideance in checking the logs has helped me solve the issue.
This issue was not directly related to PiHole but hoepfully it's okay to share my findings here in case anyone else who only host PiHole on their Raspberry device having the same issues will be able to refer to it.
In the log after each 'crash' I found the following which showed me two things. The first was I had an IP conflict, which I attempted to solve by removing the IP reserveration from the router and setting it directly on the Pi Zero. The second was the MAC address seems to be changing on reboot.
The changing of the static IP didnt fix the issue but after some googling I dound this post which caused me to add 'noarp' to the /etc/dhcpcd.conf. This seems to have resolved the issue as it's now been two days and no crashing or as I now know to be an IP conflict.