Expected Behaviour:
PADD should be displaying stats and pi-hole status.
Using Buster on RPi 3b+
Actual Behaviour:
PADD shows Core down and DNS server off
pihole -c shows stats whereas padd doesn't.
|) /\ | | \ Pi-hole® v5.13, Web v5.16, FTL v5.18.2, PADD v3.8.0
| /--| /|__/ [✗] Core [✓] FTL [✗] Pi-hole's DNS server is off!
STATS =========================================================================
Blocking: 0 domains Piholed: [■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■] 0.0%
Clients: 0 out of 0 queries
Latest: 0
Top Ad:
Top Dmn:
Top Clnt:
Debug Token:
https://tricorder.pi-hole.net/2LxB6QR6/
Same here after today's updates. I think it's related to this, not sure...
pi-hole:dev
← pi-hole:ftl-port-file-removal
opened 02:12PM - 24 Sep 22 UTC
### **What does this PR aim to accomplish?:**
Title. See https://github.com/p… i-hole/FTL/pull/1445
---
**By submitting this pull request, I confirm the following:**
1. I have read and understood the [contributors guide](https://docs.pi-hole.net/guides/github/contributing/), as well as this entire template. I understand which branch to base my commits and Pull Requests against.
2. I have commented my proposed changes within the code and I have tested my changes.
3. I am willing to help maintain this change if there are issues with it later.
4. It is compatible with the [EUPL 1.2 license](https://opensource.org/licenses/EUPL-1.1)
5. I have squashed any insignificant commits. ([`git rebase`](http://gitready.com/advanced/2009/02/10/squashing-commits-with-rebase.html))
---
- [x] I have read the above and my PR is ready for review. _Check this box to confirm_
Looks like PADD's main data-gathering function uses that file
GetFTLData() {
ftl_port=$(cat /run/pihole-FTL.port 2> /dev/null)
...
You can work around it for now by editing PADD and making the following changes.
nano -l padd.sh
Modify the GetFTLData
function, starting on line 109, to look like this
GetFTLData() {
echo ">$1 >quit" | nc 127.0.0.1 4711
}
assuming FTL is running on port 4711 which is the standard. PADD works once again.
1 Like
Thanks. That did it. All good again.
Cheers.
Bear in mind it's a workaround not a fix. Keep an eye out for an updated version.
Seems that .port
file was being used to both determine the port and check it's even running. Second para here mentions reading the conf file directly as the proper way now, but in PADD I think that logic now translates into two tests, something like
if FTL is running then
if FTLPORT is set in conf then
set ftl_port to use that
else ftl_port=4711
send command to FTL
else if not running then echo 0
This was already fixed in development.
pi-hole:development
← pi-hole:no_port
opened 07:25PM - 27 Sep 22 UTC
**What does this PR aim to accomplish?:**
We removed the `pihole-FTL.port` fi… le here: https://github.com/pi-hole/FTL/pull/1445.
The file was used by `PADD` to get the current API port to communicate with `FTL`.
With this PR `PADD` now tries to read the port from `pihole-FTL.conf` the same as we do it in https://github.com/pi-hole/pi-hole/pull/4945
---
**By submitting this pull request, I confirm the following:**
1. I have read and understood the [contributors guide](https://docs.pi-hole.net/guides/github/contributing/), as well as this entire template. I understand which branch to base my commits and Pull Requests against.
2. I have commented my proposed changes within the code and I have tested my changes.
3. I am willing to help maintain this change if there are issues with it later.
4. It is compatible with the [EUPL 1.2 license](https://opensource.org/licenses/EUPL-1.1)
5. I have squashed any insignificant commits. ([`git rebase`](http://gitready.com/advanced/2009/02/10/squashing-commits-with-rebase.html))
---
- [x] I have read the above and my PR is ready for review. _Check this box to confirm_
It'll be shipped with the next release.
3 Likes
Also core is showing up with error:
I mentioned that in the original post. Albeit without an image.
ok, thanks for the info, I overlooked it
bcutter
October 11, 2022, 8:11pm
11
Other symptoms:
Please follow the below template, it will help us to help you!
*If you are Experiencing issues with a Pi-hole install that has non-standard elements (e.g you are using
I am running apache web server on this box to support ups units and other software.
This pihole seems to be working fine, just the version on the web page seems wrong.
Forgot to add system has been fully rebooted and I have tested in a browser that has never had the page cached.
Expected Behaviour:
I am running pihole on a P…
opened 08:02PM - 11 Oct 22 UTC
closed 10:00PM - 11 Oct 22 UTC
### Versions
- Pi-hole version is v5.13 (Latest: v5.13)
- AdminLTE version i… s v5.16 (Latest: v5.16)
- FTL version is v5.18.2 (Latest: v5.18.2)
### Platform
- OS and version: Raspberry Pi OS Bullseye
- Platform: Raspberry Pi
### Expected behavior
After updating with `pihole -up` the new version of all 3 components is updated on all places.
### Actual behavior / bug
The version information is updated correctly here:
- ✔cli (`pihole -v` and `pihole -up`)
- ✔PADD (see screenshot below)
But it isn't here:
- ❌webinterface (see screenshot below)
- ❌Home Assistant by using the official Pi-Hole integration
### Steps to reproduce
Steps to reproduce the behavior:
1. Update to latest version using `pihole -up`
2. Check version information at various places
### Screenshots
Webinterface
![grafik](https://user-images.githubusercontent.com/13799156/195186215-e5e9c7b0-9268-4bed-8048-d06c67d7407d.png)
PADD
![grafik](https://user-images.githubusercontent.com/13799156/195186470-fa4b8da6-e2ae-4d1d-9c4c-6c1164e54fee.png)
Home Assistant
![grafik](https://user-images.githubusercontent.com/13799156/195186652-9731deb3-ca55-4ee4-8c99-c21168d20e15.png)
### Additional context
- Probably an API issue?
- Did a `pihole restartdns` already.
- Refreshed browser cache, used another browser and machine - same output.
==> Update after looking at the PADD screenshot: various status information is not provided correctly. See the screen telling DNS server is off. At the same time `pihole status` gives
```
[✓] FTL is listening on port 53
[✓] UDP (IPv4)
[✓] TCP (IPv4)
[✓] UDP (IPv6)
[✓] TCP (IPv6)
[✓] Pi-hole blocking is enabled
```
Please feel free to move this issue to the right component (GitHub project), maybe it's a core or FTL issue.
I guess waiting for a fix shipped with a stable update is the actual thing to wait for.
bcutter
October 11, 2022, 8:38pm
12
Seems to be waiting for an approving review to get merged.
Current/latest release still is v3.8.0.
v3.8.1 out now and working fine / many thanks for the fix
1 Like
Zathras
October 12, 2022, 11:52am
14
All good now with v3.8.1.
Also 'mega' screen fixed too. Did scroll up with v3.8.0 and top line on LCD no longer showed.
as of today:
some magic ... switched back to ERROR ???
puh, was a "user too stupid", my blocking was disabled .....
padd works as expected
system
Closed
November 3, 2022, 9:11am
17
This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.