The issue I am facing: I have managed to run Pihole on lighttpd and OMV5 on NGINX, but when I try to get pihole to run on NGINX so I only have one web server running, I run into a plethora of issues.
At first, I had OMV5 running and configured, then I downloaded pihole and was apparently able to install the packages and dependencies I needed, but when I went to run the pihole web admin page, nothing came up.
I then decided to just do everything from a fresh install. That means formatting the SSD and installing a fresh Raspberry Pi OS Lite, then setting up the pi and installing OMV5 making sure to configure nothing but the static IP since pihole needs a static IP address to work properly. Then installing pihole, once again completely configured. My logic is, just get the services on the device and I can configure after to make sure they work together. However running this NGINX install/config guide, after running:
apt-get -y install nginx php7.3-fpm php7.3-cgi php7.3-xml php7.3-sqlite3 php7.3-intl apache2-utils
I get this:
pi@raspberrypi:~ $ sudo apt-get -y install nginx php7.3-fpm php7.3-cgi php7.3-xml php7.3-sqlite3 php7.3-intl apache2-utils
Reading package lists... Done
Building dependency tree
Reading state information... Done
nginx is already the newest version (1.14.2-2+deb10u3).
nginx set to manually installed.
php7.3-cgi is already the newest version (7.3.27-1~deb10u1).
php7.3-cgi set to manually installed.
php7.3-fpm is already the newest version (7.3.27-1~deb10u1).
php7.3-fpm set to manually installed.
php7.3-xml is already the newest version (7.3.27-1~deb10u1).
php7.3-xml set to manually installed.
The following additional packages will be installed:
libapr1 libaprutil1
The following NEW packages will be installed:
apache2-utils libapr1 libaprutil1 php7.3-intl php7.3-sqlite3
0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
Need to get 525 kB of archives.
After this operation, 1368 kB of additional disk space will be used.
Err:1 http://raspbian.raspberrypi.org/raspbian buster/main armhf libapr1 armhf 1.6.5-1
Could not resolve 'raspbian.raspberrypi.org'
Err:2 http://raspbian.raspberrypi.org/raspbian buster/main armhf libaprutil1 armhf 1.6.1-4
Could not resolve 'raspbian.raspberrypi.org'
Err:3 http://raspbian.raspberrypi.org/raspbian buster/main armhf apache2-utils armhf 2.4.38-3+deb10u4
Could not resolve 'raspbian.raspberrypi.org'
Err:4 http://raspbian.raspberrypi.org/raspbian buster/main armhf php7.3-intl armhf 7.3.27-1~deb10u1
Could not resolve 'raspbian.raspberrypi.org'
Err:5 http://raspbian.raspberrypi.org/raspbian buster/main armhf php7.3-sqlite3 armhf 7.3.27-1~deb10u1
Could not resolve 'raspbian.raspberrypi.org'
E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/a/apr/libapr1_1.6.5-1_armhf.deb Could not resolve 'raspbian.raspberrypi.org'
E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/a/apr-util/libaprutil1_1.6.1-4_armhf.deb Could not resolve 'raspbian.raspberrypi.org'
E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/a/apache2/apache2-utils_2.4.38-3+deb10u4_armhf.deb Could not resolve 'raspbian.raspberrypi.org'
E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/p/php7.3/php7.3-intl_7.3.27-1~deb10u1_armhf.deb Could not resolve 'raspbian.raspberrypi.org'
E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/p/php7.3/php7.3-sqlite3_7.3.27-1~deb10u1_armhf.deb Could not resolve 'raspbian.raspberrypi.org'
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
my first thought is why isn't raspbian.raspberrypi.org resolving?
Details about my system: Running another raspberry pi4 with pihole on my network. It's also doing DNS and DHCP and running unbound. on this pi I have a fresh unconfigured install of OMV5 except for static IP and unconfigured install of pihole. Didn't install lighttpd on it at all
**What I have changed since installing Pi-hole:**Haven't really changed anything. Can't get past the second command line input in the guide I mentioned above.
Any help would be appreciated and feel free to ask if I haven't provided enough context. Thank you