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

    All services are globally disabled

    Scheduled Pinned Locked Moved Unsolved FOG Problems
    3 Posts 1 Posters 10 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.
    • Greg PlamondonG
      Greg Plamondon Testers
      last edited by

      stable version 1.5.10.1754

      I am spinning up a new fogserver on a new host and I am seeing all services are globally disabled in the logs.

      [02-11-26 6:42:34 pm] * Starting ImageSize Service
      [02-11-26 6:42:34 pm] * Checking for new items every 3600 seconds
      [02-11-26 6:42:34 pm] * Starting service loop
      [02-11-26 6:42:34 pm] * * Image size is globally disabled

      [02-11-26 6:42:34 pm] * Starting SnapinReplicator Service
      [02-11-26 6:42:34 pm] * Checking for new items every 600 seconds
      [02-11-26 6:42:34 pm] * Starting service loop
      [02-11-26 6:42:34 pm] * * Snapin replication is globally disabled

      [02-11-26 6:42:34 pm] * Starting ImageReplicator Service
      [02-11-26 6:42:34 pm] * Checking for new items every 600 seconds
      [02-11-26 6:42:34 pm] * Starting service loop
      [02-11-26 6:42:34 pm] * * Image replication is globally disabled

      I have toggled the service off and on in fog settings but it still does not work.
      Any suggestions or troubleshooting steps would be greatly appreciated.

      Thanks.

      1 Reply Last reply Reply Quote 0
      • Greg PlamondonG
        Greg Plamondon Testers
        last edited by Greg Plamondon

        I found this also:

        ● FOGImageReplicator.service - FOGImageReplicator
        Loaded: loaded (/usr/lib/systemd/system/FOGImageReplicator.service; enabled; preset: disabled)
        Active: active (running) since Wed 2026-02-11 13:41:33 EST; 51min ago
        Main PID: 22945 (php)
        Tasks: 2 (limit: 100404)
        Memory: 15.8M (peak: 18.9M)
        CPU: 1.704s
        CGroup: /system.slice/FOGImageReplicator.service
        ├─22945 php /opt/fog/service/FOGImageReplicator/FOGImageReplicator
        └─22962 php /opt/fog/service/FOGImageReplicator/FOGImageReplicator

        Feb 11 13:41:33 10fogserver systemd[1]: Started FOGImageReplicator.
        Feb 11 13:42:34 10fogserver env[22962]: PHP Warning: DateTime::modify(): Failed to parse time string (+ second) at position 0 (+): Unexpected character in /opt/fog/service/FOGImageReplicator/FOGImageReplicator on line 44
        Feb 11 13:42:34 10fogserver env[22962]: PHP Warning: DateTime::modify(): Failed to parse time string (+ second) at position 0 (+): Unexpected character in /opt/fog/service/FOGImageReplicator/FOGImageReplicator on line 58

        ● FOGSnapinReplicator.service - FOGSnapinReplicator
        Loaded: loaded (/usr/lib/systemd/system/FOGSnapinReplicator.service; enabled; preset: disabled)
        Active: active (running) since Wed 2026-02-11 13:41:33 EST; 52min ago
        Main PID: 22964 (php)
        Tasks: 2 (limit: 100404)
        Memory: 15.8M (peak: 18.9M)
        CPU: 1.794s
        CGroup: /system.slice/FOGSnapinReplicator.service
        ├─22964 php /opt/fog/service/FOGSnapinReplicator/FOGSnapinReplicator
        └─23075 php /opt/fog/service/FOGSnapinReplicator/FOGSnapinReplicator

        Feb 11 13:41:33 10fogserver systemd[1]: Started FOGSnapinReplicator.
        Feb 11 13:42:34 10fogserver env[23075]: PHP Warning: DateTime::modify(): Failed to parse time string (+ second) at position 0 (+): Unexpected character in /opt/fog/service/FOGSnapinReplicator/FOGSnapinReplicator on line 44
        Feb 11 13:42:34 10fogserver env[23075]: PHP Warning: DateTime::modify(): Failed to parse time string (+ second) at position 0 (+): Unexpected character in /opt/fog/service/FOGSnapinReplicator/FOGSnapinReplicator on line 58

        Greg PlamondonG 1 Reply Last reply Reply Quote 0
        • Greg PlamondonG
          Greg Plamondon Testers @Greg Plamondon
          last edited by

          I was able to fix the:

          PHP Warning: DateTime::modify(): Failed to parse time string (+ second) at position 0 (+): Unexpected character in FOGImageSize
          

          Replace:

          $ServiceClass::$zzz != 1 ? '' : 's'
          

          with

          $ServiceClass::$zzz == 1 ? '' : 's'
          

          The same for FOGImageReplicator,FOGImageSize.

          FOGPingHosts:

          Replace:

          $ServiceClass::$zzz != 1 ? '' : 's'
          

          with:

          sprintf(
              '+%s second%s',
              $ServiceClass::$zzz,
              $ServiceClass::$zzz != 1 ? '' : 's'
          )
          
          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post

          126

          Online

          12.5k

          Users

          17.5k

          Topics

          156.2k

          Posts
          Copyright © 2012-2026 FOG Project