The issue I am facing:
on the web i/f status always says: 'Offline' - though pihole works as expected
if I disable via admin page, then enable, says 'Active', when page refreshes, says again 'Offline'
looking on this forum, found similar issue, with such solution:
ls -l /usr/bin/sudo
---s--x--x. 1 root root 151424 Oct 14 23:28 /usr/bin/sudo
did below line, result below
sudo chmod 4755 /usr/bin/sudo
ls -l /usr/bin/sudo
-rwsr-xr-x. 1 root root 151424 Oct 14 23:28 /usr/bin/sudo
but, didn't help
Details about my system:
Centos 7, Apache
pihole status
[✓] FTL is listening on port 53
[✓] UDP (IPv4)
[✓] TCP (IPv4)
[✓] UDP (IPv6)
[✓] TCP (IPv6)
[✓] Pi-hole blocking is enabled
pihole version
Pi-hole version is v5.8.1 (Latest: v5.8.1)
AdminLTE version is v5.10.1 (Latest: v5.10.1)
FTL version is v5.13 (Latest: v5.13)
error_log has:
[Sun Jan 23 10:50:30.975554 2022] [php7:warn] [pid 1506] [client 192.168.1.28:55140]
PHP Warning: Executing sudo pihole status web failed. in
/var/www/html/admin/scripts/pi-hole/php/func.php on line 150, referer:
http://192.168.1.8/admin/index.php?login
[Sun Jan 23 10:50:30.975662 2022] [php7:notice] [pid 1506] [client
192.168.1.28:55140] PHP Notice: Undefined variable: temperaturelimit in
/var/www/html/admin/scripts/pi-hole/php/header.php on line 379, referer:
http://192.168.1.8/admin/index.php?login
We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:
#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.
sudo: no tty present and no askpass program specified
[Sun Jan 23 10:54:32.243870 2022] [php7:warn] [pid 23573] [client
192.168.1.28:63654] PHP Warning: Executing sudo pihole disable failed. in
/var/www/html/admin/scripts/pi-hole/php/func.php on line 150, referer:
http://192.168.1.8/admin/index.php
We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:
#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.
sudo: no tty present and no askpass program specified
[Sun Jan 23 10:54:36.474311 2022] [php7:warn] [pid 1486] [client 192.168.1.28:63670]
PHP Warning: Executing sudo pihole enable failed. in
/var/www/html/admin/scripts/pi-hole/php/func.php on line 150, referer:
http://192.168.1.8/admin/index.php
We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:
#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.
sudo: no tty present and no askpass program specified
[Sun Jan 23 10:54:42.761389 2022] [php7:warn] [pid 19274] [client
192.168.1.28:63668] PHP Warning: Executing sudo pihole status web failed. in
/var/www/html/admin/scripts/pi-hole/php/func.php on line 150, referer:
http://192.168.1.8/admin/index.php?login
[Sun Jan 23 10:54:42.761470 2022] [php7:notice] [pid 19274] [client
192.168.1.28:63668] PHP Notice: Undefined variable: temperaturelimit in
/var/www/html/admin/scripts/pi-hole/php/header.php on line 379, referer:
http://192.168.1.8/admin/index.php?login
what am I doing wrong ?
(also, temperature doesn't work)