-
For the life of me, something stopped working today right at noon for some crazy reason... I've rebooted my server, tried to restart the containers, tried an upgrade (which went successfully), but grafana is no longer showing current data, and the powerwall flow graph is no longer loading. When I run 'verify.sh', I'm seeing this... the TZ is set across the board for "America/New_York". I don't understand what else could be hanging it up? Any ideas how else to troubleshoot this? `Checking pypowerwall
Checking telegraf
Checking influxdb
Checking grafana
Checking weather411
One or more tests failed. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
Hi @ViktorJp The error means the
The docker logs pypowerwall` That should help explain why the container is not starting. You can also run |
Beta Was this translation helpful? Give feedback.
-
Thanks for your help, Jason! That may be my problem... in my pypowerwall.env file, everything starts with PW_... including the PW_TIMEZONE... I noticed yours simply is referenced as "TZ="
Would you recommend just manually adding this item TZ=? So just some background... I'm running ubuntu as a vm on a windows server with hyper-v. From day 1, I have always had major issues with needing to run certain commands with sudo, other times they would work without needing sudo... but it's sometimes real tough to get through an upgrade without it bombing out because of permission issues. Your scripts will exit 1 when sudo is detected, and have to be able to get around that at times. I just don't know enough about Linux in general to get around this issue... one would think that if I install this as a sudo admin that things would just work. I've followed your advice and steps on making sure the current user is a container admin, but in the end, at times have to step through your upgrade/setup scripts line by line, and run commands using sudo to make it through. Not sure what else to try other than perhaps starting a new fresh ubuntu server all over... but needless to say, if the upgrade script was supposed to replace "PW_TIMEZONE=" with "TZ=", then this may have been a cause. |
Beta Was this translation helpful? Give feedback.
-
FYI I had a similar experience yesterday with weather411. At 9:50 Central Time all weather data stopped., however direct calls to api.openweathermap.org worked fine. Powerwall data was doing fine, as were data streams I have added for my provider's hourly energy pricing and data from my microinverters. Before trouble shooting further, thought I should upgrade my sandbox install. Went from 4.0.3 to 4.2.1 and after that all was well with the world so replicated on production install. Assume it was the TZ variable ... ignorance worked in my favor this time. |
Beta Was this translation helpful? Give feedback.
Hi @ViktorJp
The error means the
pypowerwall.env
is missing theTZ=
setting. That file is created duringsetup.sh
and should look like:The
TZ
line is relatively new but theupgrade.sh
script should have added it if it was missing. It is odd thatverify.sh
is reporting that it is missing. It would be good to check that file to ensure it isn't corrupt. It would also be good to see what pypowerwall says:docker logs pypowerwall`
That should help explain why the container is not starting. You can also run
setup.sh
to have it reset the sett…