PiHole misconfigured on new ISP

Expected Behaviour:

Expecting that after a pihole -r, pihole would function with new router & ISP.
Using Ubuntu 18.04 on a custom board, was given as a gift so I'm not entirely sure on the hardware specs & preinstalled software but I don't think that should matter.

Actual Behaviour:

DNS server is not running notification; I changed the router address to my new one on the web interface, but now I cannot access that anymore

Debug Token:

https://tricorder.pi-hole.net/JucaV0LE/

There are two variations that follow the pihole -r command, reconfigure or repair. Which one did you choose?

Also, please note that your OS is not supported by Pi-hole. I don't recall if Ubuntu 18.04 causes a hard fail, but in any event it is not a supported OS.

*** [ DIAGNOSING ]: Operating system
[โœ“] Distro:  Ubuntu
[โœ—] Version: 18.04
[โœ“] dig return code: 0
[i] dig response: "Raspbian=10,11 Ubuntu=20,22 Debian=10,11 Fedora=36,37 CentOS=8,9"
[โœ—] Error: Ubuntu is supported but version 18.04 is currently unsupported (https://docs.pi-hole.net/main/prerequisites/)

https://pi-hole.net/blog/2022/09/03/psa-dropping-support-for-ubuntu-18-04/#page-content

Reconfigure
And pihole was functioning previously with original router so shouldn't be a huge issue

I'm in GMT & it's 2 AM here, I probably won't be able to reply for around 8-12 hours if anyone gets back to me on this, apologies

I don't mean to sound rude but is this post abandoned due to unsupported OS?

If you figure out where libc.so.6 is located with below:

pi@ph5b:~ $ dpkg -S libc.so.6
libc6:armhf: /lib/arm-linux-gnueabihf/libc.so.6

And run below on the file found:

pi@ph5b:~ $ strings /lib/arm-linux-gnueabihf/libc.so.6 | grep GLIBC
[..]
GLIBC_2.26
GLIBC_2.27
GLIBC_2.28
GLIBC_2.29
GLIBC_2.30

Does it list GLIBC_2.28 ?
If not, I believe there is not allot you can do with this outdated OS release.
Yeah you could go Frankenstein libc.so.6 with packages that dont belong to your distro which is not recommended and will only cause troubles.

EDIT: Ow and if its x86 architecture (the arch command), there is a musl version that runs its own GLIBC ... I believe:

But I wouldnt know how to deploy this one properly.

I'll give it a look tomorrow but pihole was functioning when last used a few months ago, granted I have updated to a new version
I'll try the recommendation tomorrow and update you

Alright so first of all, apologies, I wasn't able to find deHakkelaar's libc.so.6 - I am not sure where it would be located, so I haven't been able to verify it.

However, I did run the installer again and noticed it never showed me a window stating my web address interface URL, so I decided to follow some steps regarding issues I had for my first install

sudo /usr/sbin/lighttpd -tt -f /etc/lighttpd/lighttpd.conf

returned

sudo /usr/sbin/lighttpd -tt -f /etc/lighttpd/lighttpd.conf2023-03-04 12:25:27: (configfile.c.1094) source: /etc/lighttpd/conf-enabled/15-pihole-admin.conf line: 15 pos: 17 invalid character in variable name 
2023-03-04 12:25:27: (configfile.c.1151) configfile parser failed at: server.errorlog 
2023-03-04 12:25:27: (configfile.c.1154) source: /etc/lighttpd/lighttpd.conf line: 74 pos: 1 parser failed somehow near here: (EOL) 

So I opened /etc/lighttpd/conf-enabled/15-pihole-admin.conf and copied the first 15 lines

# Pi-hole: A black hole for Internet advertisements
# (c) 2017 Pi-hole, LLC (https://pi-hole.net)
# Network-wide ad blocking via your own hardware.
#
# Lighttpd config for Pi-hole
#
# This file is copyright under the latest version of the EUPL.
# Please see LICENSE file for your rights under this license.

###############################################################################
#     FILE AUTOMATICALLY OVERWRITTEN BY PI-HOLE INSTALL/UPDATE PROCEDURE.     #
# ANY CHANGES MADE TO THIS FILE AFTER INSTALL WILL BE LOST ON THE NEXT UPDATE #
###############################################################################

server.errorlog := "/var/log/lighttpd/error-pihole.log"

Could it be simply changing this string would resolve my issue somehow? Seeing as I am getting my error was "line: 15 pos: 17 invalid character in variable name" & sudo systemctl status --full --no-pager lighttpd is giving me Failed to start Lighttpd Daemon.

I think there may be some issue in the installer, as sudo nano /etc/pihole/setupVars.conf has no reference at all to an ipv4 or ipv6 address

Could you post output for below two?

pihole-FTL --version

And:

pihole-FTL --test

If above ones cant run bc GLIBC_2.28 and up isnt supported, its of no use to fix the web part.

Even if you may be able to get it to work by manually installing some libraries and software packages, there's no guarantee that Pi-hole would work as expected. And if you would indeed encounter some unexpected or divergent behaviour, you'd be likely on your own in hunting down whether that would be related to Pi-hole or your OS.

You really should consider to install Pi-hole on a supported OS release.

1 Like

pihole-FTL: /lib/aarch64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by pihole-FTL)
Maybe out of luck then :confused:
I last used PiHole earlier last year without issue, would it be possible to roll to the last supported version?

The reason I bring this up is because I had the web interface, but my DNS wasn't working because misconfigured IP (since it was set for previous router)
I ran the reinstaller to get back to that configuration screen but yeah now I think maybe unsupported version

1 Like

Eh I can't really change the OS on this device sadly, sorry

Your version of lighttp is too old and doesn't understand lighttpds configuration updates. Maybe you can compile your own lighttpd package entirely but you are just going to end up with multiple incompatible parts.

The version of the OS that you are using will be dropped from support by Ubuntu next month, even the LTS version.

We say that Pi-hole can run on a potato but that's with the expectation that the potato hasn't sprouted eyes yet.

2 Likes

I like this potato analogy haha, alright fair enough - I should probably invest in a new device, appreciated

I don't know which device you are using, but maybe you are able to run Pi-hole in a docker container.

It's a custom board and afaik some ports will brick if I overwrite the existing OS, but a docker could be something to look at, I'll think about it - cheers for the advice, but it'd be a lot of research as I haven't done that yet

NOTE:

If you decide to use the docker container, you will need to check the libseccomp2 version installed on your system (apt list libseccomp2). If the installed version is less than 2.5 you will need to install the backport version.

1 Like

Will check that out, thanks a lot for all the advice!

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