Pi-hole web interface: PHP error(2) - settings

Hallo,

es erscheint neuerdings eine seltsame Fehlermeldung wenn ich im Web Interface auf "settings" klicke:

' Error
There was a problem applying your settings.
Debugging information:
PHP error (2): file_get_contents(/run/pihole-FTL.port): failed to open stream: No such file or directory in /var/www/html/admin/scripts/pi-hole/php/FTL.php:36'

(Habe unter /var/www/html/admin/scripts/pi-hole/php/ nachgeschaut. Besagte FTL.php ist dort gelistet.)

Installiert wurde Pi-hole auf einem Raspberry Pi 4b; OS = Raspberry Pi OS/Raspbian Bullseye.
DNS-Auflösung läuft über das DNSCrypt-Protokoll...

Web Interface: Mittels Firefox auf einem Windows 10 PC.

Debug Token:
https://tricorder.pi-hole.net/M6EXStei/

Liebe Grüße
Christian

This file was removed a long time ago.

You are running the current FTL (v5.21) and Pi-hole core (v5.15.5), but using a very old Web Interface (v5.13).

They are incompatible. You need to update your Web Interface to v5.18.4.

Hello,
thank you very much for your reply/help.

It seems 'pihole -up' ignores to update the web interface and it seems that's exactly the reason for
the outdated web interface showing the error mentioned above.

Executing 'pihole -up' just shows:

[✓] Update local cache of available packages
[i] Existing PHP installation detected : PHP version 7.4.33
[✓] Checking for git
[✓] Checking for iproute2
[✓] Checking for dialog
[✓] Checking for ca-certificates

[i] Checking for updates...
[i] Pi-hole Core:    up to date
[i] FTL:             up to date

[✓] Everything is up to date!

By executing 'pihole -v' this shows up:

Pi-hole version is v5.15.5 (Latest: v5.15.5)
FTL version is v5.21 (Latest: v5.21)

So I tried to reinstall/reset the web interface manually by doing the following steps:

First I visited 'github.com/pi-hole/AdminLTE' in order to ensure the right web interface version.

Then I moved the outdated one...:

sudo mv /var/www/html/admin /home/pi/temp

...and reinstalled/reset the new interface:

cd /var/www/html
sudo git clone https://github.com/pi-hole/AdminLTE.git admin

Now everything is fine with the new web interface: The error don't show up anymore.
But how can I fix Pi-hole so in future 'pihole -up' will update also the web interface?

Sincerely,
Christian

You don't need to fix anything.

Probably there was something wrong on the old files (maybe you have changed a few files and forgot about it, or some permissions were changed).

Pi-hole will update all components on the next update.

I have another question:

Is it sure that the whole setup will be applied?
(Even those changes I made since the error has occurred.)

Or would it be better if I redo the whole setup?

Thanks in advance,
Christian

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