Problem: Upgrading PiHole v4.3.2 to v5.11.4

The issue I am facing:
While running the command "pihole -up" I was hoping this would upgrade me to the current version. The update failed, a few obviously notable items include:
-[i] SELinux not detected
-[✗] Unsupported OS detected: Raspbian 9
-Unable to complete update, please contact Pi-hole Support
-Update attempt did something, I now see the "Local DNS" tab which was not present before. But not all tabs are without error...

Details about my system:
Raspberry Pi Zero.
FTL v 4.3.1

What I have changed since installing Pi-hole:
Updated Gravity a few times
And, after years of not updating, I just ran the update mentioned above via SSH.

Please advise.

Thanks!

Rob

I now after restarting, I see that I have:
pihole v 5.11.4
FTL 4.3.1 (needs to be updated)
Web Interface 5.1.3

I ran pihole -p again via the CLI

From the log:

] SELinux not detected
[✓] Update local cache of available packages
[i] Existing PHP installation detected : PHP version 7.0.33-0+deb9u1

[✓] Checking apt-get for upgraded packages... 177 updates available
[i] It is recommended to update your OS after installing the Pi-hole!

[i] Checking for / installing Required dependencies for OS Check...
[✓] Checking for grep
[✓] Checking for dnsutils

[✗] Unsupported OS detected: Raspbian 9

Looks like unsupported OS is the main culprit

R

Teleporter backup not working, any chance that my setting were being backed up somewhere automatically. I'm concerned that pihole -up failure is related to this inability to backup. Clicking the button does not seem to do anything.

Thanks,

R

I just ran:
sudo PIHOLE_SKIP_OS_CHECK=true pihole -r

Now FTL was updated!
Pi-hole v5.11.4 FTL v5.16.1 Web Interface v5.13

Also, I was able to save a backup file.

I suppose now I need to update Debian 9 to something newer, moving one OS at a time. If that fails start from scratch and import the settings via Teleporter. Yes?

R

I would advise not doing this. Your probability of success is low.

Skip the in-place upgrade and just flash a fresh Debian 11 image. Then restore your Pi-hole settings from the teleporter export. Note - don't save the teleporter file on your Pi SD card - put it somewhere else.

2 Likes

Hi jfb, I will take your advice.

Would you refresh the existing card or prep a new sd card?

Thanks,

Rob

I would put in a new 32 GB card. Plenty of room for wear leveling, and they aren't expensive.

I have have had good success with SanDisk Ultra. A pack of 2 at Amazon (US) is $13.75 today. One for the device, one for backup.

1 Like

Hi JFB, I have various 32GB cards that were probably used in an audio recorder or a GOPro.... I suppose you are going to suggest bran spanking new media? :slight_smile:

Also, my current pi model hardware is a model w. I see there is a new version W (v2) that is 5X faster, do I want the new pi for this application? Will I see a difference?

Do you power any of your Pi models via POE?

Many Thanks!

Rob

The used 32 GB cards should be fine.

A Zero W is also more than powerful enough to run Pi-hole. I have three of them, and a Zero 2 W. There is no difference in Pi-hole performance between any of them.

I don't use POE.

1 Like

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