-
Notifications
You must be signed in to change notification settings - Fork 104
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
unable to write to influxdb due to timeouts #102
Comments
Seems the huge log file kept resurrecting itself, despite several "docker rm influx" and reboots. Was finally able to remove all vestiges of the container, re-created it, and now it's working properly. Starting the docker container with |
Hi @cgleggett, thanks for posting the resolution and closing out the issue. If I remember correctly, the issue with the logs growing was from the initial release of this project. Since then, it's been resolved, along with a number of improvements through v0.2.0, and now, v0.3.0. The upgrade process is a little lengthy going from 0.1.0 to 0.2.0, but I would recommend checking it out, and at least doing the backup step so that you have a backup of all of your power monitor data. This project seems to kill non-endurance rated microSD cards. The upgrade process for v0.1.0 -> v0.2.0 is here: |
Looks like my SD card is toast - it keeps resurrecting the giant log file. I will do a fresh install of v0.3.0 from a new image. is the format/data of the config file of the calibrations the same? |
Yup, in all of the failures I've seen first hand, the card goes into a "read only" mode, so even though it had probably looked like you deleted the log file, it never actually got removed. The good news is that you can still likely read your old power monitor data off of it. Getting the data off the bad card is a little tricky though. I have some steps posted here in this comment: Regarding v0.3.0, the configuration is different, so you can't apply the same values from your current config.py file. The good news though is that the calibration process is much simpler, and you can calibrate it in place with only a hand-held AC current meter, as long as there's sufficient load for each sensor to monitor. New docs for v0.3.0 are here: |
I haven't paid attention to my power monitor db for some time, but I tried to look at it and there was no current data. Looking at the log files, I see a lot of timeouts:
Running the power-monitor.py terminal I see this message:
The docker logfile was very big (4 GB), so I stopped the container, deleted the log, and started up again, but no joy. Even went so far as to delete the container entirely and start a new one.
Any suggestions?
The text was updated successfully, but these errors were encountered: