XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Incorret time in bash-prompt and logs on XOA

    Scheduled Pinned Locked Moved Management
    2 Posts 2 Posters 13 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • BytevenidosB Offline
      Bytevenidos
      last edited by Bytevenidos

      Hello, the time looks correct when i run timedatectl. However, you can see that that the time in my bash prompt is not correct. This is in a different timezone. The logs are also an hour off. Is this a bug? I can't find a time setting inside XOA. How does the env variable get updated?

      [14:21 18] xoa@xoa:~$ timedatectl
                     Local time: Sat 2025-10-18 15:24:17 EDT
                 Universal time: Sat 2025-10-18 19:24:17 UTC
                       RTC time: Sat 2025-10-18 19:24:17
                      Time zone: US/Eastern (EDT, -0400)
      System clock synchronized: yes
                    NTP service: active
                RTC in local TZ: no
      [14:24 18] xoa@xoa:~$ 
      
      [14:24 18] xoa@xoa:~$ echo $TZ
      EST
      [14:24 18] xoa@xoa:~$ 
      
      [14:24 18] xoa@xoa:~$ last reboot
      reboot   system boot  6.1.0-40-amd64   Sat Oct 18 14:16   still running
      reboot   system boot  6.1.0-40-amd64   Sat Oct 18 14:14 - 14:15  (00:01)
      reboot   system boot  6.1.0-40-amd64   Fri Oct 17 20:24 - 08:55  (12:30)
      reboot   system boot  6.1.0-40-amd64   Fri Oct 17 20:21 - 20:24  (00:03)
      reboot   system boot  6.1.0-40-amd64   Fri Oct 17 20:12 - 20:20  (00:08)
      
      1 Reply Last reply Reply Quote 0
      • olivierlambertO Offline
        olivierlambert Vates 🪐 Co-Founder CEO
        last edited by

        Hi,

        Have you checked https://docs.xen-orchestra.com/xoa#timezone ?

        1 Reply Last reply Reply Quote 0
        • First post
          Last post