Just updated Discourse but dashboard says it was 6 hours ago

I’ve just updated Discourse but the dashboard says it was 6 hours ago. Something weird with timezones I assume.

1 Like

Is your server time correct? I haven’t personally looked at where Discourse pulls time data from, but lots of times apps pull it from localhost.

1 Like

I assume so. It’s a standard Linode server, and I wouldn’t have changed anything. How can I check?

If you’re running Ubuntu, here are some ideas:

2 Likes

Are you six hours from gmt?

1 Like

This is still happening.

I just upgraded. The dashboard says “4 hours ago”.

admin/dashboard.json:

{  
   "updated_at":"2019-09-05T09:09:48.567Z",
   "version_check":{  
      "installed_version":"2.4.0.beta3",
      "installed_sha":"cd894b7d17a5d0712facb943229cdb2504818a7f",
      "installed_describe":"v2.4.0.beta3 +7",
      "git_branch":"tests-passed",
      "updated_at":"2019-09-05T09:09:48.981Z",
      "latest_version":"2.4.0.beta3",
      "critical_updates":false,
      "missing_versions_count":0,
      "stale_data":false
   }
}

admin/dashboard/general.json:

{  
   "updated_at":"2019-09-05T09:09:48.619Z",
   "discourse_updated_at":"2019-09-05T05:32:33.000+00:00",
   "release_notes_link":"https://meta.discourse.org/c/feature/announcements?tags=release-notes\u0026before=0"
}

From the server console:

timedatectl
      Local time: Thu 2019-09-05 09:16:30 UTC
  Universal time: Thu 2019-09-05 09:16:30 UTC
        RTC time: Thu 2019-09-05 09:16:30
       Time zone: Etc/UTC (UTC, +0000)
 Network time on: yes
NTP synchronized: yes
 RTC in local TZ: no

And finally, I’m in UTC+10.

I did notice that the last commit to discourse/discourse was 4 hours ago. It’s not taking that time as the time I updated is it?

You just described that the update time is the update time of the code. So yes, that’s it.

1 Like

Anyone else been confused by this or just me? Not hard to change the label, but if only I got confused it’s probably not worth the trouble.

1 Like