28. April 2022 at 11:15 #13081Anonymous
iam testing the migration from otrs 6.0.30 to otobo 10.1.2 docker version.
This is a question is regarding time / timezone (we are located in Germany UTC+2):
On the old otrs system the time setting in the admin panel is set to UserDefaultTimeZone:UTC. Same on the otobo instance: UserDefaultTimeZone:UTC and OtoboDefaultTimeZone:UTC. on both instances the timestamps in the tickets are fine.
Here is what i see on the otobo docker host:
Thu Apr 28 10:31:52 CEST 2022
root@docker:# docker exec -it otobo_nginx_1 date
Thu Apr 28 08:32:08 UTC 2022
root@docker:# docker exec -it otobo_daemon_1 date
Thu Apr 28 08:32:18 UTC 2022
root@docker:# docker exec -it otobo_web_1 date
Thu Apr 28 08:32:30 UTC 2022
root@docker:# docker exec -it otobo_redis_1 date
Thu Apr 28 08:32:47 UTC 2022
root@docker:# docker exec -it otobo_elastic_1 date
Thu Apr 28 08:32:57 UTC 2022
root@docker:# docker exec -it otobo_db_1 date
Thu Apr 28 08:33:11 UTC 2022
As you can see the time in the docker containers is two hours behind. Because of the time in the containers and the setting in otobo itself i would expect that the time in the tickets is two hours behind CEST, but its not. So where does otobo get the time from? And second: For logging reasons it would be nice to set the time in the containers to CEST like on the host. How can i manage this? Should i bind mount /etc/localtime:/etc/localtime ?
Thanks for reading this and iam looking forwad to get some light into this thing.
- You must be logged in to reply to this topic.