@iljared98 this is what we do too.
Posts made by sideone
-
RE: Problem with FOG Service …
@Laurent we’re on FOG 1.6, but I think its the same as 1.5.10. FOG doesn’t let you see the AD password once input, but I’d echo @JJ-Fullmer’s point of using a specific account
-
RE: Problem with FOG Service …
Do you get any error message in the FOG.log file in the root of C on a client?
-
RE: Snapins not deploying: Illegal characters in path.
@Tom-Elliott latest pull working correctly again. Thanks for sorting!
-
RE: Snapins not deploying: Illegal characters in path.
@Tom-Elliott updated to 2138 but now snapins not working. No http or https in the Communication download string. This is on the master FOG server, I haven’t updated the storage nodes yet.
------------------------------------------------------------------------------ ---------------------------------SnapinClient--------------------------------- ------------------------------------------------------------------------------ 18/10/2024 11:10:05 Client-Info Client Version: 0.13.0 18/10/2024 11:10:05 Client-Info Client OS: Windows 18/10/2024 11:10:05 Client-Info Server Version: 1.6.0-beta.2138 18/10/2024 11:10:05 Middleware::Response Success 18/10/2024 11:10:05 SnapinClient Running snapin IPEvo-Visualiser 18/10/2024 11:10:05 Middleware::Communication Download: ://10.16.46.84//fog/service/snapins.file.php?mac=0C:9D:92:C9:DE:33|0C:9D:92:C9:DE:32&taskid=1711 18/10/2024 11:10:05 Middleware::Communication ERROR: Could not download file 18/10/2024 11:10:05 Middleware::Communication ERROR: Illegal characters in path. 18/10/2024 11:10:05 SnapinClient C:\Program Files (x86)\FOG\tmp\Visualizer_win7-11_v3.6.0.1.msi 18/10/2024 11:10:05 Middleware::Communication URL: http://10.16.46.84/fog/service/snapins.checkin.php?taskid=1711&exitcode=-1&mac=0C:9D:92:C9:DE:33|0C:9D:92:C9:DE:32&newService&json ------------------------------------------------------------------------------
Restoring the
/var/www/html/fog/lib/client/snapinclient.class.php
file from beta 2132 starts working again -
RE: Snapins not deploying: Illegal characters in path.
@Tom-Elliott said in Snapins not deploying: Illegal characters in path.:
You use location plugin, correct?
Yes, that’s right.
I’ve pushed another fix that I think might help here and it takes a slightly different approach albeit similar.
Awesome, thanks. I’ll give it a try today
-
RE: Snapins not deploying: Illegal characters in path.
@JJ-Fullmer You were correct about the download link not being formed properly. I went looking in the code and found a change in the /var/www/html/fog/lib/client/snapinclient.class.php file from a working version of FOG (1.6 beta 2132) to the latest version.
Copying over the old version of this file and snapins are installing correctly now.
@Tom-Elliott this should probably be moved to the Bug Reports forum if that’s possible? The difference in the files is the latest version is missing the below code around line 185
$location = sprintf( '%s://%s/%s', self::$httpproto, $StorageNode->get('ip'), $StorageNode->get('webroot') );
and there are a few changes elsewhere too.
Thanks all!
-
RE: Snapins not deploying: Illegal characters in path.
@JJ-Fullmer yes, that could be it. I’ve found a FOG.log from a few weeks ago that has http:// in the download link:
------------------------------------------------------------------------------ ---------------------------------SnapinClient--------------------------------- ------------------------------------------------------------------------------ 03/10/2024 11:22:15 Client-Info Client Version: 0.13.0 03/10/2024 11:22:15 Client-Info Client OS: Windows 03/10/2024 11:22:15 Client-Info Server Version: 1.6.0-beta.2132 03/10/2024 11:22:15 Middleware::Response Success 03/10/2024 11:22:15 SnapinClient Running snapin LetterJoin Fonts - Little Mead 03/10/2024 11:22:15 Middleware::Communication Download: http://10.xx.yy.zz//fog/service/snapins.file.php?mac=B4:B6:86:DF:3A:9B|92:32:4B:5B:31:DD|D2:32:4B:5B:31:DD|90:32:4B:5B:31:DE||90:32:4B:5B:31:DD&taskid=1618 03/10/2024 11:22:38 SnapinClient C:\Program Files (x86)\FOG\tmp\f1k1w2x2z2.msi 03/10/2024 11:22:38 Bus Emmiting message on channel: Notification 03/10/2024 11:22:38 SnapinClient Starting snapin 03/10/2024 11:22:40 SnapinClient Snapin finished 03/10/2024 11:22:40 SnapinClient Return Code: 0 03/10/2024 11:22:40 Bus Emmiting message on channel: Notification 03/10/2024 11:22:40 Middleware::Communication URL: http://10.xx.yy.zz/fog/service/snapins.checkin.php?taskid=1618&exitcode=0&mac=B4:B6:86:DF:3A:9B|92:32:4B:5B:31:DD|D2:32:4B:5B:31:DD|90:32:4B:5B:31:DE||90:32:4B:5B:31:DD&newService&json ------------------------------------------------------------------------------
-
RE: Snapins not deploying: Illegal characters in path.
@JJ-Fullmer its happening on all snapins, but it tries the first one and then stops.
FOG.log for the snapin today:
------------------------------------------------------------------------------ ---------------------------------SnapinClient--------------------------------- ------------------------------------------------------------------------------ 17/10/2024 08:41:58 Client-Info Client Version: 0.13.0 17/10/2024 08:41:58 Client-Info Client OS: Windows 17/10/2024 08:41:58 Client-Info Server Version: 1.6.0-beta.2135 17/10/2024 08:41:58 Middleware::Response Success 17/10/2024 08:41:58 SnapinClient Running snapin IPEvo-Visualiser 17/10/2024 08:41:58 Middleware::Communication Download: ://10.xx.xx.xx//fog/service/snapins.file.php?mac=0C:9D:92:C9:DE:33|0C:9D:92:C9:DE:32&taskid=1700 17/10/2024 08:41:58 Middleware::Communication ERROR: Could not download file 17/10/2024 08:41:58 Middleware::Communication ERROR: Illegal characters in path. 17/10/2024 08:41:58 SnapinClient C:\Program Files (x86)\FOG\tmp\Visualizer_win7-11_v3.6.0.1.msi 17/10/2024 08:41:59 Middleware::Communication URL: http://10.xx.xx.xx/fog/service/snapins.checkin.php?taskid=1700&exitcode=-1&mac=0C:9D:92:C9:DE:33|0C:9D:92:C9:DE:32&newService&json ------------------------------------------------------------------------------
The only things in the www-error.log:
[17-Oct-2024 07:41:24 UTC] PHP Warning: Undefined array key "menuAccess" in /var/www/html/fog/lib/fog/bootmenu.class.php on line 335 [17-Oct-2024 07:41:24 UTC] PHP Warning: Undefined array key "menuAccess" in /var/www/html/fog/lib/fog/bootmenu.class.php on line 340 [17-Oct-2024 07:41:24 UTC] PHP Warning: Undefined array key "menuAccess" in /var/www/html/fog/lib/fog/bootmenu.class.php on line 398 [17-Oct-2024 07:42:05 UTC] PHP Warning: Undefined array key "menuAccess" in /var/www/html/fog/lib/fog/bootmenu.class.php on line 335
-
RE: FOG 1.6.0-beta.2134 - Host won't add automatically
@Tom-Elliott the device is showing in pending devices now, thank you!
-
RE: FOG 1.6.0-beta.2134 - Host won't add automatically
@Tom-Elliott Am I looking in /var/log/php-fpm?
If so, in error.log:
[13-Oct-2024 03:34:06] NOTICE: error log file re-opened [16-Oct-2024 08:07:18] NOTICE: Terminating ... [16-Oct-2024 08:07:18] NOTICE: exiting, bye-bye! [16-Oct-2024 08:07:38] NOTICE: fpm is running, pid 3879423 [16-Oct-2024 08:07:38] NOTICE: ready to handle connections [16-Oct-2024 08:07:38] NOTICE: systemd monitor interval set to 10000ms
in www-error.log around the time:
[16-Oct-2024 09:42:37 UTC] PHP Warning: Undefined array key "menuAccess" in /var/www/html/fog/lib/fog/bootmenu.class.php on line 335 [16-Oct-2024 09:42:37 UTC] PHP Warning: Undefined array key "menuAccess" in /var/www/html/fog/lib/fog/bootmenu.class.php on line 340 [16-Oct-2024 09:42:37 UTC] PHP Warning: Undefined array key "menuAccess" in /var/www/html/fog/lib/fog/bootmenu.class.php on line 398 [16-Oct-2024 09:42:42 UTC] PHP Warning: Undefined array key "menuAccess" in /var/www/html/fog/lib/fog/bootmenu.class.php on line 335 [16-Oct-2024 09:42:42 UTC] PHP Warning: Undefined array key "menuAccess" in /var/www/html/fog/lib/fog/bootmenu.class.php on line 340 [16-Oct-2024 09:42:42 UTC] PHP Warning: Undefined array key "menuAccess" in /var/www/html/fog/lib/fog/bootmenu.class.php on line 398 [16-Oct-2024 09:44:07 UTC] PHP Warning: Undefined property: stdClass::$clientload in /var/www/html/fog/lib/fog/storagegroup.class.php on line 319 [16-Oct-2024 09:44:07 UTC] PHP Warning: Undefined property: stdClass::$clientload in /var/www/html/fog/lib/fog/storagegroup.class.php on line 319 [16-Oct-2024 09:44:21 UTC] PHP Warning: Undefined property: stdClass::$clientload in /var/www/html/fog/lib/fog/storagegroup.class.php on line 319 [16-Oct-2024 09:44:21 UTC] PHP Warning: Undefined property: stdClass::$clientload in /var/www/html/fog/lib/fog/storagegroup.class.php on line 319 [16-Oct-2024 09:44:30 UTC] PHP Warning: Undefined property: stdClass::$clientload in /var/www/html/fog/lib/fog/storagegroup.class.php on line 319 [16-Oct-2024 09:44:30 UTC] PHP Warning: Undefined property: stdClass::$clientload in /var/www/html/fog/lib/fog/storagegroup.class.php on line 319 [16-Oct-2024 09:44:38 UTC] PHP Warning: Undefined property: stdClass::$clientload in /var/www/html/fog/lib/fog/storagegroup.class.php on line 319 [16-Oct-2024 09:44:38 UTC] PHP Warning: Undefined property: stdClass::$clientload in /var/www/html/fog/lib/fog/storagegroup.class.php on line 319 [16-Oct-2024 09:44:40 UTC] PHP Warning: Undefined property: stdClass::$clientload in /var/www/html/fog/lib/fog/storagegroup.class.php on line 319 [16-Oct-2024 09:44:40 UTC] PHP Warning: Undefined property: stdClass::$clientload in /var/www/html/fog/lib/fog/storagegroup.class.php on line 319 [16-Oct-2024 09:44:41 UTC] PHP Warning: Undefined property: stdClass::$clientload in /var/www/html/fog/lib/fog/storagegroup.class.php on line 319 [16-Oct-2024 09:44:41 UTC] PHP Warning: Undefined property: stdClass::$clientload in /var/www/html/fog/lib/fog/storagegroup.class.php on line 319 [16-Oct-2024 09:44:50 UTC] PHP Warning: Undefined property: stdClass::$clientload in /var/www/html/fog/lib/fog/storagegroup.class.php on line 319 [16-Oct-2024 09:44:50 UTC] PHP Warning: Undefined property: stdClass::$clientload in /var/www/html/fog/lib/fog/storagegroup.class.php on line 319 [16-Oct-2024 09:45:23 UTC] PHP Warning: Undefined array key "menuAccess" in /var/www/html/fog/lib/fog/bootmenu.class.php on line 335
Is there anything after the registration attempt?
Nothing in the FOG.log on the client, just repeated attempts to register every 2 minutes.
Thanks -
RE: FOG 1.6.0-beta.2134 - Host won't add automatically
@Tom-Elliott there’s nothing showing in Pending Hosts at all.
None of these MACs are showing in Pending MACs either.
E8:D8:D1:53:BE:12|98:AF:65:9C:AE:6A|9A:AF:65:9C:AE:69|98:AF:65:9C:AE:69|98:AF:65:9C:AE:6D
It has been working up until quite recently, but I can’t say exactly when Pending Hosts stopped receiving devices.
Thanks
-
RE: FOG 1.6.0-beta.2134 - Host won't add automatically
EDIT to add: navigating to http://10.xx.xx.xx/fog/service/register.php on the main server IP returns:
#!im
-
FOG 1.6.0-beta.2134 - Host won't add automatically
Installed the FOG client and its started but its not adding the host to “Pending Hosts” on FOG dashboard. We sometimes manually add the FOG client on devices that have no ethernet port to push out snapins etc in line with our networked devices.
Error in client is below:
------------------------------------------------------------------------------ --------------------------------Authentication-------------------------------- ------------------------------------------------------------------------------ 16/10/2024 10:38:42 Client-Info Version: 0.13.0 16/10/2024 10:38:42 Client-Info OS: Windows 16/10/2024 10:38:42 Middleware::Authentication Waiting for authentication timeout to pass 16/10/2024 10:40:40 Middleware::Communication Download: http://10.xx.xx.xx/fog/management/other/ssl/srvpublic.crt 16/10/2024 10:40:40 Middleware::Authentication Cert OK 16/10/2024 10:40:40 Middleware::Authentication No token found at C:\Program Files (x86)\FOG\token.dat, this is expected if the client has not authenticated before 16/10/2024 10:40:40 Middleware::Authentication ERROR: Could not get security token 16/10/2024 10:40:40 Middleware::Authentication ERROR: Could not find file 'C:\Program Files (x86)\FOG\token.dat'. 16/10/2024 10:40:40 Middleware::Communication POST URL: http://10.xx.xx.xx/fog/management/index.php?sub=requestClientInfo&authorize&newService 16/10/2024 10:40:41 Middleware::Response Invalid host 16/10/2024 10:40:41 Middleware::Communication URL: http://10.xx.xx.xx/fog/service/register.php?hostname=XXX-LAP-28&mac=E8:D8:D1:53:BE:12|98:AF:65:9C:AE:6A|9A:AF:65:9C:AE:69|98:AF:65:9C:AE:69|98:AF:65:9C:AE:6D&newService&json
Many thanks!
-
Snapins not deploying: Illegal characters in path.
We’re on FOG 1.6.0-beta.2134 with multiple storage nodes. Snapins are no longer being deployed correctly.
Error happens on master and storage nodes, snapin has replicated to all nodes successfully.
Error from client is:
SnapinClient--------------------------------- ------------------------------------------------------------------------------ 16/10/2024 08:17:55 Client-Info Client Version: 0.13.0 16/10/2024 08:17:55 Client-Info Client OS: Windows 16/10/2024 08:17:55 Client-Info Server Version: 1.6.0-beta.2134 16/10/2024 08:17:55 Middleware::Response Success 16/10/2024 08:17:55 SnapinClient Running snapin LetterJoinFonts - BLC 16/10/2024 08:17:55 Middleware::Communication Download: ://10.xx.xxx.xx//fog/service/snapins.file.php?mac=0C:9D:92:C9:DE:33|0C:9D:92:C9:DE:32&taskid=1698 16/10/2024 08:17:55 Middleware::Communication ERROR: Could not download file 16/10/2024 08:17:55 Middleware::Communication ERROR: Illegal characters in path. 16/10/2024 08:17:55 SnapinClient C:\Program Files (x86)\FOG\tmp\LetterJoinBLC.msi 16/10/2024 08:17:55 Middleware::Communication URL: http://10.YY.yyy.yyy/fog/service/snapins.checkin.php?taskid=1698&exitcode=-1&mac=0C:9D:92:C9:DE:33|0C:9D:92:C9:DE:32&newService&json
Not sure if its relevant, but the task ID listed above is different to the task ID shown in the History Report.
-
FOG 1.6-working - CPU in Inventory Report
We’re working on our asset registers. FOG has all the data for CPU, memory etc in the host’s Inventory tab, but when I come to run an Inventory report the only columns it will let me have are Memory (as well as serial and hostname). Could it display and export CPU version and speed, System Manufacturer and Hard Drive model too?
Many thanks
-
RE: FOG 1.6-working - retaining history order
@Tom-Elliott Looks like its working now, thank you!
-
RE: 1.6.0-alpha - Unable to change host location
@Tom-Elliott updated and working - thanks for fixing!