Upgrading from 3.2.1 to 4.2 problem

Greetings,

I have pihole installed on my orange pi zero and it has been working great for a long time. The pihole version is 3.2.1 and I just realized that the uptime of my orange pi zero is >180 days. The blacklist is updated on a weekly basis but I thought I tried to upgrade the entire pihole installation at once.

Unfortunately, like several others, I ran into problem. when I ran

pihole -up

I got an error message of:

@orangepizero:~$ pihole -v

  Pi-hole version is v3.2.1 (Latest: v4.2.1)
  AdminLTE version is v3.2.1 (Latest: v4.2)
  FTL version is v2.13.2 (Latest: v4.2)
@orangepizero:~$ pihole -up
  [i] Checking for updates...
fatal: HEAD does not point to a branch

  Error: Remote revision could not be obtained, please contact Pi-hole Support
  Additional debugging output:
HEAD detached at v3.2.1

following on other leads, I did the following:

@orangepizero:/etc/.pihole$ ls
adlists.default  automated install  block hulu ads   gravity.sh  pihole     requirements.txt
advanced         autotest           CONTRIBUTING.md  LICENSE     README.md  test

@orangepizero:/etc/.pihole$ sudo git fetch --tags

followed by:

@orangepizero:/etc/.pihole$ sudo pihole -up
  [i] Checking for updates...
fatal: HEAD does not point to a branch

  Error: Remote revision could not be obtained, please contact Pi-hole Support
  Additional debugging output:
HEAD detached at v3.2.1
nothing to commit, working directory clean

can anyone shed some light into it?

regards,

Did you do the commands listed here to revert to version 3.2.1 when there were issues before?

no, I am trying to move everything to version 4.2.

regards,

try running pihole checkout master

1 Like

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