martomi / chiadog

A watch dog providing a peace in mind that your Chia farm is running smoothly 24/7.
MIT License
458 stars 120 forks source link

Harvester offline loop #321

Closed DFC72 closed 2 years ago

DFC72 commented 2 years ago

OS: Ubuntu 21.10 Kernel: Linux 5.13.0-1011-raspi architecture: Arm64 Python version: 3.9.7 Harvester is local Chia version is 1.2.11 Chiadog 0.7.0 is reporting harvester down in a loop every 5 minutes.

This started after I logged on to the console and closed the terminal window where chiadog was launched from.

this seems like unexpected behavior, as I launch chiadog from a shell script to run it in the background.. contents of shell program: . ./venv/bin/activate

Start the ChiaDog

nohup python3 -u main.py --config config.yaml > output.log 2>&1 &

Chiadog was previously working fine. I've restarted the server. Then I started chia. (Not set to start automatically after reboot) Then I started chiadog. (Also not set to start automatically)

Issue still happening.

Do I need to clear logs before starting chia and wipe the output.log for chiadog?

martomi commented 2 years ago

Might be happening because it's not able to read the logs from chia for some reason. Do you see anything unusual in output.log from chiadog?

martomi commented 2 years ago

Closing due to inactivity from author.