Posts
-
[Fog 1.6] checkin failure?posted in FOG Problems
I get this error when tasking a mchine to image.
=== ========== ===== ==== ================================== ===== Free Opensource Ghost ====== ================================== ============ Credits ============= = https://fogproject.org/Credits = ================================== == Released under GPL Version 3 == ================================== Version: 1.5.7.820 Init Version: 20191216 * Verifying network interface configuration.........Done * Checking Operating System.........................Windows 10 * Checking CPU Cores................................2 * Send method.......................................NFS * Attempting to check in............................Failed * DateTime::__construct(): Failed to parse time string (No Data) at position 0 (N): The timezone could not be found in the database (In line for ) * Attempting to check in............................Failed * DateTime::__construct(): Failed to parse time string (No Data) at position 0 (N): The timezone could not be found in the database (In line for 5) * Attempting to check in............................Failed * DateTime::__construct(): Failed to parse time string (No Data) at position 0 (N): The timezone could not be found in the database (In line for 10) -
RE: FOG 1.6 Client autoupdate issueposted in FOG Problems
@Sebastian-Roth I am positive we do not deploy the fog client with group policy.
Even with group policy, it wouldn’t install over the existing without removing the old unless the installer permits it. -
RE: FOG 1.6 Client autoupdate issueposted in FOG Problems
@Sebastian-Roth I think this was caused by me. I was having issues with fog on the working 1.6 so I rolled back to an older snaphot of the VM. I then went back to Working 1.6 after 2 days. I still don’t see how the fog installer would allow a downgrade install?
-
RE: FOG 1.6 Client autoupdate issueposted in FOG Problems
@Sebastian-Roth
The strange thing is looking at the install dates, Version 11.17 was installed on the 12-13 and an older version installed on 12-16?Strange.

-
RE: FOG 1.6 Client autoupdate issueposted in FOG Problems
Yes, I have started the long process of re-installing on all of the affected workstations.
I am sure I can find another PC that has the same issue and post more of the log file. -
FOG 1.6 Client autoupdate issueposted in FOG Problems
Clients started to update and throw errors

fog.log
PS P:\> get-content -wait \\PC3151\c$\fog.log 12/16/2019 11:30 PM Log Unhandled exception caught 12/16/2019 11:30 PM Log Terminating: True 12/16/2019 11:30 PM Log Hash code: System.IO.FileLoadException: Could not load file or assembly 'Newtonsoft.Json, Version=10.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) File name: 'Newtonsoft.Json, Version=10.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' at FOG.FOGSystemService.Load() at Zazzles.AbstractService.BootStrapModules() at System.Threading.ThreadHelper.ThreadStart_Context(Object state) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.ThreadHelper.ThreadStart() WRN: Assembly binding logging is turned OFF. To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.Note: There is some performance penalty associated with assembly bind failure logging. To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog]. 12/16/2019 11:31 PM Main Overriding exception handling 12/16/2019 11:31 PM Main Bootstrapping Zazzles 12/16/2019 11:31 PM Controller Initialize 12/16/2019 11:31 PM Controller Start 12/16/2019 11:31 PM Service Starting service 12/16/2019 11:31 PM Log Unhandled exception caught 12/16/2019 11:31 PM Log Terminating: True 12/16/2019 11:31 PM Log Hash code: System.IO.FileLoadException: Could not load file or assembly 'Newtonsoft.Json, Version=10.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) File name: 'Newtonsoft.Json, Version=10.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' at FOG.FOGSystemService.Load() at Zazzles.AbstractService.BootStrapModules() at System.Threading.ThreadHelper.ThreadStart_Context(Object state) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.ThreadHelper.ThreadStart() WRN: Assembly binding logging is turned OFF. To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.Note: There is some performance penalty associated with assembly bind failure logging. To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog]. -
RE: Duplicate snapin task entries - working 1.6posted in FOG Problems
would you prefer i post bugs for working 1.6 elsewhere or are the forums fine?
-
RE: FOG User Tracking -Searchposted in FOG Problems
@Tom-Elliott said in FOG User Tracking -Search:
1.6
I have ## Version: 1.5.7.56 installed…
what repo is 1.6 in? -
RE: FOG User Tracking -Searchposted in FOG Problems
@Daniel-Miller said in FOG User Tracking -Search:
@Greg-Plamondon said in FOG User Tracking -Search:
I checked the userTracking table in the fog database and it has 22104 records
You can keep pushing execution time out, but it is quite possible that you may have too many entries for php to handle the data in a reasonable time frame, especially if this instance has been running for a while. If you don’t need the historical data, truncating the userTracking table (
truncate table fog.usertracking) as suggested in https://forums.fogproject.org/topic/11713/503-service-unavailable-error/54 should get it up and running and will show data going forward until it gets too ungainly again.I was able to truncate the table and then run a report. I wish i was able to store more records.
-
RE: FOG User Tracking -Searchposted in FOG Problems
@Daniel-Miller said in FOG User Tracking -Search:
Good, the values are changing.
It may take upwards of a minute or two depending on how many entries are getting pulled.
I checked the userTracking table in the fog database and it has 22104 records
By the way, this hasn’t worked for us for quite some time, I just never got around to reporting it.
but now I have been getting a lot of requests for reports and it was nice to be able to quickly generate what time a user logged into the pc. -
RE: FOG User Tracking -Searchposted in FOG Problems
@Daniel-Miller said in FOG User Tracking -Search:
Good, the values are changing.
there is also an execution time limit that should be set in one of the ini / conf files as well. I believe the setting is
max_execution_timewhich I think takes a value in seconds and defaults to 30. you may want to play with that value to see if you can get a response in a reasonable time. It may take upwards of a minute or two depending on how many entries are getting pulled.So far I have changed the /etc/php.ini max_execution_time = 300 with no luck.
[Fri Dec 06 14:20:04.488209 2019] [proxy_fcgi:error] [pid 2045] (70007)The timeout specified has expired: [client 192.168.10.170:63425] AH01075: Error dispatching request to :, referer: http://10fogserver.mtstrans.com/fog/management/index.php?node=report&sub=file&f=dXNlciB0cmFja2luZw==``` -
RE: FOG User Tracking -Searchposted in FOG Problems
the VM has 16G of RAM,
I changed /etc/php-fpm.d/www.conf:php_admin_value[memory_limit] = 8192
to see if that would help, but now i get this and nothing in the /var/log/php-fpm/www-error.log
the /var/www/httpd/error_log:
[Fri Dec 06 12:14:10.523177 2019] [proxy_fcgi:error] [pid 5254] (70007)The timeout specified has expired: [client 192.168.10.170:55422] AH01075: Error dispatching request to :, referer: http://10fogserver.mtstrans.com/fog/management/index.php?node=report&sub=file&f=dXNlciB0cmFja2luZw==``` -
RE: FOG User Tracking -Searchposted in FOG Problems
@Daniel-Miller said in FOG User Tracking -Search:
@Greg-Plamondon did you restart the fpm service? Command to do so will be similar to
sudo systemctl restart php7.1-fpm.service.yes: systemctl restart php-fpm
-
RE: FOG User Tracking -Searchposted in FOG Problems
@Daniel-Miller said in FOG User Tracking -Search:
grep -r memory_limit /etc/*
grep -r memory_limit /etc/* /etc/php-fpm.d/www.conf:php_admin_value[memory_limit] = 256M /etc/php.ini:memory_limit = 1024changed: /etc/php-fpm.d/www.conf:php_admin_value[memory_limit] = 1024M
and restarted FPM service.
now get this message in the log.[06-Dec-2019 17:02:32 UTC] PHP Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 12288 bytes) in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 260Thanks.
-
RE: FOG User Tracking -Searchposted in FOG Problems
@Tom-Elliott said in FOG User Tracking -Search:
256
in the GUI it was set to 128, I changed it to 1024 and I still get the HTTP error 500 and same log message.
I even restarted httpd. -
RE: FOG User Tracking -Searchposted in FOG Problems
@Tom-Elliott I changed it to 512, but my php.ini is set to 1024.
