Install fails

Please follow the below template, it will help us to help you!

Expected Behaviour:

pi-hole installed

Actual Behaviour:

Returns to prompt
:::
::: You are root.
::: Verifying free disk space...
:::
::: Updating local cache of available packages... done!
:::
::: Checking apt-get for upgraded packages.... done!
:::
::: There are 156 updates available for your system!
::: We recommend you update your OS after installing Pi-hole!
:::
::: Checking for apt-utils... installed!
::: Checking for dialog... added to install list!
::: Checking for debconf... installed!
::: Checking for dhcpcd5... added to install list!
::: Checking for git... installed!
::: Checking for iproute2... installed!
::: Checking for whiptail... installed!

Debug Token:

root@raspberrypi:/# pihole -d
bash: pihole: command not found

I installed the packages manually and the install completed but I can't get it started

root@raspberrypi:/# pihole status
::: DNS service is NOT running
root@raspberrypi:/# pihole restartdns
Job for dnsmasq.service failed. See 'systemctl status dnsmasq.service' and 'journalctl -xn' for details.
root@raspberrypi:/# systemctl status dnsmasq.service

  • dnsmasq.service - dnsmasq - A lightweight DHCP and caching DNS server
    Loaded: loaded (/lib/systemd/system/dnsmasq.service; enabled)
    Drop-In: /run/systemd/generator/dnsmasq.service.d
    `-50-dnsmasq-$named.conf, 50-insserv.conf-$named.conf
    Active: failed (Result: exit-code) since Wed 2017-11-22 08:21:47 EST; 9s ago
    Process: 20250 ExecStart=/etc/init.d/dnsmasq systemd-exec (code=exited, status=203/EXEC)
    Process: 20247 ExecStartPre=/usr/sbin/dnsmasq --test (code=exited, status=0/SUCCESS)

Nov 22 08:21:47 raspberrypi dnsmasq[20247]: dnsmasq: syntax check OK.
Nov 22 08:21:47 raspberrypi systemd[20250]: Failed at step EXEC spawning /etc/init.d/dnsmasq: Permission denied
Nov 22 08:21:47 raspberrypi systemd[1]: dnsmasq.service: control process exited, code=exited status=203
Nov 22 08:21:47 raspberrypi systemd[1]: Failed to start dnsmasq - A lightweight DHCP and caching DNS server.
Nov 22 08:21:47 raspberrypi systemd[1]: Unit dnsmasq.service entered failed state.

What's the install log look like? Run pihole -d

2 posts were split to a new topic: Install Fails on Ubuntu 17.04

debug token pcaq7ze7t7

rpi= v3
os: fedora27/fedberry27

install fails for me too. downloaded the manual install after installing requirement packages listed in requirements.txt.

install script run, checks some things, returns ok on those checks, then just exits. there is no /etc/pihole.*.log. actually there is no /etc/pihole dir or an app/script named "pihole".

ideas on how to correct this?

Have you seen this thread? Issues installing pi-hole fedora27/spin fedberry

yes, and that corrected the issues i was having. thanks for your reply.

I finally found some time to investigate what was going on with my install.

I realized dnsmasq was failing to start when I tried to use pihole. I was running udhcpd on the device already and that was conflicting. Since it didn't really matter to me which I used, so I disabled udhcpd.

After that, it would start successfully, but the admin site graphs were not loading (was getting a lost connection to api). It was blocking site when I did a test. I did a pihole -r and that fixed the graphs issue (and whatever other issue was lurking).

Fully functioning now.