Update old version

Ich habe auch ein Problem, laut Webinterface und google soll es eine neue version geben, 4.3.2 … meine Core version bleibt aber “up to date” auf 4.3.1 stehen bei einem pihole -up

bitte um hilfe

1 Like

Please send us the token generated by

pihole -d

or do it through the Web interface:

https://tricorder.pi-hole.net/8xeptqf5is

any help?

First, the IPv6 address set on /etc/pihole/setupVars.conf does not exist on the Pi-hole device. You have a 2001 first octet assigned to the eth0 interface and setupVars.conf has a 2003 address.

Try pihole -r and reconfigure, that will also attempt a repair/update. Let us know if that still is not working and we can run the update manually to see where it is failing.

i run the -r and it still at the 4.3.1 … and it show me the “New Version” info … but pihole -up tells me “all up to date”!

https://tricorder.pi-hole.net/3vy0b5um3v

Try

cd /etc/.pihole
sudo git status
sudo git log -n 1

tryed :wink: … but …

git status says: same branch as origin/master

and git log -n 1:

commit e41c4b5bb691cea1f5b950d39518d8c404b5846e
Merge: 1a741f6 b209629
Author: Dan Schaper dan.schaper@pi-hole.net
Date: Sun Sep 15 08:52:21 2019 -0700

Merge pull request #2881 from pi-hole/release/v4.3.2

Pi-hole Core v4.3.2

root@raspberrypi:/etc/.pihole# pihole -v
Pi-hole version is v4.3.1-40-ge41c4b5 (Latest: v4.3.2)
AdminLTE version is v4.3.2 (Latest: v4.3.2)
FTL version is v4.3.1 (Latest: v4.3.1)
root@raspberrypi:/etc/.pihole# pihole -up
[i] Checking for updates…
[i] Pi-hole Core: up to date
[i] Web Interface: up to date
[i] FTL: up to date

[✓] Everything is up to date!
root@raspberrypi:/etc/.pihole# pihole -v
Pi-hole version is v4.3.1-40-ge41c4b5 (Latest: v4.3.2)
AdminLTE version is v4.3.2 (Latest: v4.3.2)
FTL version is v4.3.1 (Latest: v4.3.1)

You have the latest version in the local /etc/.pihole directory, not sure why it’s not showing in version.

Try sudo bash -x /opt/pihole/version.sh and paste the output here please.

root@raspberrypi:/etc/.pihole# bash -x /opt/pihole/version.sh

+ DEFAULT=-1
+ COREGITDIR=/etc/.pihole/
+ WEBGITDIR=/var/www/html/admin/
+ case "${1}" in
+ defaultOutput
+ source /etc/pihole/setupVars.conf
++ WEBPASSWORD=XXX ' Removed
++ ADMIN_EMAIL=XXX ' Removed
++ BLOCKING_ENABLED=true
++ PIHOLE_INTERFACE=eth0
++ IPV4_ADDRESS=192.168.178.52/24
++ IPV6_ADDRESS=2001:16b8:6403:b900:33fc:f4d7:e415:9cc8
++ QUERY_LOGGING=true
++ INSTALL_WEB_SERVER=true
++ INSTALL_WEB_INTERFACE=true
++ LIGHTTPD_ENABLED=true
++ DNSMASQ_LISTENING=single
++ PIHOLE_DNS_1=208.67.222.222
++ PIHOLE_DNS_2=208.67.220.220
++ PIHOLE_DNS_3=4.2.2.1
++ PIHOLE_DNS_4=4.2.2.2
++ PIHOLE_DNS_5=9.9.9.11
++ PIHOLE_DNS_6=149.112.112.11
++ PIHOLE_DNS_7=1.1.1.1
++ PIHOLE_DNS_8=1.0.0.1
++ PIHOLE_DNS_9=XXX ' Removed
++ DNS_FQDN_REQUIRED=true
++ DNS_BOGUS_PRIV=true
++ DNSSEC=false
++ CONDITIONAL_FORWARDING=false
+ versionOutput pi-hole
+ [[ pi-hole == \p\i\-\h\o\l\e ]]
+ GITDIR=/etc/.pihole/
+ [[ pi-hole == \A\d\m\i\n\L\T\E ]]
+ [[ pi-hole == \F\T\L ]]
+ [[ '' == \-\c ]]
+ [[ '' == \-\-\c\u\r\r\e\n\t ]]
+ [[ -z '' ]]
++ getLocalVersion /etc/.pihole/
++ [[ /etc/.pihole/ == \F\T\L ]]
++ local directory=/etc/.pihole/
++ local version
++ cd /etc/.pihole/
+++ git describe --tags --always
++ version=v4.3.1-40-ge41c4b5
++ [[ v4.3.1-40-ge41c4b5 =~ ^v ]]
++ echo v4.3.1-40-ge41c4b5
++ return 0
+ current=v4.3.1-40-ge41c4b5
+ [[ '' == \-\l ]]
+ [[ '' == \-\-\l\a\t\e\s\t ]]
+ [[ -z '' ]]
++ getRemoteVersion pi-hole
++ local daemon=pi-hole
++ local version
+++ curl --silent --fail https://api.github.com/repos/pi-hole/pi-hole/releases/latest
+++ awk -F: '$1 ~/tag_name/ { print $2 }'
+++ tr -cd '[[:alnum:]]._-'
++ version=v4.3.2
++ [[ v4.3.2 =~ ^v ]]
++ echo v4.3.2
++ return 0
+ latest=v4.3.2
+ [[ '' == \-\h ]]
+ [[ '' == \-\-\h\a\s\h ]]
+ [[ -n v4.3.1-40-ge41c4b5 ]]
+ [[ -n v4.3.2 ]]
+ output='Pi-hole version is v4.3.1-40-ge41c4b5 (Latest: v4.3.2)'
+ [[ -n Pi-hole version is v4.3.1-40-ge41c4b5 (Latest: v4.3.2) ]]
+ echo '  Pi-hole version is v4.3.1-40-ge41c4b5 (Latest: v4.3.2)'
  Pi-hole version is v4.3.1-40-ge41c4b5 (Latest: v4.3.2)
+ [[ true == true ]]
+ versionOutput AdminLTE
+ [[ AdminLTE == \p\i\-\h\o\l\e ]]
+ [[ AdminLTE == \A\d\m\i\n\L\T\E ]]
+ GITDIR=/var/www/html/admin/
+ [[ AdminLTE == \F\T\L ]]
+ [[ '' == \-\c ]]
+ [[ '' == \-\-\c\u\r\r\e\n\t ]]
+ [[ -z '' ]]
++ getLocalVersion /var/www/html/admin/
++ [[ /var/www/html/admin/ == \F\T\L ]]
++ local directory=/var/www/html/admin/
++ local version
++ cd /var/www/html/admin/
+++ git describe --tags --always
++ version=v4.3.2
++ [[ v4.3.2 =~ ^v ]]
++ echo v4.3.2
++ return 0
+ current=v4.3.2
+ [[ '' == \-\l ]]
+ [[ '' == \-\-\l\a\t\e\s\t ]]
+ [[ -z '' ]]
++ getRemoteVersion AdminLTE
++ local daemon=AdminLTE
++ local version
+++ curl --silent --fail https://api.github.com/repos/pi-hole/AdminLTE/releases/latest
+++ awk -F: '$1 ~/tag_name/ { print $2 }'
+++ tr -cd '[[:alnum:]]._-'
++ version=v4.3.2
++ [[ v4.3.2 =~ ^v ]]
++ echo v4.3.2
++ return 0
+ latest=v4.3.2
+ [[ '' == \-\h ]]
+ [[ '' == \-\-\h\a\s\h ]]
+ [[ -n v4.3.2 ]]
+ [[ -n v4.3.2 ]]
+ output='AdminLTE version is v4.3.2 (Latest: v4.3.2)'
+ [[ -n AdminLTE version is v4.3.2 (Latest: v4.3.2) ]]
+ echo '  AdminLTE version is v4.3.2 (Latest: v4.3.2)'
  AdminLTE version is v4.3.2 (Latest: v4.3.2)
+ versionOutput FTL
+ [[ FTL == \p\i\-\h\o\l\e ]]
+ [[ FTL == \A\d\m\i\n\L\T\E ]]
+ [[ FTL == \F\T\L ]]
+ GITDIR=FTL
+ [[ '' == \-\c ]]
+ [[ '' == \-\-\c\u\r\r\e\n\t ]]
+ [[ -z '' ]]
++ getLocalVersion FTL
++ [[ FTL == \F\T\L ]]
++ pihole-FTL version
++ return 0
+ current=v4.3.1
+ [[ '' == \-\l ]]
+ [[ '' == \-\-\l\a\t\e\s\t ]]
+ [[ -z '' ]]
++ getRemoteVersion FTL
++ local daemon=FTL
++ local version
+++ curl --silent --fail https://api.github.com/repos/pi-hole/FTL/releases/latest
+++ awk -F: '$1 ~/tag_name/ { print $2 }'
+++ tr -cd '[[:alnum:]]._-'
++ version=v4.3.1
++ [[ v4.3.1 =~ ^v ]]
++ echo v4.3.1
++ return 0
+ latest=v4.3.1
+ [[ '' == \-\h ]]
+ [[ '' == \-\-\h\a\s\h ]]
+ [[ -n v4.3.1 ]]
+ [[ -n v4.3.1 ]]
+ output='FTL version is v4.3.1 (Latest: v4.3.1)'
+ [[ -n FTL version is v4.3.1 (Latest: v4.3.1) ]]
+ echo '  FTL version is v4.3.1 (Latest: v4.3.1)'
  FTL version is v4.3.1 (Latest: v4.3.1)

Try

cd /etc/.pihole
sudo git fetch --tags --all

I think you are on the latest release but there’s just a “pretty” display that is missing.

1 Like

A post was split to a new topic: Update problem with Pi-Hole

Thanks!

worked for me!