Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed update Pi-hole from version 2.9.2 to version 2.9.4 and Web-Admin from version 1.4.2 to version 1.4.3.1 #833

Closed
4 of 13 tasks
M1chael opened this issue Oct 23, 2016 · 12 comments
Labels
Bug: Confirmed Verified as a bug to be resolved Fixed in next release

Comments

@M1chael
Copy link

M1chael commented Oct 23, 2016

In raising this issue, I confirm the following (please check boxes, eg [X]):

How familiar are you with the codebase?:

  • 1 (very unfamiliar)
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10 (very familiar)

[BUG | ISSUE] Expected Behaviour:
pihole -up should update Pi-hole and Web Admin to the latest versions.

[BUG | ISSUE] Actual Behaviour:
pihole -up not update Pi-hole and Web Admin:

::: Pi-hole has been updated to version v2.9.4
::: Web Admin has been updated to version v1.4.3.1
:::
::: See https://changes.pi-hole.net for details
pi@raspberrypi ~ $ pihole -v
::: Pi-hole version is V2.9.2 (Latest version is v2.9.4)
::: Web-Admin version is v1.4.2 (Latest version is v1.4.3.1)

[BUG | ISSUE] Steps to reproduce:

  • pihole -up
  • select any suggested option
  • pihole -v

(Optional) Debug Log generated by pihole -d:

http://termbin.com/nq08

@PromoFaux
Copy link
Member

PromoFaux commented Oct 23, 2016

Hi there, there is a known bug in pihole -up which will be fixed in the next release. (Fixed in pull #814)

In the mean time, you can manually update the Web-Admin by:

cd /var/www/html/admin
sudo git checkout master
sudo git pull

For the base pi-hole files run:

cd /etc/.pihole
sudo git checkout master
sudo git pull

@jacobsalmela jacobsalmela added Bug: Confirmed Verified as a bug to be resolved Fixed in next release labels Oct 23, 2016
@M1chael
Copy link
Author

M1chael commented Oct 28, 2016

@PromoFaux, thanks for that! What about Pi-hole itself? Is there any way to update it?

@PromoFaux
Copy link
Member

The update command should would for the pi-hole files, I think the bug just affects the web...

@M1chael
Copy link
Author

M1chael commented Oct 28, 2016

Unfortunately it doesn't:

pi@raspberrypi ~ $ pihole -up
::: Checking for updates...
::: Pi-hole version is V2.9.2 (Latest version is v2.9.4a)
::: Web Admin version is v1.4.3.1a (Latest version is v1.4.3.1a)
:::
::: An update is available for  Pi-Hole!
::: Fetching latest changes from GitHub...
[sudo] password for pi: 
From https://github.com/pi-hole/pi-hole
 * branch            master     -> FETCH_HEAD
Already up-to-date.
:::
::: You are root.
::: Update option selected.
::: Verifying free disk space...
:::
::: Checking apt-get for upgraded packages.... done!
:::
::: Your system is up to date! Continuing with Pi-hole installation...
:::    Checking for apt-utils... installed!
:::    Checking for whiptail... installed!
:::    Checking for git... installed!
:::    Checking for dhcpcd5... installed!
:::    Checking for dnsutils... installed!
:::    Checking for bc... installed!
:::    Checking for dnsmasq... installed!
:::    Checking for lighttpd... installed!
:::    Checking for php5-common... installed!
:::    Checking for php5-cgi... installed!
:::    Checking for curl... installed!
:::    Checking for unzip... installed!
:::    Checking for wget... installed!
:::    Checking for sudo... installed!
:::    Checking for netcat... installed!
:::    Checking for cron... installed!
:::    Checking for iproute2...:::
::: Pi-hole has been updated to version v2.9.4a
:::
::: See https://changes.pi-hole.net for details
pi@raspberrypi ~ $ pihole -v
::: Pi-hole version is V2.9.2 (Latest version is v2.9.4a)
::: Web-Admin version is v1.4.3.1a (Latest version is v1.4.3.1a)

@PromoFaux
Copy link
Member

Hmm. OK. I'll take a look into it. In the mean time:

cd /etc/.pihole
sudo git checkout master
sudo git pull

@M1chael
Copy link
Author

M1chael commented Oct 29, 2016

@PromoFaux, thx again!

@M1chael
Copy link
Author

M1chael commented Oct 31, 2016

Problem still here:

::: Pi-hole has been updated to version v2.9.5
::: Web Admin has been updated to version v1.4.4.2
:::
::: See https://changes.pi-hole.net for details
pi@raspberrypi ~ $ pihole -v
::: Pi-hole version is v2.9.4a (Latest version is v2.9.5)
::: Web-Admin version is v1.4.3.1a (Latest version is v1.4.4.2)

@PromoFaux
Copy link
Member

Yeah it will because the update script you currently have is still the old one!

One last manual pull, and you should be golden!

@PromoFaux
Copy link
Member

This should be fixed now, however the real test is going to come on the next release.

@AzureMarker
Copy link
Contributor

@M1chael Did the updater work?

@M1chael
Copy link
Author

M1chael commented Dec 22, 2016

Yes. It works now for me.

@f1vefour
Copy link

f1vefour commented Jan 15, 2017

For some reason it wouldn't work for me, I couldn't pull the web admin due to overwriting conflict. I had to do this:

git fetch --all
git reset --hard origin/master

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug: Confirmed Verified as a bug to be resolved Fixed in next release
Projects
None yet
Development

No branches or pull requests

5 participants