Hello
Hopefully someone can help with this issue.
After adding a script to the snapins page any new host that is registered on the server fails to get the host module settings populated. All the options are unticked and if you attempt to manually tick the settings the page states that they are updated but refreshing the host none of them appear selected.
Restarting the server will allow the first host to get the correct settings but an subsequent hosts fail to get any settings.
I’ve check the global settings and they are all ticked.
We are also getting these errors in the logs but Im not sure if they are the cause of the issue in this case.
Dec 7 12:23:57 pma1vmluputil06 FOGSnapinReplicator[1539]: Finished transfer `DeploymentScript.ps1’ (1.5 KiB/s)
Dec 7 12:23:59 pma1vmluputil06 FOGSnapinReplicator[1539]: PHP Warning: fclose() expects parameter 1 to be resource, array given in /var/www/fog/lib/service/fogservice.class.php on line 995
Dec 7 12:23:59 pma1vmluputil06 FOGSnapinReplicator[1539]: PHP Warning: fclose(): supplied resource is not a valid stream resource in /var/www/fog/lib/service/fogservice.class.php on line 997
Dec 7 12:23:59 pma1vmluputil06 FOGSnapinReplicator[1539]: PHP Warning: fclose() expects parameter 1 to be resource, array given in /var/www/fog/lib/service/fogservice.class.php on line 995
Dec 7 12:23:59 pma1vmluputil06 FOGSnapinReplicator[1539]: PHP Warning: fclose(): supplied resource is not a valid stream resource in /var/www/fog/lib/service/fogservice.class.php on line 997
System details
FOG Version: : 1.5.7
OS: Ubuntu 18.04.6