Pihole Dashboard Keeps Breaking

#1

The Dashboard keeps breaking when I try to scroll down, the page goes longer and longer scrolling itself back up. The Graph and the other listings stretch’s.

I saw a cmd on fixing it but I don’t remember what it was. I tried reinstalling it. Happens the last couple updates.

Token: eghsgculsi

I also have a schedule setup to auto update itself everyday at 4am and update the gravity list every couple of hrs. Along with the pi reboot 2 mins after updating pihole. (4:02am)

Am I doing somthing wrong? It worked for a while.

After running the sudo cmd to update confg, I get this

[] Root user check
Script called with non-root privileges
The Pi-hole requires elevated privleges to install and run
Please check the installer for any concerns regarding this requirement
Make sure to download this script from a trusted source

[✓] Sudo utility check

[✓] Root user check
[i] Update option selected
[✓] Disk space check

[i] Update local cache of available packages…
[✓] Update local cache of available packages

[✓] Checking apt-get for upgraded packages… 1 updates available
[i] It is recommended to update your OS after installing the Pi-hole!

[i] Installer Dependency checks…
[✓] Checking for apt-utils
[✓] Checking for dialog
[✓] Checking for debconf
[✓] Checking for dhcpcd5
[✓] Checking for git
[✓] Checking for iproute2
[✓] Checking for whiptail

[✓] Check for existing repository in /etc/.pihole
[✓] Update repo in /etc/.pihole

[✓] Check for existing repository in /var/www/html/admin
[i] Update repo in /var/www/html/admin…
Error: Could not update local repository. Contact support.

and stops right there.

I created a auto send email a few months back:

/var/mail/pi

From pi@raspberrypi Fri Dec 22 10:00:25 2017
Return-path: pi@raspberrypi
Envelope-to: pi@raspberrypi
Delivery-date: Fri, 22 Dec 2017 10:00:25 -0500
Received: from pi by raspberrypi.hsd1.md.comcast.net with local (Exim 4.89)
(envelope-from pi@raspberrypi)
id *************
for pi@raspberrypi; Fri, 22 Dec 2017 10:00:24 -0500
From: root@raspberrypi (Cron Daemon)
To: pi@raspberrypi
Subject: Cron pi@raspberrypi sudo pihole -g
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env: <HOME=/home/pi>
X-Cron-Env: <PATH=/usr/bin:/bin>
X-Cron-Env: <LOGNAME=pi>
Message-Id: *************@raspberrypi.hsd1.md.comcast.net
Date: Fri, 22 Dec 2017 10:00:24 -0500
Successful updating Gravity OK.

/var/mail/mail

From root@raspberrypi Fri Dec 22 15:00:04 2017
Return-path: root@raspberrypi
Envelope-to: root@raspberrypi
Delivery-date: Fri, 22 Dec 2017 15:00:04 -0500
Received: from root by raspberrypi.hsd1.md.comcast.net with local (Exim 4.89)
(envelope-from root@raspberrypi)
id *****************
for root@raspberrypi; Fri, 22 Dec 2017 15:00:03 -0500
From: root@raspberrypi (Cron Daemon)
To: root@raspberrypi
Subject: Cron root@raspberrypi pihole -g
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env: <HOME=/root>
X-Cron-Env: <PATH=/usr/bin:/bin>
X-Cron-Env: <LOGNAME=root>
Message-Id: ************@raspberrypi.hsd1.md.comcast.net
Date: Fri, 22 Dec 2017 15:00:02 -0500

/bin/sh: 1: pihole: not found

2nd

From root@raspberrypi Fri Dec 22 15:00:07 2017
Return-path: root@raspberrypi
Envelope-to: root@raspberrypi
Delivery-date: Fri, 22 Dec 2017 15:00:07 -0500
Received: from root by raspberrypi.hsd1.md.comcast.net with local (Exim 4.89)
(envelope-from root@raspberrypi)
id ***************
for root@raspberrypi; Fri, 22 Dec 2017 15:00:03 -0500
From: root@raspberrypi (Cron Daemon)
To: root@raspberrypi
Subject: Cron root@raspberrypi pihole -up date >> pihole-update.log
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env: <HOME=/root>
X-Cron-Env: <PATH=/usr/bin:/bin>
X-Cron-Env: <LOGNAME=root>
Message-Id: ************@raspberrypi.hsd1.md.comcast.net
Date: Fri, 22 Dec 2017 15:00:02 -0500

/bin/sh: 1: pihole: not found

Not sure how to stop the mail mail not found errors. If you could also help me with that as well, That be helpful.

0 Likes

#2

[✓] Check for existing repository in /var/www/html/admin
[i] Update repo in /var/www/html/admin…
Error: Could not update local repository. Contact support.

*** [ DIAGNOSING ]: Web version
[i] Web: v3.1 (How do I update Pi-hole?)
[i] Branch: master
[i] Commit: v3.1-26-gd7fcc8e-dirty

You have changes in the web interface directory. Remove them (or run sudo git reset --hard in the directory) and try again.

0 Likes

#3

This should fix it. I have also updated the FAQ to reflect this:

0 Likes