Geffers
1
Folks,
Am currently running the following;
Pi-hole Version v3.0.1 (Update available!) Web Interface Version v3.0.1 (Update available!) FTL Version v2.6.2 (Update available!)
If I run pihole -up I get the following error;
::: Using ARM binary
::: Installing FTL... /etc/.pihole/automated install/basic-install.sh: line 1200: 8445 Segmentation fault sha1sum --status --quiet -c "${binary}".sha1
failed (download of binary from Github failed)
Not sure what the Segmentation Fault relates to.
Geffers
Try this.
Run
sudo rm -rf /var/www/html/admin
Then
sudo git clone https://github.com/pi-hole/adminLTE.git /var/www/html/admin
Then
run pihole -up
Mcat12
3
Check /tmp
for a .sha1
file and share its contents.
Edit: Also, run df -h
Geffers
4
in /tmp 71 Sep 13 20:10 pihole-FTL-arm-linux-gnueabi.sha1
df -h
Filesystem Size Used Avail Use% Mounted on
/dev/root 15G 1.1G 13G 8% /
devtmpfs 213M 0 213M 0% /dev
tmpfs 218M 0 218M 0% /dev/shm
tmpfs 218M 4.4M 213M 3% /run
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs 218M 0 218M 0% /sys/fs/cgroup
/dev/mmcblk0p1 41M 21M 20M 52% /boot
Geffers
Mcat12
5
Is the file empty? What is the output of this command?
cat /tmp/pihole-FTL-arm-linux-gnueabi.sha1
Geffers
6
This is the output from that command;
d4dfd75ab48060828087c4df7fe32064fba76851 pihole-FTL-arm-linux-gnueabi
Geffers
Mcat12
7
What is the output of these commands?
cd /tmp
ls -l
sha1sum --status --quiet -c pihole-FTL-arm-linux-gnueabi.sha1
Geffers
8
Here are the outputs;
ls -l
total 1308
-rw-r--r-- 1 root root 1333009 Sep 13 20:10 pihole-FTL-arm-linux-gnueabi
-rw-r--r-- 1 root root 71 Sep 13 20:10 pihole-FTL-arm-linux-gnueabi.sha1
pi@Pi-vpn:/tmp $ sha1sum --status --quiet -c /tmp/pihole-FTL-arm-linux-gnueabi.sha1
Segmentation fault
Geffers
Mcat12
9
If you try other arguments on the sha1sum
program such as --help
, does it still crash?
Geffers
10
sha1sum on its own and with --help give me same output of;
Segmentation fault
Geffers
Mcat12
11
It sounds like it is having an internal issue. Try reinstalling your OS (or if you know how, reinstall sha1sum).
Before you try wiping everything, what's the output of these commands?
uname -a
file $(which sha1sum)
Geffers
12
Output as below;
uname -a
Linux Pi-vpn 4.9.24+ #993 Wed Apr 26 17:56:54 BST 2017 armv6l GNU/Linux
file $(which sha1sum)
/usr/bin/sha1sum: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-armhf.so.3, for GNU/Linux 2.6.32, BuildID[sha1]=5759dd6546113acf30e93646132331e6105d0c51, stripped
Geffers
Mcat12
13
Do you have this file? /lib/ld-linux-armhf.so.3
Geffers
14
Shows as;
ld-linux-armhf.so.3 -> arm-linux-gnueabihf/ld-2.19.so
Geffers
Mcat12
15
Try a reinstall of the OS. Right after installing again, check to see if sha1sum still fails.