All services are globally disabled
-
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 disabledI 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.
-
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/FOGImageReplicatorFeb 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/FOGSnapinReplicatorFeb 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 -
I was able to fix the:
PHP Warning: DateTime::modify(): Failed to parse time string (+ second) at position 0 (+): Unexpected character in FOGImageSizeReplace:
$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' )