Couldn't find a similar problem listed, perhaps it's just a case of a quick tune in ports/blocked lists...?
Anyway, here it is: have a working NAS server with OMV running on an Odroid HC2 since last year; and two weeks ago I've added to my network a PiHole, running on a Pi zero W2 (with usb Ethernet). So it's not the case of OMV and Pihole running on the same machine and address: two different machines on two different addresses.
Both the NAS and the PiHole are working well, but since installation of the latter I can't access the web GUI page of OMV. What I get is:
" This page isn’t working 192.168.1.228 is currently unable to handle this request.
HTTP ERROR 500"
Even though the server works just as before, and I can SSH it just as before.
There's no problem in access the web GUI or SSH in the PiHole.
FWIW, I've added "192.168.1.228" in the whitelist, with no results.
Pi-hole is a filtering DNS resolver.
It blocks resolution of domains into IP addresses, rather than IP addresses.
Adding an IP address doesn't have any effect, i.e. that doesn't block or allow anything.
That's OMV's webserver telling you it failed to serve an HTTP request.
That could happen for a good variety of reasons, where DNS wouldn't be the first suspect.
If Pi-hole would be involved here, then probably for not supplying resolution for local hostnames.
Let's check whether your OMV NAS is using Pi-hole for DNS at all, and whether it would know the name for your OMV IP address.
Run from your OMV machine, what's the output of
nslookup pi.hole
dig -x 192.168.1.228
That's assuming that 192.168.1.228 is indeed your OMV IP address - substitute as required.
Please share the full output, including the exact commands, preferably as text.
(I'll help with the formatting if required.)
Thanks a lot, FWIW a reboot gave no help in this (the whole NAS works with no problems)
Welcome to Armbian 21.08.2 Buster with Linux 5.4.142-odroidxu4
System load: 1% Up time: 14 days 1:23
Memory usage: 12% of 1.94G IP: 192.168.1.228
CPU temp: 37°C Usage of /: 12% of 15G
storage/: 76% of 954G
[ 0 security updates available, 42 updates total: apt upgrade ]
Last check: 2021-11-20 00:00
[ General system configuration (beta): armbian-config ]
Last login: Fri Nov 12 21:58:43 2021 from 192.168.1.251
root@OdroidHC2:~# nslookup pi.hole
Server: 192.168.1.204
Address: 192.168.1.204#53
Name: pi.hole
Address: 192.168.1.204
Name: pi.hole
Address: 2a00:23c5:309:ef00:9021:9ac3:4881:201f
Your above results show that your NAS is using Pi-hole at 192.168.1.204 for DNS, and that Pi-hole does know OdroidHC2.lan as a hostname for 192.168.1.228.
This would indicate that Pi-hole is operating as expected for now.
Could you share the URL that's prompting a HTTP/500 when trying to access it?
Since you are using the IP address, this would again preclude Pi-hole from being involved.
Pi-hole could then only contribute to your issue if your OMV would request a domain that Pi-hole cannot resolve.
To verify, watch Pi-hole's Query Log when accessing your OMV's web interface.
Does it show any queries from your OdroidHC2 / 192.168.1.228?
Did Pi-hole block any of them, or return NXDOMAIN as a reply?
Hello, thanks for the suggestion.
Right now, 10:45am, I have tried to access the GUI (IP= 192.168.1.228) but it's not logged:
Time
Type
Domain
Client
Status
Reply
Action
Time
Type
Domain
Client
Status
Reply
Action
2021-11-28 10:45:12
AAAA
audio6.mixcloud.com
NetworkStreamer-Rpi3B-volumio
OK (cache)
NODATA (0.3ms)
2021-11-28 10:45:12
A
audio6.mixcloud.com
NetworkStreamer-Rpi3B-volumio
OK (cache)
IP (0.4ms)
2021-11-28 10:45:04
AAAA
audio6.mixcloud.com
NetworkStreamer-Rpi3B-volumio
OK (cache)
NODATA (0.3ms)
2021-11-28 10:45:04
A
audio6.mixcloud.com
NetworkStreamer-Rpi3B-volumio
OK (cache)
IP (0.6ms)
2021-11-28 10:44:56
A
play.google.com
PC-Desktop-HP8300
OK, sent to resolver2.opendns.com#53
N/A
2021-11-28 10:44:56
AAAA
play.google.com
PC-Desktop-HP8300
OK, sent to resolver2.opendns.com#53
N/A
2021-11-28 10:44:56
A
play.google.com
PC-Desktop-HP8300
OK, sent to resolver2.opendns.com#53
N/A
2021-11-28 10:44:56
AAAA
play.google.com
PC-Desktop-HP8300
OK, sent to resolver2.opendns.com#53
N/A
2021-11-28 10:44:56
AAAA
play.google.com
PC-Desktop-HP8300
Retried
N/A
Looking at the network, the results for the Odroid address go back to earlier on in the morning, while I wasn't using it.
It seems that OMV connects (for various reasons) and is logged, but the web GUI is not even there (query done at 10:46am):