Code Monkey home page Code Monkey logo

Comments (7)

maxhac03 avatar maxhac03 commented on June 2, 2024 1

TM_TZ=Atlantic/Halifax replaced with TM_TZ=America/Moncton.

No longer crashing.

Thanks.

from teslamate.

JakobLichterfeld avatar JakobLichterfeld commented on June 2, 2024

time_zone_not_found -> please set TZ environment variable, see https://docs.teslamate.org/docs/configuration/environment_variables

from teslamate.

TSJasonH avatar TSJasonH commented on June 2, 2024

I ran into this issue on the latest upgrade. I saw the release notes and confirmed that I have TZ= defined properly in my docker-compose file. Adding a TM_TZ line fixed the issue as noted, but what I'm not seeing is where "TM_TZ" is written in the linked documentation: https://docs.teslamate.org/docs/configuration/environment_variables/

from teslamate.

JakobLichterfeld avatar JakobLichterfeld commented on June 2, 2024

I ran into this issue on the latest upgrade. I saw the release notes and confirmed that I have TZ= defined properly in my docker-compose file. Adding a TM_TZ line fixed the issue as noted, but what I'm not seeing is where "TM_TZ" is written in the linked documentation: https://docs.teslamate.org/docs/configuration/environment_variables/

The Name of the environment variable is TZ.

from teslamate.

TSJasonH avatar TSJasonH commented on June 2, 2024

I don't know why or how your reply explains my confusion. The fact is using "TZ=" was not enough but instead a line with "TM_TZ=" works yet is not in the documentation written as "TM_TZ=". Am I just missing something that should be "obvious"?

from teslamate.

brianmay avatar brianmay commented on June 2, 2024

There is currently no code in TeslaMate that I am aware of that reads the TM_TZ environment variable. If it really is the case that setting TM_TZ in addition to TZ fixes problems, we would need to be able to understand how and why this is happening before we could fix it. That may not be easy, would require somebody who knows their way around the code being able to reproduce the issue.

I see references in the docs to setting TZ=${TM_TZ} in the docker-compose. I suspect that is not happening here.

In any case, I think if it really is the case that something is looking at TM_TZ not TZ, this requires another bug report, clearly defined and scoped at that issue.

from teslamate.

brianmay avatar brianmay commented on June 2, 2024

My bad, I just realised that was already mentioned in #3678.

from teslamate.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.