-
-
Notifications
You must be signed in to change notification settings - Fork 124
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PADD 3.8 crashing pi-hole #252
Comments
forgot. pi-hole is updated to latest version also raspbian (buster) |
What errors or lines fill the ftl.log? |
i wasn't looking into it. raspbian was very unstable and could freeze any moment, so i deleted it as fast as i could. |
I am having the same issue FTL.log grows many many GB in several hours. PADD v3.8, latest Pi-hole. In FTL.log the following line appears approximately 15 times every 0.001 seconds! An info message about Telnet Looks like a communication error between PADD and Pi-hole and Pi-hole is logging the failures. Perhaps to do with the new API endpoint for the gateway? That uses telnet, right? |
Same issue with my install on RPi Zero W2. |
Interesting that I have this issue on one Pihole but not the other, both were on latest versions of everything at the time of this comment. My Pi3b+ pihole had ftl.log at 20GB, but my Pi4 only about 8Kb. Not sure why there was a difference. However, the pi4 pihole crashed early this morning without my knowledge around 3am according to the 24hr log and my Pi3 pihole crashed 3 hours after that. I am currently downloading the 20GB FTL.log file to see what I can find. I am thankful I have 32GB of RAM now haha [2022-07-27 15:09:07.399 716/T717] WARN: Could not accept() in listener() (/__w/FTL/FTL/src/api/socket.c:267): Socket operation on non-socket [2022-07-28 05:48:14.806 745/T750] WARNING: Disk shortage (/var/log/pihole/FTL.log) ahead: 99% is used (/var/log/pihole: 31.2GB used, 31.2GB total) |
Could you please try to manually edit the following line Line 113 in 380636a
To
|
The issue only begins for me after a few hours of running Pi-hole & PADD.. i.e. for an hour or so everything will work fine, but then after an amount of time FTL.log will begin to grow with the message: WARN: Could not accept() in listener() (/_w/FTL/FTL/src/api/socket.c:267): Socket operation on non-socket |
Well back from work i changed the line. |
Same issue as above. Clean install of raspbian (console only). Couple of hours of removing the FTL.log file and rebooted, Below is what the log is showing before telnet went haywired. FYI - I made the changes to line 113 above AFTER and will report back if the issue is still ongoing. --- snippet of FTL.log ---- [2022-07-28 08:40:50.077 834M] Using log file /var/log/pihole/FTL.log --- end snippet of FTL.log ---- |
after one hour still looking good |
here he goes....
crashing pi-hole in 5...4....3... |
Update: changing line 113 does not fix the issue. I'm still getting the socket/non-socket error message and filling up the FTL.log. --- snippet of FTL.log ---- [2022-07-28 10:55:21.451 836M] listening on 0.0.0.0 port 53 |
Hello, got the same issue as you. May I ask you what command to use to come back to PADD version 3.7.1 please? |
Same issue here. |
Hmm... interesting. I went ahead and disabled PADD (by deleting the launch script from .bashrc) then rebooted. We'll see if that is the suspect on my end. |
Confirm. Disabling PADD did the trick. No more non-socket error messages. |
We are still investigating. Cleary, there is an issue here, but we are not sure yet if the problem is within PADD, FTL or both. It's hard too reproduce because it does not affect all installations and usually does occur only after PADD has been running for a longer period of time. |
What's the proper commands / methods to downgrade and what's the URL? Many of the google search are pointing to a much older version - v3.2.1 |
This is the raw file Download and replace your |
The only two changes we made regarding the FTL telnet connections are the two new
|
If you want, you could check my idea to remedy this (especially the "astronomically quick"
You can always go back to the previous state by running
|
There was an update to that branch, if you are using it, please run |
Thanks, I am also having this problem and one of the side effect of it is it generated a 27GB FTL.log and forcing my pihole to stop running. |
Exactly the same here, once the disk is full with the massive FTL.log the pi crashes. Rolled back to PADD v3.7.1 as suggested above and the log only reaches a matter of kilobytes. It would appear that the issue is being worked on, but is currently on hold pending an 'unresolved conversation' (not sure what that means) - pi-hole/FTL#1396 |
pi-hole/FTL#1396 together with #254 should prevent crashing of FTL when using PADD 3.8.0. Once the FTL PR has been merged, it's part of the development branch which will lead to the next released FTL version. We target an release in the not so distant future. |
cd ~ |
I tried this but now I'm getting a "Cannot write to 'padd.sh' (No space left on device)." error. Anyone else have this? |
It's probably because the FTL log is so bit b/c of this bug. Just copy cp /dev/null /var/log/FTL.log to zero it out. |
Thank you. |
Hi, I am having the same issue of no space left on device, but running the cp /dev/null command above does not seem to allow it to download. Any ideas? |
This worked for me; (Removes packages and dependencies that are no longer required and deletes query log history)
But, I'm a novice so that may not be advised. Someone else should chime in. |
delete the log file completely, it will be recreated automatically. sudo rm /var/log/pihole/FTL.log |
Thanks, that worked. I was able to download the file, but now what do I do with it? Sorry, new to linux. |
cd ~ reboot and you should be good to go |
You're a goddamn genius. Thank you so much! |
Dunno about that, i've just been through the same pain! 🤣 |
Where is padd.sh located in the docker image? I took a look at the dockerfile and have looked in the usual places within the image itself and haven't been able to find it. I'm running into similar freezing issues, my current FTL log isn't too large, but I'd like to verify the padd version and see if downgrading resolves my freezing issues. |
It's not part of the docker image (yet: pi-hole/docker-pi-hole#1105) |
[2022-08-08 21:46:46.035 23451/T23452] WARN: Could not accept() in listener() (/__w/FTL/FTL/src/api/socket.c:267): Bad file descriptor Pi-hole v5.11.4 FTL v5.16.1 Web Interface v5.13 |
21 days... Any progress on this? |
It's fixed already. The next Pi-hole version will include the fix. |
So if I do pihole -up and it updates pihole I can go ahead and update PADD to latest version? |
If your're still on |
A
will be addressed with the upcoming PADD v3.8.1 |
After upgrading from 3.7.1 my pi-hole (raspbian) to 3.8 i get an error: pi hole Disk shortage (/var/log/pihole/FTL.log)
after digging around i was able to find out that the ftl.log was 15Gb big and growing.
raspbian was running out of space and my Raspberry was crashing after two hours.
i deleted the file and it got another two hours.
after reverting padd back to 3.7.1 my system runs now 10hours and still up.
also screen (design) issues
so i am missing two lines in my display
The text was updated successfully, but these errors were encountered: