How do we change the timezone in Bamboo?

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?

1 answer

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

System properties

Thursday, 08 Oct 2015
10:40:31
1 minute, 1 second (since Thu Oct 08 10:39:31 CDT 2015)
root
America/Chicago
English (United States)
UTF-8
Linux 3.14.19-17.43.amzn1.x86_64
amd64
2
Apache Tomcat/7.0.5

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

167 views 1 17
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you