Jump to content

[Short Info] Pihole on unsupported OS


guidol

Recommended Posts

It seems that the actual install routine of Pihole doenst detect buster with kernel 5.8 correctly.

At "my" normal install command "curl -sSL https://install.pi-hole.net | bash" I did get

  [✗] Unsupported OS detected: Armbian 20.08.0-trunk Buster
      https://docs.pi-hole.net/main/prerequesites/#supported-operating-systems

      e.g: If you are seeing this message on a fresh install, you can run:
             'curl -sSL https://install.pi-hole.net | PIHOLE_SKIP_OS_CHECK=true sudo -E bash'

           If you are seeing this message after having run pihole -up:
             'PIHOLE_SKIP_OS_CHECK=true sudo -E pihole -r'
           (In this case, your previous run of pihole -up will have already updated the local repository)

but after giving (as written above) the install command with the option "to not check the OS"

curl -sSL https://install.pi-hole.net | PIHOLE_SKIP_OS_CHECK=true sudo -E bash

the installation went fine :) 

Link to comment
Share on other sites

  • guidol changed the title to [Short Info] Pihole on unsupported OS

As Hirsute Hippo is at this time also a unsupported OS - there is another catch to get the lighthttpd of pihole working with the Hippo ;) 

 

While using the PIHOLE_SKIP_OS_CHECK=true the install-routine cant restart the lighthttpd correctly, because the package 
lighttpd-mod-deflate

is missing :(
 

When the install routine does try to restart the lighthttpd it fails with:
 


journalctl -u lighttpd

configfile.c.461) Warning: "mod_compress" is DEPRECATED and has been replaced with "mod_deflate".
A future release of lighttpd 1.4.x will not contain mod_compresss and lighttpd may fail to start up

plugin.c.195) dlopen() failed for: /usr/lib/lighttpd/mod_deflate.so /usr/lib/lighttpd/mod_deflate.so: 
cannot open shared object file: No such file or directory

server.c.1238) loading plugins finally failed

 

The Hippo has no mod_compress in the lighthttpd :( but its searching for the replacement mod_deflate

 

mod_deflate can be installed via 

apt install lighttpd-mod-deflate

 

While there were also other requirements missing on new installs of pihole I did use the following install-command:
 

apt install php-cgi php-common php php-sqlite3 dhcpcd5 lighttpd-mod-deflate -y && curl -sSL https://install.pi-hole.net | PIHOLE_SKIP_OS_CHECK=true sudo -E bash

 

As a "goodie" you can edit after the installation od pihole the /etc/lighttpd/lighttpd.conf and do the follwoing replacement:

change line

 "mod_compress",

against

 "mod_deflate",
 

then save/exit and restart lighthttpd with 

/etc/init.d/lighttpd restart

 

This way I got pihole running under Hirsute Hippo :) 

 

Link to comment
Share on other sites

I installed Pihole on Buster with kernel 5.10 (on Odroid N2) a while ago. I don't think I encountered issues with the installation command.

 

It is also an option to use Pihole with an installed apache web server. This has been working fine for me.

 

Link to comment
Share on other sites

21 minutes ago, Helmut said:

I installed Pihole on Buster with kernel 5.10 (on Odroid N2) a while ago. I don't think I encountered issues with the installation command.

 

I had also some installations in the past with buster and no install problems...but with every new OS version there could be a problem.
We also woud see how it would work with bullseye (after buster) ;)

Link to comment
Share on other sites

23 hours ago, guidol said:

We also woud see how it would work with bullseye (after buster) ;)

bullseye with kernel 5.13.10 also did need the packet lighttpd-mod-deflate for installing/running lighthttpd like the Hirsute Hippo ;)

Got it running here on my BPI-M1 with bullseye and kernel 5.13.10:

Linux bpi-m1-120 5.13.10-sunxi #trunk.118 SMP Thu Aug 12 18:20:37 UTC 2021 armv7l GNU/Linux

root@bpi-m1-120(192.168.6.120):~# dpkg -l|grep deflate
ii  lighttpd-mod-deflate  1.4.59-1  armhf  HTTP response compression module for lighttpd


 

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines