-
-
Notifications
You must be signed in to change notification settings - Fork 200
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
FTL Crashed! #97
Comments
We see issues with We have compiled a set of instructions here: Since |
Since the recent updates (FTL v2.9.3) my FTL behave to crash, too. pihole-FTL.log:
|
Is this with v2.9.2 or v2.9.3? |
Ok, edited to slow. FTL v2.9.3 it is. |
could it be that the SQL db is being written then deleted by the dietpi log flush sequence? |
Another hint, a second Pi-hole at RPi v1 and Raspbian no crashes so far. |
Hmm, could you also follow the debug instructions and post that on a new issue to lower the chance that things get mixed up? It is not yet clear if both of you are affected by exactly the same problem |
@technicalpyro I set "Log System: None". This should disable all sort of Ramlog or Logrotate. |
Check the file permissions: |
@Mcat12 You are onto something. It seems that folder has odd permissions. /etc/pihole look like this:
|
|
Another coincidence, all crashes occurred at xx:59:01.xxx after some uptime. |
Database cleaning (remove old entries). That should anyhow not crash (and doesn't always crash for you!). Please provide the debug backtrace in a new issue |
hey, sorry, closed to fast. if have clear my database after last crash, but now it crashes again: my system is : Linux minedeb 3.16.0-4-amd64 #1 SMP Debian 3.16.43-2 (2017-04-30) x86_64 GNU/Linux pihole-FTL.log |
I have also run into the same issue. I'm a very new user to Pi-hole and only started ~2 days ago, but this did not seem to happen before the Pi-hole 3.1 update, if that helps. I'm running it on an original Raspberry Pi B with Raspbian 7.11. I've attached a part of the log where FTL crashed, then I started it again and left it running until it started spamming the log with "DB thread - SQL error: database is locked" again. Once that happens it crashes/segfaults again after a while. |
I go the same issue on Orange Pi Zero running on Armbian [2017-06-22 10:59:01.067] ----------------------------> FTL crashed! <---------------------------- Here is the last case. [2017-06-22 19:59:01.028] !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! [2017-06-22 20:59:01.079] !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
I'm also using pi-hole with Orange Pi Zero 512M, having same constant crashes on FTL v 2.9.3. |
Same issues, FTL 2.9.3 crashes since the 3.1 update. Pi2 running Raspbian Jessie Lite [2017-06-22 12:58:03.238] DB thread - SQL error: database is locked |
If you are experiencing this crash, please follow these instructions. |
Please try updating to |
I haven't tried 2.9.4 but I just wanted to say that restarting FTL as root seems to have "fixed" it for me on 2.9.3. You might have pegged it already I just thought it might provide a hint to what was going wrong. |
I upgraded to FTL 2.9.4 yesterday, it didn't crash so far in this last 8 hours. |
Running with zero crashes since installing 2.9.4 (9 hours ago).. so far so good, thank you! |
Latest update, 2.9.4 seems to be working ok so far. Not getting any database lock errors or crashes. |
Yes, this seems to be stable. No more crashes so far. |
No errors or crashes for me either on 2.9.4 in about 16h, looks like it's working well. |
No indication for any further crashes within one week. Closing. Feel free to open a new issue (or reopen) if you the issue persists. |
Upgraded yesterday and now FTL keeps going offline.
In raising this issue, I confirm the following (please check boxes, eg [X]) Failure to fill the template will close your issue:
How familiar are you with the codebase?:
0
[BUG | ISSUE] Expected Behaviour:
FTL to be online
[BUG | ISSUE] Actual Behaviour:
FTL crashing with Segmentation fault
[BUG | ISSUE] Steps to reproduce:
Upgrade to latest pihole v3.1 & FTL v2.9.2
Log file output [if available]
Log output;
[2017-06-21 18:59:01.115] > Please report a bug at https://github.com/pi-hole/FTL/issues
[2017-06-21 18:59:01.115] > and include in your report already the following details:
[2017-06-21 18:59:01.115] >
[2017-06-21 18:59:01.115] > Received signal: Segmentation fault
[2017-06-21 18:59:01.115] at address: 104
[2017-06-21 18:59:01.115] with code: SEGV_MAPERR (Address not mapped to object)
[2017-06-21 18:59:01.115] > Memory usage (structs): 356428
[2017-06-21 18:59:01.115] > Memory usage (dynamic): 7851
[2017-06-21 18:59:01.115] >
[2017-06-21 18:59:01.115] > Thank you for helping us to improve our FTL engine!
[2017-06-21 18:59:01.115] FTL terminated!
But before that output is does moan about the database being locked;
[2017-06-21 16:59:01.044] SQL error (5): database is locked
[2017-06-21 16:59:01.044] DB-GC error: Deleting queries due to age of entries failed!
[2017-06-21 17:59:01.100] SQL error (5): database is locked
[2017-06-21 17:59:01.109] DB-GC error: Deleting queries due to age of entries failed!
Device specifics
Hardware Type: VPS
OS: Debian
The text was updated successfully, but these errors were encountered: