Skip to content
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 Offline #43

Open
AkselRocks opened this issue Aug 26, 2019 · 2 comments
Open

FTL Offline #43

AkselRocks opened this issue Aug 26, 2019 · 2 comments

Comments

@AkselRocks
Copy link

Can not say since when it is offline.
Tried to restart dnsmasq and pihole services. Seems to work, but after a while it was again offline.

nginx error log:
https://paste.yunohost.org/iyinokikev

Tell me, if you need more infos/logs.

@supermamie
Copy link

On my side, pihole-FTL is offline with this log (and I am unable to start it manually)

[2020-06-08 09:45:00.015] save_to_DB() - SQL error (8): attempt to write a readonly database
[2020-06-08 09:45:00.015] save_to_DB() - SQL error (8): attempt to write a readonly database
[2020-06-08 09:45:00.015] save_to_DB() - SQL error (8): attempt to write a readonly database
[2020-06-08 09:45:00.016] save_to_DB() - exiting due to too many errors
[2020-06-08 09:46:00.058] save_to_DB() - SQL error (8): attempt to write a readonly database
[2020-06-08 09:46:00.058] save_to_DB() - SQL error (8): attempt to write a readonly database
[2020-06-08 09:46:00.058] save_to_DB() - SQL error (8): attempt to write a readonly database
[2020-06-08 09:46:00.058] save_to_DB() - exiting due to too many errors
[2020-06-08 09:47:00.093] save_to_DB() - SQL error (8): attempt to write a readonly database
[2020-06-08 09:47:00.093] save_to_DB() - SQL error (8): attempt to write a readonly database
[2020-06-08 09:47:00.093] save_to_DB() - SQL error (8): attempt to write a readonly database
[2020-06-08 09:47:00.093] save_to_DB() - exiting due to too many errors

@tootbrute
Copy link

I always have pihole-FTL being dead too.

$ sudo journalctl -xe | grep pihole-FTL
Apr 16 07:15:32 arkadi.one sudo[18753]:    admin : TTY=pts/0 ; PWD=/home/admin ; USER=root ; COMMAND=/usr/bin/yunohost service restart pihole-FTL
Apr 16 07:15:32 arkadi.one systemd[1]: Stopping LSB: pihole-FTL daemon...
-- Subject: A stop job for unit pihole-FTL.service has begun execution
-- A stop job for unit pihole-FTL.service has begun execution.
Apr 16 07:15:32 arkadi.one pihole-FTL[18757]: Stopped
Apr 16 07:15:32 arkadi.one systemd[1]: pihole-FTL.service: Succeeded.
-- The unit pihole-FTL.service has successfully entered the 'dead' state.
Apr 16 07:15:32 arkadi.one systemd[1]: Stopped LSB: pihole-FTL daemon.
-- Subject: A stop job for unit pihole-FTL.service has finished
-- A stop job for unit pihole-FTL.service has finished.
Apr 16 07:15:32 arkadi.one systemd[1]: Starting LSB: pihole-FTL daemon...
-- Subject: A start job for unit pihole-FTL.service has begun execution
-- A start job for unit pihole-FTL.service has begun execution.
Apr 16 07:15:32 arkadi.one pihole-FTL[18769]: Not running
Apr 16 07:15:32 arkadi.one pihole-FTL[18769]: rm: cannot remove '/var/run/pihole/FTL.sock': No such file or directory
Apr 16 07:15:32 arkadi.one pihole-FTL[18769]: FTL started!
Apr 16 07:15:32 arkadi.one systemd[1]: Started LSB: pihole-FTL daemon.
-- Subject: A start job for unit pihole-FTL.service has finished successfully
-- A start job for unit pihole-FTL.service has finished successfully.

Even when I restart it, always says exited.

sudo yunohost service status pihole-FTL
/usr/lib/moulinette/yunohost/service.py:596: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
  services = yaml.load(f) or {}
configuration: unknown
description: PiHole backend service
last_state_change: 2021-04-16 07:15:32
start_on_boot: enabled
status: exited

Long while ago I had pihole working, but after uninstalling, and reinstalling I can't get it working again. No hits on the Admin Console. My configuration bad, or the app broken?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants