Issues installing pi-hole fedora27/spin fedberry

rpi= v3
os= fedora27/spin fedberry27

screen text after install script runs:

[✓] Root user check
[✓] Disk space check
[✓] Update local cache of available packages
[✓] Checking dnf for upgraded packages... up to date!
(i) Installer Dependency checks...
[✓] Checking for dialog
[✓] Checking for git
[✓] Checking for iproute
[✓] Checking for net-tools
[✓] Checking for newt
[✓] Checking for procps-ng
(i) Checking for epel-release (will be installed)

after install script gets to "checking epel-release", it returns back to user prompt. no messages, errors or install. i have epel-release-7-11 installed. so why wouldn't pihole install script detect that? i don't see much in /var/log/messages that would help me out either with this. though there may be other logs to check?

pihole works on CentOS, yes?, i figured it would work on Fedora too

haven't tried the "curl" install, but before i do, any pi-hole guru's about that can suggest some steps to fix this?

tia!

Please provide the output of the following command:

cat /etc/redhat-release

cat /etc/redhat-release

FedBerry release 27 (Twenty Seven)

Thanks! I will have this fixed in the next release.

Here is a workaround for now:

curl -sSL https://install.pi-hole.net | sed s/fedora/fedberry/g | bash

If you would prefer to read the code prior to installation:

curl -sSL https://install.pi-hole.net | sed s/fedora/fedberry/g > fedberry_install.sh

read... then run the installer:

bash fedberry_install.sh

Cheers!

EDIT: update workaround (2018-08-25)

1 Like

ok, that's fast reply!! cool. i'll try the workaround tonite and get back to this thread and let your know.

i installed via your curl workaround. install went well for the most part.

i did get a bit confused with selecting/unselecting IPvX due to they already had an "" inserted, which to me, meant they were already chosen. i unchecked ipv6 as its disabled on this rpi and my home net. still not sure if i did that correct? yet, whether a "" in place or blank in IPv4, an ip still wasn't found.

Select Protocols (press space to select)
[] IPv4 Block ads over IPv4
[
] IPv6 Block ads over IPv6

i mention the above because it doesn't seem to grab the ip address. see below...

[i] Using [i] Unable to find IPv6 ULA/GUA address, IPv6 adblocking will not be enabled
[i] IPv4 address:
[i] IPv6 address:
[i] Web Interface On
[i] Logging On.
[✓] Check for existing repository in /etc/.pihole
[✓] Update repo in /etc/.pihole

[...]

[i] Preparing to run gravity.sh to refresh hosts...
[i] Running gravity.sh
No IP addresses found! Please run 'pihole -r' to reconfigure

running 'pihole -r' ran, but exited at same place before:

[i] Checking for epel-release (will be installed)
[~]#

i do have a static ip/24 addr assigned to the eth0. is there a pihole conf file i can add the ip addr to and then run gravity.sh and see if that works? or do you have a more correct step i can take. we're doing good, we got this far, so when ever you have time, let me know. tia

Edit the following file:
/etc/pihole/setupVars.conf

The file should look something like this (except with your interface & IP info):

PIHOLE_INTERFACE=eth0
IPV4_ADDRESS=192.168.121.67/24
IPV6_ADDRESS=

Once you have corrected this configuration file, please re-try the curl workaround above.

that worked!, many thanks. onward to donate and then see how pihole helps my household.

2 Likes