The time we see in the Bamboo web user interface shows us the UTC time. We would like to set the timezone to America/Los_Angeles
We run our own Bamboo server. We're not using a hosted version.
We understood the timezone was set by the system time on the instance. We changed the local timezone and verified it changed. However, Bamboo still shows us the time in UTC.
Here's the command we used to set the timezone:
timedatectl set-timezone America/Los_Angeles
The output on the timedatectl status command shows us this was updated:
timedatectl status Local time: Thu 2015-08-06 15:09:33 PDT Universal time: Thu 2015-08-06 22:09:33 UTC RTC time: Thu 2015-08-06 22:09:32 Time zone: America/Los_Angeles (PDT, -0700) NTP enabled: yes NTP synchronized: yes RTC in local TZ: no DST active: yes Last DST change: DST began at Sun 2015-03-08 01:59:59 PST Sun 2015-03-08 03:00:00 PDT Next DST change: DST ends (the clock jumps one hour backwards) at Sun 2015-11-01 01:59:59 PDT Sun 2015-11-01 01:00:00 PST
We also tried setting the JAVA_OPTS the way we saw in an Atlassian Answers page: https://answers.atlassian.com/questions/104058
set JAVA_OPTS="-Duser.timezone=America/Los_Angeles -Djava.awt.headless=true"
We tried restarting the bamboo service and rebooting the server after we tried both of these, but we still see the time in UTC through the Bamboo web user interface.
How do we get Bamboo to display the local time zone?
I edited the first occurrence of JAVA_OPTS= in my /bin/setenv.sh
from this
JAVA_OPTS="-Xms${JVM_MINIMUM_MEMORY} -Xmx${JVM_MAXIMUM_MEMORY} ${JAVA_OPTS} ${JVM_REQUIRED_ARGS} ${JVM_SUPPORT_RECOMMENDED_ARGS} " #${BAMBOO_HOME_MINUSD}"
to this
JAVA_OPTS="-Duser.timezone=America/Chicago -Xms${JVM_MINIMUM_MEMORY} -Xmx${JVM_MAXIMUM_MEMORY} ${JAVA_OPTS} ${JVM_REQUIRED_ARGS} ${JVM_SUPPORT_RECOMMENDED_ARGS} " #${BAMBOO_HOME_MINUSD}"
And /admin/systemInfo.action now shows as below after restart
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.