TigerMX Incorrect Time or Timezone

TigerMX Incorrect Time or Timezone

This guide is aimed at rectifying issues with AtlasGUI displaying the incorrect time, or the system reporting the wrong timezone. 

Confirm Timezone

Screenshot

  1. http://$host:8080/screenshot/

Linux Time

A quick check for the on-board time and date:
  1. host={truckIP}
  2. ssh root@$host date
Eg. System date returned in 'UTC', the time zone needs to be updated:
Tue Jun 30 08:44:26 UTC 2020
If 'date' returns the correct time then Atlasgui might need to be restarted.
  1. systemctl restart atlasgui
Take another screenshot to confirm.

Check Timezone Files Exist

Timezone Directory

Confirm if this directory exists and is populated:
  1. ssh root@$host 'ls /media/mmc/etc/timezone/'
Expect: 
local
local_continuous
If the timezone directory does not exist, copy over the directory from the attached timezone.zip. 

Check 'vars_tzupdate'

Check if this file exists:
  1. ssh root@$host 'ls /media/mmc/etc/vars_tzupdate'
If the file doesn't exist use copy over the file from the attached timezone.zip. 
Note that this 'vars_tzupdate' file is set with an offset of '36000' seconds or 10 hours. Adjust accordingly.

Reset Services

  1. ssh root@$host 'systemctl restart api-httpd atlasgui'
  2. ssh root@$host date
Expect: 
Tue Jun 30 18:44:26 Auto 2020

Confirmation

Take a screenshot of the AtlasGUI: 
  1. http://$host:8080/screenshot/
The top left time should now represent the local time for that vehicle. 

Other Potential Fixes

Reset Timezone Configuration

Remove the contents of the timezone directory
  1. rm -rf /media/mmc/etc/timezone
Trigger an update (from outside of an ssh terminal): 
  1. curl -X GET http://$host:8080/gsm/tzupdate/trigger 

Reset NTPD

Ssh onto the system and stop the Network Time Protocol Daemon (NTPD), so we can make uninterrupted repairs:
  1. systemctl stop ntpd
Set the date back to an invalid date (a date before the current firmware build date) and restart the NTPD:
  1. date -s "2012-04-12 00:00:00"
  2. systemctl start ntpd
You should now have the correct time/date: 
  1. date

    • Related Articles

    • TigerMX-5 - Install Replacement System

      Expected Time  20 minutes ​Prerequisite Screwdriver (type depends on the bolts used by the installer) Removal Process 1. Shutdown TigerMX-5 via Monitor If the system is currently online follow the 'Shutdown' section of this guide to turn off the ...
    • TigerMX Harddrive (SSD) Replacement - How-to Guide

      Overtime SSDs can become subject to wear and tear preventing data from being stored. It can be replaced without sending the TigerMX back. The SSD is found on the underside of the TigerMX, so it must be removed to expose the SSD. d Removing the ...
    • TigerMX-5 - How to Reboot / Shutdown / Hard Power Cycle

      Disconnecting the power cables from the TigerMX-5 while in operation may cause component damage and unexpected behaviour.  We recommend that this process is performed before disconnecting any cables from the TigerMX-5. The option to manually and ...
    • TigerMX-5 overheating | Monitor is not displaying camera feed

      What does it look like?  To the User The Black Moth Camera monitor will be slow to respond, appear to not be working, and/or not showing the video feed.  Universe Health 'CPU_TEMP' will display as False (or red) if it has detected that the system has ...
    • TigerMX-5 Download Video Data to USB - Windows

      Download Video Data to USB via Windows Requirements Laptop with LAN Port LAN Cable USB - FAT32 formatted PuTTY - Windows SSH Client (64 bit preferred). https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html  Connect Laptop to TigerMX-5 via ...