I am running PiHole on a Raspberry Pi 1. The sole purpose of this Pi is to block ads so there is nothing else installed on this Pi.
I installed PiHole using dietpi-software not the official method. I am currently on v143.
On the Web Interface of PiHole i saw that updates were available. apt-get upgrade and dietpi-update didn't update the PiHole installation so i decided to update using the official method pihole -up
This method did update the PiHole Core but not the Web Interface. Here is the output:
1st try:
Code: Select all
root@DietPi:~# pihole -up
::: Checking for updates...
::: Pi-hole Core: update available
::: Web Interface: update available
:::
::: Updating Everything
:::
::: Checking for existing repository...
::: Updating repository in /etc/.pihole... done!
:::
::: You are root.
::: --unattended passed to install script, no whiptail dialogs will be displayed
::: Verifying free disk space...
:::
::: Updating local cache of available packages... done!
:::
::: 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 debconf... installed!
::: Checking for dhcpcd5... installed!
::: Checking for git... installed!
::: Checking for whiptail... installed!
:::
::: Checking for existing repository...
::: Updating repo in /etc/.pihole... done!
:::
::: Checking for existing repository...
::: Updating repo in /var/www/html/admin...!!! Unable to clone https://github .com/pi-hole/AdminLTE.git into /var/www/html/admin, unable to continue.
Unable to complete update, contact Pi-hole
Code: Select all
root@DietPi:~# pihole -up
::: Checking for updates...
::: Pi-hole Core: up to date
::: Web Interface: update available
:::
::: Pi-hole Web Admin files out of date
:::
::: Checking for existing repository...
::: Updating repository in /var/www/html/admin...
*** Please tell me who you are.
Run
git config --global user.email "you@example.com"
git config --global user.name "Your Name"
to set your account's default identity.
Omit --global to set the identity only in this repository.
fatal: unable to auto-detect email address (got 'root@DietPi.(none)')
Cannot save the current index state
error: Your local changes to the following files would be overwritten by merge:
README.md
api.php
help.php
list.php
queries.php
scripts/pi-hole/js/footer.js
scripts/pi-hole/js/gravity.js
scripts/pi-hole/js/index.js
scripts/pi-hole/js/list.js
scripts/pi-hole/js/queries.js
scripts/pi-hole/js/queryads.js
scripts/pi-hole/js/settings.js
scripts/pi-hole/php/add.php
scripts/pi-hole/php/auth.php
scripts/pi-hole/php/data.php
scripts/pi-hole/php/get.php
scripts/pi-hole/php/header.php
scripts/pi-hole/php/loginpage.php
scripts/pi-hole/php/password.php
scripts/pi-hole/php/queryads.php
scripts/pi-hole/php/savesettings.php
scripts/pi-hole/php/sub.php
settings.php
Please, commit your changes or stash them before you can merge.
Aborting
done!
:::
::: Web Admin version is now at v2.3.1
::: If you had made any changes in '/var/www/html/admin/', they have been stashed using 'git stash'
root@DietPi:~#
Can you guys help me get rid of this problem?
How can i update the Web Interface version?
Thank You.