pythonubuntutimezonealibaba-cloud

"ValueError: Timezone offset does not match system offset: 28800 != 7200. Please, check your config files."


I just got the error from the subject of this question, when running a python app on a cloud server (Alibaba Cloud). Any idea how to solve it on Ubuntu?


Solution

  • ok, i found it:

    sudo dpkg-reconfigure tzdata