Issue installing pihole

So had some issue with records not showing either, after reading a lot I kinda broke the debain chroot, so removed it from my synology, reinstalled the debian from the community, followed every step in the guide but when I try to install pi-hole this happens:

root@DiskStation:/# curl -L https://install.pi-hole.net | bash
Error in GnuTLS initialization: Failed to acquire random data.
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   185  100   185    0     0    369      0 --:--:-- --:--:-- --:--:--   369
100 81119  100 81119    0     0   114k      0 --:--:-- --:--:-- --:--:--  114k

  [βœ“] Root user check

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

  [βœ“] Disk space check

  [βœ“] Update local cache of available packages

  [βœ—] Checking apt-get for upgraded packages
      Kernel update detected. If the install fails, please reboot and try again

  [i] Installer Dependency checks...
  [βœ“] Checking for apt-utils
  [i] Checking for dialog (will be installed)
  [βœ“] Checking for debconf
  [i] Checking for dhcpcd5 (will be installed)
  [i] Checking for git (will be installed)
  [βœ“] Checking for iproute2
  [βœ“] Checking for whiptail
open /dev/tty: No such file or directory
debconf: whiptail output the above errors, giving up!
Use of uninitialized value $ret in scalar chomp at /usr/share/perl5/Debconf/Client/ConfModule.pm line 132, <STDIN> line 329.
Use of uninitialized value $ret in split at /usr/share/perl5/Debconf/Client/ConfModule.pm line 133, <STDIN> line 329.
Use of uninitialized value $ret[0] in string eq at /usr/share/perl5/Debconf/Client/ConfModule.pm line 134, <STDIN> line 329.

After trying a second time:

root@DiskStation:/# curl -L https://install.pi-hole.net | bash
Error in GnuTLS initialization: Failed to acquire random data.
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   185  100   185    0     0    372      0 --:--:-- --:--:-- --:--:--   371
100 81119  100 81119    0     0   133k      0 --:--:-- --:--:-- --:--:--  133k

  [βœ“] Root user check

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

  [βœ“] Disk space check

  [βœ“] Update local cache of available packages

  [βœ—] Checking apt-get for upgraded packages
      Kernel update detected. If the install fails, please reboot and try again

  [i] Installer Dependency checks...
  [βœ“] Checking for apt-utils
  [βœ“] Checking for dialog
  [βœ“] Checking for debconf
  [βœ“] Checking for dhcpcd5
  [βœ“] Checking for git
  [βœ“] Checking for iproute2
  [βœ“] Checking for whiptail

root@DiskStation:/#

Try rebooting to apply the kernel patch and try again.

I did a reboot and still:

root@DiskStation:/# curl -L https://install.pi-hole.net | bash
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   185  100   185    0     0    426      0 --:--:-- --:--:-- --:--:--   426
100 81119  100 81119    0     0  63095      0  0:00:01  0:00:01 --:--:-- 39000

  [βœ“] Root user check

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

  [βœ“] Disk space check

  [βœ“] Update local cache of available packages

  [βœ—] Checking apt-get for upgraded packages
      Kernel update detected. If the install fails, please reboot and try again

  [i] Installer Dependency checks...
  [βœ“] Checking for apt-utils
  [βœ“] Checking for dialog
  [βœ“] Checking for debconf
  [βœ“] Checking for dhcpcd5
  [βœ“] Checking for git
  [βœ“] Checking for iproute2
  [βœ“] Checking for whiptail


  [βœ“] Stopping dnsmasq service...

However it did install and now I'm back in the situation where no entries are being shown due to the dnsmasq: extraneous parameter at line 37 of /etc/dnsmasq.d/01-pihole.conf log-queries=extra

I've read a post about fixing that for raspberry but that doesn't work for a synology any suggestions on that Jacob?

OK, you're version of dnsmasq is probably too low. You can

  • checkout FTLDNS
  • revert Pi-hole to a lower version
  • find and install and upgraded version of dnsmasq

Here are some relevant links

Yeah I've downgraded for now, cheers.

1 Like