• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

How to change the time on FOG server

Scheduled Pinned Locked Moved
FOG Problems
3
5
1.6k
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.
  • V
    vemoya
    last edited by Oct 14, 2020, 1:22 PM

    I was looking for an option on the FOG GUI to change the time. I notice there is an option to change the time zone but no option to input the time. This would be great to make sure the image reports have the correct times.

    Is there another area where I can change the time or possibly add an NTP server address?

    Do I have to perform the same process to update the time on the storage nodes?

    Any help would be greatly appreciated.

    Thanks

    1 Reply Last reply Reply Quote 0
    • G
      george1421 Moderator
      last edited by Oct 14, 2020, 1:42 PM

      The correct time is controlled by the host OS. The timezone setting is in the web ui under FOG Configuration -> FOG Settings -> Expand all. Off the top of my head I don’t remember which section, but its on that page.

      For the linux host time you can/should install the ntp service. The installation depends a lot on which linux OS you use.

      If you fog server has direct access to the internet you can use one of the pool servers for your time source. If your fog server doesn’t have internet access you should be able to point the ntp service towards one of your windows domain controllers or another internal ntp time source.

      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

      1 Reply Last reply Reply Quote 0
      • V
        vemoya
        last edited by Oct 15, 2020, 10:29 PM

        Thanks for the reply @george1421 I was able to change the time on the FOG server (Ubuntu 18 LTS) using this website as a reference for the commands.

        https://phoenixnap.com/kb/how-to-set-or-change-timezone-date-time-ubuntu

        This updated the time on the GUI for the reports. I was not sure if I had to do it on the FOG storage servers but I did it on them (I have 2) as well just in case.

        Thanks for the help.

        1 Reply Last reply Reply Quote 1
        • S
          Sebastian Roth Moderator
          last edited by Oct 16, 2020, 5:44 AM

          @vemoya said in How to change the time on FOG server:

          I was not sure if I had to do it on the FOG storage servers but I did it on them (I have 2) as well just in case.

          Definitely you need to do this on every node/system. As George said, you want to look into using NTP.

          Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

          Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

          1 Reply Last reply Reply Quote 0
          • V
            vemoya
            last edited by Oct 16, 2020, 5:21 PM

            @Sebastian-Roth Thanks for the TIP. I did make the change on the storage nodes as well. The time on the reports is now correct.

            Thanks for the reply.

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            1 / 1
            • First post
              4/5
              Last post

            204

            Online

            12.0k

            Users

            17.3k

            Topics

            155.2k

            Posts
            Copyright © 2012-2024 FOG Project