Looks to Update no errors but it does not update

I am trying update my Pi_holes running in a HA setup using

sudo apt-get update && sudo apt-get -y upgrade
Everything runs fine i cannot see any error messages but after reboot still says update needed??
Terminal details here https://pastebin.com/fW9yz4e6
Semi newbie but have tried to work out why it is not installing it without any luck please help


pihole -up

I have run this on my HA PiHole backup it has updated it but i am getting looped refresh screens on dashboard? See here

Also doing this will it keep the integrity of the HA setup?

That would be a question for the author of your HA modification.

As for your screen problems:
Did you try to clear your browser's cache, as mentioned in the release notes?

I think i have screwed up i wanted to update to Pi-hole Version v4.4 [(Update available!)] didn’t know that command would put me on 5.1 :slightly_frowning_face:
I have cleared the cache is it possible to rollback?

The version shown here is your currently installed version, not what you would update to. v4.4 was already the most recent v4.x version.

Yes, but this is a very manual task. v5.x reorganized your lists into a new and much more performant database. The old files are, however. kept in a backup in /etc/pihole/migration_backup. You could try to copy the files back to the /etc/pihole folder, and try to find instructions to downgrade. This typically isn't possible after a major version jump (which is why they did a major version jump!). You should have checked this before updating.

The best strategy is to get v5.1 working as you want it to.

Pi-hole is software that runs on top of an existing OS on the host device. The apt commands you are running are updating the OS only, and do not update the Pi-hole software. As noted, you update the Pi-hole software with the pihole -up command.

Edit - also note that in this forum you can directly paste images, and you don't need to use a third party site to show your images. You can also paste text output (i.e. your apt-get output) as text and format it for display using the </> icon at the top of the reply window to format the text as "pre-formatted text". Your apt-get output would then look like this:

pi@pihole-dns-02:~ $ sudo apt-get update && sudo apt-get -y upgrade
Get:1 http://archive.raspberrypi.org/debian buster InRelease [32.6 kB]
Get:2 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB]
Get:3 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages [13.0                                                                                                              MB]
Get:4 http://archive.raspberrypi.org/debian buster/main armhf Packages [330 kB]
Get:5 http://raspbian.raspberrypi.org/raspbian buster/contrib armhf Packages [58.7 kB]
Get:6 http://raspbian.raspberrypi.org/raspbian buster/non-free armhf Packages [104 kB]
Fetched 13.5 MB in 38s (360 kB/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following package was automatically installed and is no longer required:

We prefer command output posted as text, because this provides more options to search for text and to duplicate commands you have run.