Fog 0.33b Snappin deployment
- 
 [CODE]root@10Fogserver:/var/log/apache2# cat access.log |grep snapins.checkin.php 
 10.10.140.57 - - [30/Jan/2014:16:34:06 -0500] “GET /fog/service/snapins.checkin.php?mac=00:0F:FE:CE:98:02 HTTP/1.1” 200 279 “-” “-”
 192.168.10.123 - - [30/Jan/2014:16:37:27 -0500] “GET /fog/service/snapins.checkin.php?mac=00:25:64:BD:7D:1A HTTP/1.1” 200 279 “-” “-”
 192.168.10.112 - - [30/Jan/2014:16:38:08 -0500] “GET /fog/service/snapins.checkin.php?mac=1C:C1:DE:66:B7:F6 HTTP/1.1” 200 279 “-” “-”
 192.168.10.122 - - [30/Jan/2014:16:39:02 -0500] “GET /fog/service/snapins.checkin.php?mac=D4:85:64:04:37:99 HTTP/1.1” 200 279 “-” “-”
 10.10.140.57 - - [30/Jan/2014:16:39:13 -0500] “GET /fog/service/snapins.checkin.php?mac=00:0F:FE:CE:98:02 HTTP/1.1” 200 279 “-” “-”
 192.168.10.123 - - [30/Jan/2014:16:42:34 -0500] “GET /fog/service/snapins.checkin.php?mac=00:25:64:BD:7D:1A HTTP/1.1” 200 279 “-” “-”
 192.168.10.112 - - [30/Jan/2014:16:43:15 -0500] “GET /fog/service/snapins.checkin.php?mac=1C:C1:DE:66:B7:F6 HTTP/1.1” 200 279 “-” “-”
 192.168.10.122 - - [30/Jan/2014:16:44:09 -0500] “GET /fog/service/snapins.checkin.php?mac=D4:85:64:04:37:99 HTTP/1.1” 200 279 “-” “-”
 10.10.140.57 - - [30/Jan/2014:16:44:20 -0500] “GET /fog/service/snapins.checkin.php?mac=00:0F:FE:CE:98:02 HTTP/1.1” 200 279 “-” “-”
 192.168.10.123 - - [30/Jan/2014:16:47:41 -0500] “GET /fog/service/snapins.checkin.php?mac=00:25:64:BD:7D:1A HTTP/1.1” 200 279 “-” “-”
 192.168.10.112 - - [30/Jan/2014:16:48:22 -0500] “GET /fog/service/snapins.checkin.php?mac=1C:C1:DE:66:B7:F6 HTTP/1.1” 200 279 “-” “-”
 192.168.10.122 - - [30/Jan/2014:16:49:16 -0500] “GET /fog/service/snapins.checkin.php?mac=D4:85:64:04:37:99 HTTP/1.1” 200 279 “-” “-”
 10.10.140.57 - - [30/Jan/2014:16:49:27 -0500] “GET /fog/service/snapins.checkin.php?mac=00:0F:FE:CE:98:02 HTTP/1.1” 200 279 “-” “-”
 192.168.10.123 - - [30/Jan/2014:16:52:48 -0500] “GET /fog/service/snapins.checkin.php?mac=00:25:64:BD:7D:1A HTTP/1.1” 500 313 “-” “-”
 192.168.10.112 - - [30/Jan/2014:16:53:29 -0500] “GET /fog/service/snapins.checkin.php?mac=1C:C1:DE:66:B7:F6 HTTP/1.1” 200 279 “-” “-”
 192.168.10.122 - - [30/Jan/2014:16:54:23 -0500] “GET /fog/service/snapins.checkin.php?mac=D4:85:64:04:37:99 HTTP/1.1” 500 313 “-” “-”
 10.10.140.57 - - [30/Jan/2014:16:54:34 -0500] “GET /fog/service/snapins.checkin.php?mac=00:0F:FE:CE:98:02 HTTP/1.1” 200 279 “-” “-”
 192.168.10.123 - - [30/Jan/2014:16:57:55 -0500] “GET /fog/service/snapins.checkin.php?mac=00:25:64:BD:7D:1A HTTP/1.1” 500 313 “-” “-”
 192.168.10.112 - - [30/Jan/2014:16:58:36 -0500] “GET /fog/service/snapins.checkin.php?mac=1C:C1:DE:66:B7:F6 HTTP/1.1” 200 279 “-” “-”
 192.168.10.122 - - [30/Jan/2014:16:59:30 -0500] “GET /fog/service/snapins.checkin.php?mac=D4:85:64:04:37:99 HTTP/1.1” 500 313 “-” “-”
 10.10.140.57 - - [30/Jan/2014:16:59:41 -0500] “GET /fog/service/snapins.checkin.php?mac=00:0F:FE:CE:98:02 HTTP/1.1” 200 279 “-” “-”
 192.168.10.123 - - [30/Jan/2014:17:03:02 -0500] “GET /fog/service/snapins.checkin.php?mac=00:25:64:BD:7D:1A HTTP/1.1” 500 313 “-” “-”
 root@10Fogserver:/var/log/apache2#[/CODE]192.168.10.123 - - [30/Jan/2014:17:03:02 -0500] “GET /fog/service/snapins.checkin.php?mac=00:25:64:BD:7D:1A HTTP/1.1” 500 313 “-” “-” 
 this is my host.
- 
 What’s the error logs say? 
- 
 [PHP][Thu Jan 30 16:52:48 2014] [error] [client 192.168.10.123] PHP Fatal error: Call to a member function get() on a non-object in /var/www/fog/service/snapins.checkin.php on line 15 
 [Thu Jan 30 16:54:23 2014] [error] [client 192.168.10.122] PHP Fatal error: Call to a member function get() on a non-object in /var/www/fog/service/snapins.checkin.php on line 15
 [Thu Jan 30 16:57:55 2014] [error] [client 192.168.10.123] PHP Fatal error: Call to a member function get() on a non-object in /var/www/fog/service/snapins.checkin.php on line 15
 [Thu Jan 30 16:59:30 2014] [error] [client 192.168.10.122] PHP Fatal error: Call to a member function get() on a non-object in /var/www/fog/service/snapins.checkin.php on line 15
 [Thu Jan 30 17:03:02 2014] [error] [client 192.168.10.123] PHP Fatal error: Call to a member function get() on a non-object in /var/www/fog/service/snapins.checkin.php on line 15
 [Thu Jan 30 17:04:38 2014] [error] [client 192.168.10.122] PHP Fatal error: Call to a member function get() on a non-object in /var/www/fog/service/snapins.checkin.php on line 15
 [Thu Jan 30 17:08:09 2014] [error] [client 192.168.10.123] PHP Fatal error: Call to a member function get() on a non-object in /var/www/fog/service/snapins.checkin.php on line 15
 [Thu Jan 30 17:09:45 2014] [error] [client 192.168.10.122] PHP Fatal error: Call to a member function get() on a non-object in /var/www/fog/service/snapins.checkin.php on line 15
 [Thu Jan 30 17:13:16 2014] [error] [client 192.168.10.123] PHP Fatal error: Call to a member function get() on a non-object in /var/www/fog/service/snapins.checkin.php on line 15
 [Thu Jan 30 17:14:52 2014] [error] [client 192.168.10.122] PHP Fatal error: Call to a member function get() on a non-object in /var/www/fog/service/snapins.checkin.php on line 15
 [Thu Jan 30 17:18:23 2014] [error] [client 192.168.10.123] PHP Fatal error: Call to a member function get() on a non-object in /var/www/fog/service/snapins.checkin.php on line 15
 [/PHP]
- 
 It’s as I suspected. I had the checks for the task happening. Because the way your snapins are being deployed, the Task Variable wasn’t setup. So the “get() on a non-object” is absolutely true. Already have a fix, and sending down the pipelines. 
- 
 [quote=“Tom Elliott, post: 22280, member: 7271”]It’s as I suspected. I had the checks for the task happening. Because the way your snapins are being deployed, the Task Variable wasn’t setup. So the “get() on a non-object” is absolutely true. Already have a fix, and sending down the pipelines.[/quote] 
 nice!I cant believe I haven’t obtained the status of Beta Tester yet!  I saw one for posting over 30 messages lol I saw one for posting over 30 messages lol
- 
 r1167 released, hopefully addresses this issue now! 
- 
 I don’t know that these forums have status’ like that. I obtained Developer because I was requested to be one. Otherwise, with over 500 messages, I was still “Member” 
- 
 I was just kidding… 
- 
 I can request if we have a “Beta Tester” Status field! 
- 
 Woot! 
- 
 I agree with you though. It would be nice to have different people with different titles. This way we know who we can go to for help/testing/developing/forum issues, etc… 
- 
 BTW I love the Joe “Dee err Tay” pic. 
- 
 er i mean DANG! 
 <---------
- 
 Any luck maybe? 
- 
 Fog.log 
 [PHP]1/30/2014 5:40 PM FOG::ClientUpdater Checking Status : config.ini
 1/30/2014 5:40 PM FOG::ClientUpdater Zero byte response returned
 1/30/2014 5:40 PM FOG::ClientUpdater The remote server returned an error: (500) Internal Server Error.
 1/30/2014 5:40 PM FOG::ClientUpdater at System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request)
 at System.Net.WebClient.DownloadString(Uri address)
 at System.Net.WebClient.DownloadString(String address)
 at FOG.SnapinClient.getAllPublishedModules()
 at FOG.SnapinClient.startUpdate()
 1/30/2014 5:40 PM FOG::ClientUpdater Client update will be applied during next service startup.
 1/30/2014 5:40 PM FOG::ClientUpdater Client update process complete, exiting…[/PHP]
- 
 Error Log 
 [PHP][Thu Jan 30 17:40:32 2014] [error] [client 192.168.10.123] PHP Fatal error: Call to a member function find() on a non-object in /var/www/fog/service/updates.php on line 27
 [/PHP]
- 
 Updating as we speak. I’m sorry I’m such an idiot! 
- 
 posted! 
- 
 r1168 
- 
 fog.log 
 [PHP]1/30/2014 5:54 PM FOG::ClientUpdater The remote server returned an error: (500) Internal Server Error.
 1/30/2014 5:54 PM FOG::ClientUpdater at System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request)
 at System.Net.WebClient.DownloadString(Uri address)
 at System.Net.WebClient.DownloadString(String address)
 at FOG.SnapinClient.getAllPublishedModules()
 at FOG.SnapinClient.startUpdate()[/PHP]

