rundeck 2.1.1 - change timezone

3,690 views
Skip to first unread message

George Koumantaris

unread,
May 20, 2014, 9:27:34 AM5/20/14
to rundeck...@googlegroups.com
Hello,

Running rundeck 2.1.1 with the launcher and the timezone is in UTC. Is there anyway to change it. The only setting i see is in preferences.properties but it doesn't work, i tried changing it and restarting. 
My server's local time is in eastern time. 
Is it possible to change the time or is hardcoded to UTC?

thank you

Greg Schueler

unread,
May 20, 2014, 5:22:23 PM5/20/14
to George Koumantaris, rundeck...@googlegroups.com
You can use -Duser.timezone to set the timezone property for the JVM

--
Greg Schueler
--
You received this message because you are subscribed to the Google Groups "rundeck-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rundeck-discu...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

George Koumantaris

unread,
May 21, 2014, 2:46:43 PM5/21/14
to rundeck...@googlegroups.com, George Koumantaris
Thanks Greg,
putting -Duser.timezone=EST5EDT in the JVM options fixed the issue.

Gavin Ang

unread,
Apr 14, 2015, 7:26:40 AM4/14/15
to rundeck...@googlegroups.com
Hi,
    Trying to solve this problem also on my rundeck install.
Putting the -Duser.timezone=Asia/Singapore as per the below ps -ef output shows, but the display time is still UTC, which is a problem for correlating activities with actual time. What am I doing wrong?

rundeck  29227 29225 27 19:13 ?        00:00:54 /usr/bin/java -Djava.security.auth.login.config=/etc/rundeck/jaas-loginmodule.conf -Dloginmodule.name=RDpropertyfilelogin -Drdeck.config=/etc/rundeck -Drdeck.base=/var/lib/rundeck -Drundeck.server.configDir=/etc/rundeck -Dserver.datastore.path=/var/lib/rundeck/data -Drundeck.server.serverDir=/var/lib/rundeck -Drdeck.projects=/var/rundeck/projects -Drdeck.runlogs=/var/lib/rundeck/logs -Drundeck.config.location=/etc/rundeck/rundeck-config.properties -Duser.timezone=Asia/Singapore -Djava.io.tmpdir=/tmp/rundeck -Xmx1024m -Xms256m -server -XX:MaxPermSize=256m -cp /var/lib/rundeck/bootstrap/log4j-1.2.16.jar:/var/lib/rundeck/bootstrap/libpam4j-1.5.jar:/var/lib/rundeck/bootstrap/not-yet-commons-ssl-0.3.11.jar:/var/lib/rundeck/bootstrap/rundeck-jetty-server-2.2.3.jar:/var/lib/rundeck/bootstrap/jna-3.2.2.jar:/var/lib/rundeck/bootstrap/jetty-all-7.6.0.v20120127.jar:/var/lib/rundeck/bootstrap/servlet-api-2.5.jar: com.dtolabs.rundeck.RunServer /var/lib/rundeck 4440

Rgds,
Gavin

Greg Schueler

unread,
Apr 14, 2015, 6:01:23 PM4/14/15
to rundeck...@googlegroups.com
Hi Gavin,

timezone support is still unfortunately not very good, there are a few issues filed for it: https://github.com/rundeck/rundeck/issues?utf8=%E2%9C%93&q=is%3Aissue+is%3Aopen+timezone


Reply all
Reply to author
Forward
0 new messages