Is the Lucee server time off for anyone today? For...
# lucee
r
Is the Lucee server time off for anyone today? For no apparent reason my Lucee server has been running fine for two years and gets it's time from pool.ntp.org and I have it set to eastern standard time. It's 3:17 PM EST time and lucee is showing 7:13 AM for EST. I've tried changing time zones and update it back to EST time but still messed up. Lucee 5.2.7.62. I tried time.nist.gov and it still shows 7 am hour?
z
That's an old lucee version, how old is your java, maybe the TZ data is out of date?
r
Hi Zack I am moving to a new server soon but I haven't ever touched this server and I haven't updated any Lucee software. So for no reason the time is off today. I haven't updated Java either. That what made me ask if anyone else is seeing this thinking there is a time server issue
z
What does getTimeZoneInfo() say?
r
@zackster TimeZoneUS/Eastern
z
Try the info one? Dump it
r
I can't restart server until tonight hoping that magically fixes it
Copy code
DSTOffset	
number	3600
id	
string	US/Eastern
isDSTon	
boolean	true
name	
string	Eastern Standard Time
offset	
number	-14400
utcHourOffset	
number	4
utcMinuteOffset	
number	0
utcTotalOffset	
number	14400
z
Now try that on trycf?
r
Copy code
DSTOffset	
number	0
id	
string	Etc/UTC
isDSTon	
boolean	false
name	
string	Coordinated Universal Time
nameDST	
string	Coordinated Universal Time
offset	
number	0
shortName	
string	UTC
shortNameDST	
string	UTC
utcHourOffset	
number	0
utcMinuteOffset	
number	0
utcTotalOffset	
number	0
z
Set the timezone first :)
r
Copy code
DSTOffset	
number	3600
id	
string	US/Eastern
isDSTon	
boolean	true
name	
string	Eastern Standard Time
nameDST	
string	Eastern Daylight Time
offset	
number	-14400
shortName	
string	EST
shortNameDST	
string	EDT
utcHourOffset	
number	4
utcMinuteOffset	
number	0
utcTotalOffset	
number	14400
message has been deleted
What my lucee server shows at the moment
And it's 3:52pm EST currently
z
message has been deleted
r
That's what I wish I had:)
I have the server with Hostek they are going to restart tonight. Hope it just fixes it as I haven't touched anything
z
u could try a soft restart via the admin?
r
and by next week I'll be on the latest Lucee stable
That's true good idea let me try
message has been deleted
@zackster unbelievable it worked. You actually did fix this for me because it was your idea
thanks
I don't know why restarts are needed but they work!
z
just figured a restart does a full config reload
glad we solved it
r
Thanks again