Hello, since yesterday I have a problem with the correct operation of pihole.
It seems to work and filters traffic (at least I see it on the main panel), but I can't log in to the administrative panel in the web interface at all. In the console, no command works, and after writing any I get something like this
pi@Pi-Zero:~ $ pihole -r
/usr/local/bin/pihole: linia 4: syntax error with unexpected tag `c'
/usr/local/bin/pihole: linia 4: `3 (c) 2017 Pi-hole, LLC (https://pi-hkle.net)'
What could be wrong, this problem can be somehow solved ??
Actually, I did nothing and everything was fine. At night I had a power outage and although the pihole is connected to the UPS, the main router has reset. This morning I look and the status tab is "Unknown" instead of "Activ". So he reset the RPI, but it did nothing.
after entering the address "http://192.168.1.8/admin/settings.php" from the palace, it was possible to enter the administration panel but an error pops up
There was a problem applying your settings.
Debugging information:
PHP error (2): session_start(): Failed to read session data: files (path: /var/lib/php/sessions) in /var/www/html/admin/scripts/pi-hole/php/password.php:12
Ehs, I think some fatal failure at pihole -r I get something like this
[i] Existing PHP installation detected : PHP version 7.3.14-1~deb10u1
[i] Repair option selected
[✓] Disk space check
[✗] Update local cache of available packages
Error: Unable to update package cache. Please try "apt-get update"
a przy sudo apt-get update
pi@Pi-Zero:~ $ sudo apt-get update
Stary:1 http://archive.raspberrypi.org/debian buster InRelease
Stary:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
Reading package lists ... Error!
E: flAbsPath on / var / lib / dpkg / status failed - realpath (2: There is no such file or directory)
E: Could not open file - open (2: There is no such file or directory)
E: Problem opening
E: Failed to open or parse the contents of package lists.