Install fail on RPI 3B+ Fedora 32

Expected Behaviour:

installation script : curl -sSL https://install.pi-hole.net | bash should complete

Actual Behaviour:

[✓] Root user check

    .;;,.
    .ccccc:,.
     :cccclll:.      ..,,
      :ccccclll.   ;ooodc
       'ccll:;ll .oooodc
         .;cll.;;looo:.
             .. ','.
            .',,,,,,'.
          .',,,,,,,,,,.
        .',,,,,,,,,,,,....
      ....''',,,,,,,'.......
    .........  ....  .........
    ..........      ..........
    ..........      ..........
    .........  ....  .........
      ........,,,,,,,'......
        ....',,,,,,,,,,,,.
           .',,,,,,,,,'.
            .',,,,,,'.
              ..'''.

[✓] Disk space check
[✓] Update local cache of available packages

[✓] Checking dnf for upgraded packages... up to date!

[i] Installer Dependency checks...
[✓] Checking for git
[✓] Checking for iproute
[✓] Checking for newt
[✓] Checking for procps-ng
[✓] Checking for which
[✓] Checking for chkconfig

[✓] Default SELinux: disabled
[✓] Current SELinux: Disabled
[i] Using interface: eth0
[i] Using upstream DNS: Quad9 (filtered, DNSSEC) (9.9.9.9, 149.112.112.112)
[i] Static IP already configured
[i] Unable to find IPv6 ULA/GUA address, IPv6 adblocking will not be enabled
[i] IPv4 address: 192.168.1.201/24
[i] IPv6 address:
[i] Web Interface On
[i] Web Server On
[i] Logging On.
[✓] Check for existing repository in /etc/.pihole
[i] Update repo in /etc/.pihole...HEAD is now at 4d25f69 Merge pull request #3321 from pi-hole/release/v5.0
[✓] Update repo in /etc/.pihole

[✓] Check for existing repository in /var/www/html/admin
[i] Update repo in /var/www/html/admin...HEAD is now at b86e4a3 Merge pull request #1247 from pi-hole/release/v5.0
[✓] Update repo in /var/www/html/admin

[i] Main Dependency checks...
[✓] Checking for bind-utils
[✓] Checking for cronie
[✓] Checking for curl
[✓] Checking for findutils
[✓] Checking for nmap-ncat
[✓] Checking for sudo
[✓] Checking for unzip
[✓] Checking for wget
[✓] Checking for libidn2
[✓] Checking for psmisc
[✓] Checking for sqlite
[✓] Checking for libcap
[✓] Checking for lighttpd
[✓] Checking for lighttpd-fastcgi
[✓] Checking for php-common
[✓] Checking for php-cli
[✓] Checking for php-pdo
[✓] Checking for php-xml
[✓] Checking for php-json
[✓] Checking for php-intl

[✓] Enabling lighttpd service to start on reboot...
[i] Creating user 'pihole'...useradd: group pihole exists - if you want to add this user to that group, use -g.
[✗] Creating user 'pihole'

[i] FTL Checks...

[✓] Detected ARM-hf architecture (armv7+)
[i] Checking for existing FTL binary...
[i] Latest FTL Binary already installed (v5.0). Confirming Checksum...
[i] Checksum correct. No need to download!
usermod: user 'pihole' does not exist
grep: /etc/pihole/setupVars.conf: No such file or directory
[i] Testing if systemd-resolved is enabled
[i] Systemd-resolved is not enabled
[✓] Restarting lighttpd service...
[✓] Enabling lighttpd service to start on reboot...
[i] Restarting services...
[✓] Enabling pihole-FTL service to start on reboot...
[✓] Restarting pihole-FTL service...
main: line 1758: /opt/pihole/gravity.sh: No such file or directory

Debug Token:

pihole -d
-bash: pihole: command not found

##################################
uname -a
Linux teak 5.6.16-300.fc32.armv7hl #1 SMP Thu Jun 4 18:32:55 UTC 2020 armv7l armv7l armv7l GNU/Linux

This is one of a pair of RPI 3B+ running fedora 32. Pihole is up and running on the other one, but fails to install on this one.

Why are you running the installation scrip on a system with Pi-hole already installed?

Pihole is not installed. A previous installation attempt failed. Is there a way for me to clean it up so that a new installation can succeed?

See here:
https://github.com/pi-hole/pi-hole/issues/3217

Can you check and see if there are any files in /etc/sysconfi/network-scripts/ with a filename starting with ifcfg? Something like ifcfg-<interfacename>?

Well, sure the file ifcfg-eth0 is in that directory, but that's completely normal and required for fedora.

It's good that they are there.

What image are you using? Can we get a URL to try to duplicate?

Can you start with a fresh OS that doesn't have any local git repos cloned? (No /etc/.pihole or /var/www/html/admin).

I will not have access to the box again until Sunday or Monday. Since I had previously installed pihole and removed it, I think the earlier suggestion to delete the pihole group will probably fix the problem. I will wait to see if that works, before trying anything else.

Thanks for your suggestion.

Deleting the pihole group before reinstalling fixed the problem.

Thanks for your help.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.