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

    Reset Encryption Data” keeps reappearing + hostSecTime always 30 min ahead (FOG 1.5.10)

    Scheduled Pinned Locked Moved General Problems
    2 Posts 2 Posters 15 Views
    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.
    • M
      mashina
      last edited by

      Hello,

      We are seeing a persistent encryption/token issue in FOG 1.5.10.16. There is also a consistent timestamp anomaly, and while both occur together, I do not know if they are directly related.

      Problem 1:

      Every time the FOG Client authenticates (for example, after a reboot), a new token is generated, and shortly after that, the “Reset Encryption Data” button reappears automatically in the UI.
      I am not sure if this is expected behavior by design, but I have observed that some snapin tasks do not execute unless the encryption data is manually reset first.

      Problem 2:

      Separately, there is a consistent +30 minute offset between the database value hosts.hostSecTime and all real system clocks. The offset is always exactly +30 minutes ahead of:

      hosts.hostSecTime in MariaDB is always written exactly +30 minutes ahead of: FOG server time (date), MariaDB NOW(), Windows client time (Get-Date), token.dat LastWriteTime on the client.

      Example data from Host with ID 66:

      PS C:\Users\Administrator> Get-Item "C:\Program Files (x86)\FOG\token.dat" | Select LastWriteTime
      
      LastWriteTime
      -------------
      03/12/2025 9.45.58
      

      And

      MariaDB [fog]> SELECT hostSecTime FROM hosts WHERE hostID = 66;
      +---------------------+
      | hostSecTime         |
      +---------------------+
      | 2025-12-03 10:15:58 |
      +---------------------+
      1 row in set (0.000 sec)
      

      All systems (FOG server, storage node, Windows clients) are correctly NTP-synchronized.

      Questions

      Is it normal for “Reset Encryption Data” to reappear after every reboot?
      Is the +30 minute offset in hostSecTime expected or a known issue in 1.5.10?
      Could either of these independently explain intermittent snapin failures?

      Cheers!

      Tom ElliottT 1 Reply Last reply Reply Quote 0
      • Tom ElliottT
        Tom Elliott @mashina
        last edited by

        @mashina I’m not sure I understand what “problem” you’re actually seeing?

        The TOKEN was written at x time, the SECTOKEN expires 30 minutes later, this is expected.

        The REset Encryption token butten IS expected to show up so you can, well, reset the encryption token if needed.

        This token is generated on a cycle, but there are potential cases where they become desyncronized.

        Are you seeing a problem or just reporting something that was noticed?

        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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

        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
        • 1 / 1
        • First post
          Last post

        152

        Online

        12.4k

        Users

        17.5k

        Topics

        156.0k

        Posts
        Copyright © 2012-2025 FOG Project