edekeijzer / OctoPrint-PSUControl-HomeAssistant

GNU Affero General Public License v3.0
30 stars 8 forks source link

logs filling up... #17

Closed cjsmns closed 1 year ago

cjsmns commented 1 year ago

Hey,

I've been running this pluging for 2 years without an issue. Tonight I discovered that my Pi that I have Octoprint on has no storage space left. Looking further into it I found 3 files that keep filling up.

/var/log/syslog
/var/log/messages
/var/log/user.log

These files have the following line repeated multiple times every second

Apr 12 00:03:36 octopi octoprint[7633]: #033[31m2023-04-12 00:03:36,466 - octoprint.plugins.psucontrol_homeassistant - ERROR - Unable to communicate with server. Check settings.#033[0m

Even though it says that its unable to communicate with the server, PSUControl is working fine via HomeAssistant. I can turn it on and off with out an issue, just the above logs are filling up fast.

I've rebooted the Pi Multiple times, updated Octoprint and any and all plugins, and have even removed PSUControl-HomeAssistant and this line keeps repeating itself.

Any idea how or why this error is happening? Happy to provide any more info if needed.

Thanks.


UPDATE

Now it's saying this

Jun 19 00:04:54 octopi octoprint[346]: #033[31m2023-06-19 00:04:54,726 - octoprint.plugins.psucontrol - ERROR - Plugin psucontrol_homeassistant is configured for sensing but it is not registered.#033[0m

cjsmns commented 1 year ago

Ok, so I have removed all PSUControl related plugins for Octoprint. Rebooted and setup again. /var/log/syslog is still filling up with the error from my update. I have no clue what is going on here.

cjsmns commented 1 year ago

Problem solved. Moved to another sub plugin.