Updating pi.hole trough terminal

Please follow the below template, it will help us to help you!

Expected Behaviour:

To update

Actual Behaviour:

I have errors and no update
pihole -v
Pi-hole version is v4.0 (Latest: ERROR)
AdminLTE version is v4.0 (Latest: ERROR)
FTL version is v4.0 (Latest: ERROR)

Debug Token:

Can't send log

[?] Would you like to upload the log? [y/N] y
* Using openssl for transmission.
[✗] There was an error uploading your debug log.

  • Please try again or contact the Pi-hole team for assistance.
  • A local copy of the debug log can be found at: /var/log/pihole_debug-sanitized.log

now what error I fund in terminal

[i] Checking for updates...
fatal: unable to access 'https://github.com/pi-hole/pi-hole.git/': Could not resolve host: github.com
[i] Pi-hole Core: up to date
fatal: unable to access 'https://github.com/pi-hole/AdminLTE.git/': Could not resolve host: github.com
[i] Web Interface: up to date
[i] FTL: update available
[i] FTL out of date, it will be updated by the installer.
[✗] Downloading and Installing FTL
Error: Unable to get latest release location from GitHub
[✗] FTL Engine not installed

I tried in terminal direct ping
--- 192.168.5.99 ping statistics ---
4 packets transmitted, 0 received, 100% packet loss, time 3052ms

yoss@orangepi:/etc/pihole$ ip -4 route | grep default | cut -d ' ' -f 3
192.168.5.99
But internet and pi.hole in browser is working normally. Only error I find in debug.log different than other errors is this

*** [ DIAGNOSING ]: Dashboard and block page
[✗] Block page X-Header: X-Header does not match or could not be retrieved.
HTTP/1.1 200 OK
Content-type: text/html; charset=UTF-8
Date: Tue, 11 Dec 2018 15:11:02 GMT
Server: lighttpd/1.4.45

You don't appear able to resolve external domains. What is the output of these commands?

cat /etc/resolv.conf
service pihole-FTL status
dig google.com @127.0.0.1
yoss@orangepi:~$ cat /etc/resolv.conf
Generated by NetworkManager
nameeserver 192.168.5.99

 yoss@orangepi:~$ service pihole-FTL status
pihole-FTL.service - LSB: pihole-FTL daemon
Loaded: loaded (/etc/init.d/pihole-FTL; generated)
Active: active (exited) since Tue 2018-12-11 17:41:39 CET; 1 day 6h ago
    
Docs: man:systemd-sysv-generator(8)
Tasks: 0 (limit: 1008)
CGroup: /system.slice/pihole-FTL.service

Dec 11 17:41:38 orangepi systemd[1]: Starting LSB: pihole-FTL daemon...
Dec 11 17:41:39 orangepi pihole-FTL[21107]: Not running
Dec 11 17:41:39 orangepi pihole-FTL[21107]: chown: cannot access '/etc/pihole/dh
Dec 11 17:41:39 orangepi pihole-FTL[21107]: /etc/resolvconf/update.d/libc: Warni
Dec 11 17:41:39 orangepi su[21144]: Successful su for pihole by root
Dec 11 17:41:39 orangepi su[21144]: + ??? root:pihole
Dec 11 17:41:39 orangepi su[21144]: pam_unix(su:session): session opened for use
Dec 11 17:41:39 orangepi pihole-FTL[21107]: FTL started!
Dec 11 17:41:39 orangepi su[21144]: pam_unix(su:session): session closed for use
Dec 11 17:41:39 orangepi systemd[1]: Started LSB: pihole-FTL daemon.

yoss@orangepi:~$ dig google.com @127.0.0.1

; <<>> DiG 9.11.3-1ubuntu1.3-Ubuntu <<>> google.com @127.0.0.1
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 32113
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1452
;; QUESTION SECTION:
;google.com.			IN	A

;; ANSWER SECTION:
google.com.		36	IN	A	216.58.201.110

;; Query time: 21 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Thu Dec 13 00:34:29 CET 2018
 ;; MSG SIZE  rcvd: 55

OK, I changed nameserver in resolv.conf to 1.1.1.1 and update passed with no problem.
I was thinking that pi.hole resolve DNS addressees by himself, and oblivious I was wrong.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.