• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    "Unable to get subsection" error with RC-4

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    7
    34
    7.6k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • JoeGJ
      JoeG
      last edited by JoeG

      After upgrading to FOG 1.3.0-RC-4 I am seeing the following errors on imaged computers. I have tried resetting encryption data for the hosts but no change. Apache2 logs are filled with the error message below.

      Suggestions, support appreciated. Thanks,

      Joe

      [Wed Jul 27 13:20:41.872165 2016] [:error] [pid 2676] [client 192.168.35.155:57561] PHP Warning:  array_count_values(): Can only count STRING and INTEGER values! in /var/www/html/fog/lib/fog/fogmanagercontroller.class.php on line 111, referer: http://ny2fogserver/fog/management/index.php?node=group&sub=list
      
      ------------------------------------------------------------------------------
      ---------------------------------ClientUpdater--------------------------------
      ------------------------------------------------------------------------------
       7/27/2016 11:54 AM Client-Info Client Version: 0.11.4
       7/27/2016 11:54 AM Client-Info Client OS:      Windows
       7/27/2016 11:54 AM Client-Info Server Version: 1.3.0-RC-4
       7/27/2016 11:54 AM Middleware::Response ERROR: Unable to get subsection
       7/27/2016 11:54 AM Middleware::Response ERROR: Object reference not set to an instance of an object.
      
      ------------------------------------------------------------------------------
      ----------------------------------TaskReboot----------------------------------
      ------------------------------------------------------------------------------
       7/27/2016 11:54 AM Client-Info Client Version: 0.11.4
       7/27/2016 11:54 AM Client-Info Client OS:      Windows
       7/27/2016 11:54 AM Client-Info Server Version: 1.3.0-RC-4
       7/27/2016 11:54 AM Middleware::Response ERROR: Unable to get subsection
       7/27/2016 11:54 AM Middleware::Response ERROR: Object reference not set to an instance of an object.
      
      ------------------------------------------------------------------------------
      --------------------------------HostnameChanger-------------------------------
      ------------------------------------------------------------------------------
       7/27/2016 11:54 AM Client-Info Client Version: 0.11.4
       7/27/2016 11:54 AM Client-Info Client OS:      Windows
       7/27/2016 11:54 AM Client-Info Server Version: 1.3.0-RC-4
       7/27/2016 11:54 AM Middleware::Response ERROR: Unable to get subsection
       7/27/2016 11:54 AM Middleware::Response ERROR: Object reference not set to an instance of an object.
      
      ------------------------------------------------------------------------------
      ---------------------------------SnapinClient---------------------------------
      ------------------------------------------------------------------------------
       7/27/2016 11:54 AM Client-Info Client Version: 0.11.4
       7/27/2016 11:54 AM Client-Info Client OS:      Windows
       7/27/2016 11:54 AM Client-Info Server Version: 1.3.0-RC-4
       7/27/2016 11:54 AM Middleware::Response ERROR: Unable to get subsection
       7/27/2016 11:54 AM Middleware::Response ERROR: Object reference not set to an instance of an object.
      
      ------------------------------------------------------------------------------
      --------------------------------PrinterManager--------------------------------
      ------------------------------------------------------------------------------
       7/27/2016 11:54 AM Client-Info Client Version: 0.11.4
       7/27/2016 11:54 AM Client-Info Client OS:      Windows
       7/27/2016 11:54 AM Client-Info Server Version: 1.3.0-RC-4
       7/27/2016 11:54 AM Middleware::Response ERROR: Unable to get subsection
       7/27/2016 11:54 AM Middleware::Response ERROR: Object reference not set to an instance of an object.
      
      ------------------------------------------------------------------------------
      --------------------------------PowerManagement-------------------------------
      ------------------------------------------------------------------------------
       7/27/2016 11:54 AM Client-Info Client Version: 0.11.4
       7/27/2016 11:54 AM Client-Info Client OS:      Windows
       7/27/2016 11:54 AM Client-Info Server Version: 1.3.0-RC-4
       7/27/2016 11:54 AM Middleware::Response ERROR: Unable to get subsection
       7/27/2016 11:54 AM Middleware::Response ERROR: Object reference not set to an instance of an object.
      
      ------------------------------------------------------------------------------
      ----------------------------------UserTracker---------------------------------
      ------------------------------------------------------------------------------
       7/27/2016 11:54 AM Client-Info Client Version: 0.11.4
       7/27/2016 11:54 AM Client-Info Client OS:      Windows
       7/27/2016 11:54 AM Client-Info Server Version: 1.3.0-RC-4
       7/27/2016 11:54 AM Middleware::Response ERROR: Unable to get subsection
       7/27/2016 11:54 AM Middleware::Response ERROR: Object reference not set to an instance of an object.
       7/27/2016 11:54 AM Middleware::Communication URL: http://172.16.23.1/fog/management/index.php?sub=requestClientInfo&configure&newService&json
       7/27/2016 11:54 AM Middleware::Communication ERROR: Could not contact FOG server
       7/27/2016 11:54 AM Middleware::Communication ERROR: Unable to connect to the remote server
       7/27/2016 11:54 AM Middleware::Response Success
       7/27/2016 11:54 AM Service Sleeping for 60 seconds
       7/27/2016 11:55 AM Middleware::Communication URL: http://172.16.23.1/fog/management/index.php?sub=requestClientInfo&mac=B8:08:CF:42:4A:FE|B8:08:CF:42:4A:FA|28:F1:0E:21:C8:0C||00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0&newService&json
       7/27/2016 11:56 AM Middleware::Communication ERROR: Could not contact FOG server
       7/27/2016 11:56 AM Middleware::Communication ERROR: Unable to connect to the remote server
       7/27/2016 11:56 AM Middleware::Response Success
       7/27/2016 11:56 AM Middleware::Communication URL: http://172.16.23.1/fog/service/getversion.php?clientver&newService&json
      

      FOG 1.3.0-RC-8, Ubuntu 14.04 LTS

      1 Reply Last reply Reply Quote 0
      • PsycholiquidP
        Psycholiquid Testers
        last edited by

        Could that host have .Net 1 installed on it. Just a shot in the dark

        JoeGJ 1 Reply Last reply Reply Quote 0
        • JoeGJ
          JoeG @Psycholiquid
          last edited by

          @Psycholiquid Nope, no .NET on host

          FOG 1.3.0-RC-8, Ubuntu 14.04 LTS

          1 Reply Last reply Reply Quote 0
          • Wayne WorkmanW
            Wayne Workman
            last edited by

            I’m not entirely sure that apache error was caused by this. The timestamp on the error says 1:20 PM and the timestamps in the fog log are from 11:54 AM.

            It looks like the apache error is from trying to list members of a group, or listing groups. Who is 192.168.35.155 ?

            Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
            Daily Clean Installation Results:
            https://fogtesting.fogproject.us/
            FOG Reporting:
            https://fog-external-reporting-results.fogproject.us/

            1 Reply Last reply Reply Quote 0
            • Tom ElliottT
              Tom Elliott
              last edited by

              If no .net, what if you install .net 4.0?

              Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

              Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

              Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

              Wayne WorkmanW JoeGJ 2 Replies Last reply Reply Quote 0
              • Wayne WorkmanW
                Wayne Workman @Tom Elliott
                last edited by Wayne Workman

                @Tom-Elliott I don’t think it can even be installed on anything that doesn’t have 4.0 or higher. I think I tried with Win7 when the smart installer came out - and it didn’t work, and I said screw it because it works out-of-box with Win10 with nothing additional installed - and we were going to 100% windows 10.

                Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                Daily Clean Installation Results:
                https://fogtesting.fogproject.us/
                FOG Reporting:
                https://fog-external-reporting-results.fogproject.us/

                1 Reply Last reply Reply Quote 0
                • JoeGJ
                  JoeG @Tom Elliott
                  last edited by

                  @Tom-Elliott With .Net 4.5 on the image/host this error persists. Updated logs coming soon

                  FOG 1.3.0-RC-8, Ubuntu 14.04 LTS

                  1 Reply Last reply Reply Quote 0
                  • Tom ElliottT
                    Tom Elliott
                    last edited by

                    Did you restart after installing .NET?

                    Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                    Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                    Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                    JoeGJ 1 Reply Last reply Reply Quote 0
                    • B
                      Bob Henderson
                      last edited by

                      Also getting this same issue, Windows 10, RC-4 with client 0.11.3

                      Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                      • Wayne WorkmanW
                        Wayne Workman @Bob Henderson
                        last edited by Wayne Workman

                        @Bob-Henderson said in "Unable to get subsection" error with RC-4:

                        Also getting this same issue, Windows 10, RC-4 with client 0.11.3

                        All hosts operating under RC-4 should have 0.11.4, and anything older should auto-update.
                        We need your fog log.

                        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                        Daily Clean Installation Results:
                        https://fogtesting.fogproject.us/
                        FOG Reporting:
                        https://fog-external-reporting-results.fogproject.us/

                        B 1 Reply Last reply Reply Quote 0
                        • B
                          Bob Henderson @Wayne Workman
                          last edited by Bob Henderson

                          Alright, here’s a chunk of the log, as it’s too long to post here in it’s entirety. Note, this image was originally captured on 8533. The server has been updated to RC-4 since then.

                          
                          ------------------------------------------------------------------------------
                          ----------------------------------UserTracker---------------------------------
                          ------------------------------------------------------------------------------
                          7/28/2016 8:41 AM Client-Info Client Version: 0.11.3
                          7/28/2016 8:41 AM Client-Info Client OS:      Windows
                          7/28/2016 8:41 AM Client-Info Server Version: 8533
                          7/28/2016 8:41 AM Middleware::Response ERROR: Unable to get subsection
                          7/28/2016 8:41 AM Middleware::Response ERROR: Object reference not set to an instance of an object.
                          7/28/2016 8:41 AM Middleware::Communication URL: http://10.1.0.24/fog/management/index.php?sub=requestClientInfo&configure&newService&json
                          7/28/2016 8:41 AM Middleware::Response Success
                          7/28/2016 8:41 AM Service Sleeping for 95 seconds
                          7/28/2016 8:43 AM Middleware::Communication URL: http://10.1.0.24/fog/management/index.php?sub=requestClientInfo&mac=34:02:86:FD:7C:58|34:02:86:FD:7C:59|34:E6:D7:7C:4B:96|34:02:86:FD:7C:5C||00:00:00:00:00:00:00:E0&newService&json
                          7/28/2016 8:43 AM Middleware::Authentication Waiting for authentication timeout to pass
                          7/28/2016 8:43 AM Middleware::Communication Download: http://10.1.0.24/fog/management/other/ssl/srvpublic.crt
                          7/28/2016 8:43 AM Data::RSA FOG Server CA cert found
                          7/28/2016 8:43 AM Middleware::Authentication Cert OK
                          7/28/2016 8:43 AM Middleware::Communication POST URL: http://10.1.0.24/fog/management/index.php?sub=requestClientInfo&authorize&newService
                          7/28/2016 8:43 AM Middleware::Response Invalid security token
                          7/28/2016 8:43 AM Middleware::Response Success
                          7/28/2016 8:43 AM Middleware::Communication URL: http://10.1.0.24/fog/service/getversion.php?clientver&newService&json
                          7/28/2016 8:43 AM Middleware::Communication URL: http://10.1.0.24/fog/service/getversion.php?newService&json
                          
                          7/28/2016 8:43 AM Service Creating user agent cache
                          7/28/2016 8:43 AM Middleware::Response ERROR: Unable to get subsection
                          7/28/2016 8:43 AM Middleware::Response ERROR: Object reference not set to an instance of an object.
                          7/28/2016 8:43 AM Middleware::Response ERROR: Unable to get subsection
                          7/28/2016 8:43 AM Middleware::Response ERROR: Object reference not set to an instance of an object.
                          7/28/2016 8:43 AM Middleware::Response ERROR: Unable to get subsection
                          7/28/2016 8:43 AM Middleware::Response ERROR: Object reference not set to an instance of an object.
                          
                          ------------------------------------------------------------------------------
                          ---------------------------------ClientUpdater--------------------------------
                          ------------------------------------------------------------------------------
                          7/28/2016 8:43 AM Client-Info Client Version: 0.11.3
                          7/28/2016 8:43 AM Client-Info Client OS:      Windows
                          7/28/2016 8:43 AM Client-Info Server Version: 8533
                          7/28/2016 8:43 AM Middleware::Response Success
                          ------------------------------------------------------------------------------
                          
                          
                          ------------------------------------------------------------------------------
                          ----------------------------------TaskReboot----------------------------------
                          ------------------------------------------------------------------------------
                          7/28/2016 8:43 AM Client-Info Client Version: 0.11.3
                          7/28/2016 8:43 AM Client-Info Client OS:      Windows
                          7/28/2016 8:43 AM Client-Info Server Version: 8533
                          7/28/2016 8:43 AM Middleware::Response ERROR: Unable to get subsection
                          7/28/2016 8:43 AM Middleware::Response ERROR: Object reference not set to an instance of an object.
                          
                          ------------------------------------------------------------------------------
                          --------------------------------HostnameChanger-------------------------------
                          ------------------------------------------------------------------------------
                          7/28/2016 8:43 AM Client-Info Client Version: 0.11.3
                          7/28/2016 8:43 AM Client-Info Client OS:      Windows
                          7/28/2016 8:43 AM Client-Info Server Version: 8533
                          7/28/2016 8:43 AM Middleware::Response ERROR: Unable to get subsection
                          7/28/2016 8:43 AM Middleware::Response ERROR: Object reference not set to an instance of an object.
                          
                          ------------------------------------------------------------------------------
                          ---------------------------------SnapinClient---------------------------------
                          ------------------------------------------------------------------------------
                          7/28/2016 8:43 AM Client-Info Client Version: 0.11.3
                          7/28/2016 8:43 AM Client-Info Client OS:      Windows
                          7/28/2016 8:43 AM Client-Info Server Version: 8533
                          7/28/2016 8:43 AM Middleware::Response ERROR: Unable to get subsection
                          7/28/2016 8:43 AM Middleware::Response ERROR: Object reference not set to an instance of an object.
                          
                          ------------------------------------------------------------------------------
                          --------------------------------PrinterManager--------------------------------
                          ------------------------------------------------------------------------------
                          7/28/2016 8:43 AM Client-Info Client Version: 0.11.3
                          7/28/2016 8:43 AM Client-Info Client OS:      Windows
                          7/28/2016 8:43 AM Client-Info Server Version: 8533
                          7/28/2016 8:43 AM Middleware::Response ERROR: Unable to get subsection
                          7/28/2016 8:43 AM Middleware::Response ERROR: Object reference not set to an instance of an object.
                          
                          ------------------------------------------------------------------------------
                          --------------------------------PowerManagement-------------------------------
                          ------------------------------------------------------------------------------
                          7/28/2016 8:43 AM Client-Info Client Version: 0.11.3
                          7/28/2016 8:43 AM Client-Info Client OS:      Windows
                          7/28/2016 8:43 AM Client-Info Server Version: 8533
                          7/28/2016 8:43 AM Middleware::Response ERROR: Unable to get subsection
                          7/28/2016 8:43 AM Middleware::Response ERROR: Object reference not set to an instance of an object.
                          
                          ------------------------------------------------------------------------------
                          ----------------------------------UserTracker---------------------------------
                          ------------------------------------------------------------------------------
                          7/28/2016 8:43 AM Client-Info Client Version: 0.11.3
                          7/28/2016 8:43 AM Client-Info Client OS:      Windows
                          7/28/2016 8:43 AM Client-Info Server Version: 8533
                          7/28/2016 8:43 AM Middleware::Response ERROR: Unable to get subsection
                          7/28/2016 8:43 AM Middleware::Response ERROR: Object reference not set to an instance of an object.
                          7/28/2016 8:43 AM Middleware::Communication URL: http://10.1.0.24/fog/management/index.php?sub=requestClientInfo&configure&newService&json
                          7/28/2016 8:43 AM Middleware::Response Success
                          7/28/2016 8:43 AM Service Sleeping for 115 seconds
                          
                          Tom ElliottT 1 Reply Last reply Reply Quote 0
                          • Tom ElliottT
                            Tom Elliott @Bob Henderson
                            last edited by

                            @Bob-Henderson Do me a favor (and hopefully yourself) and run “Reset Encryption Data” on the hosts giving this issue?

                            Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                            Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                            Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                            B 1 Reply Last reply Reply Quote 0
                            • B
                              Bob Henderson @Tom Elliott
                              last edited by

                              @Tom-Elliott

                              no dice. Same errors.

                              Tom ElliottT 1 Reply Last reply Reply Quote 0
                              • Tom ElliottT
                                Tom Elliott @Bob Henderson
                                last edited by

                                @Bob-Henderson Did it cycle back over in the log and you’re still seeing the same issue?

                                Can you post a log of the host you just reset encryption data on?

                                Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                                Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                                Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                                B 1 Reply Last reply Reply Quote 0
                                • B
                                  Bob Henderson @Tom Elliott
                                  last edited by

                                  @Tom-Elliott

                                  looks like I needed to just give it a moment. I went down to take a look at it again, and it had joined the domain and all was hunky dory. I just reset the encryption on the other host that was giving me the same issue, and it joined right up as well.

                                  Now, is there any way to not have to reset the encryption per host manually? I’m looking at 700 hosts to image out, and while it’s doable, it’ll be…tedious.

                                  Tom ElliottT 1 Reply Last reply Reply Quote 0
                                  • Tom ElliottT
                                    Tom Elliott @Bob Henderson
                                    last edited by

                                    @Bob-Henderson You can reset data to all hosts through groups.

                                    I don’t know why it’s not getting the right codes. That I need to work with @joe-schmitt as I’m pretty sure we have code in place to prevent this issue.

                                    Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                                    Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                                    Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                                    B H 2 Replies Last reply Reply Quote 2
                                    • B
                                      Bob Henderson @Tom Elliott
                                      last edited by

                                      @Tom-Elliott Perfect. Thanks so much.

                                      PsycholiquidP 1 Reply Last reply Reply Quote 0
                                      • PsycholiquidP
                                        Psycholiquid Testers @Bob Henderson
                                        last edited by

                                        @Bob-Henderson I have a group setup with all hosts in it and hit reset encryption there is I need to do for all. It is a quick and dirty way to do it.

                                        B Wayne WorkmanW 2 Replies Last reply Reply Quote 1
                                        • B
                                          Bob Henderson @Psycholiquid
                                          last edited by

                                          @Psycholiquid Just did the exact same thing, and pushed out an image multicast to 46 devices in 13 minutes, from start to being able to login.

                                          best. Feeling. Ever.

                                          PsycholiquidP 1 Reply Last reply Reply Quote 1
                                          • PsycholiquidP
                                            Psycholiquid Testers @Bob Henderson
                                            last edited by

                                            @Bob-Henderson Thats because @Tom-Elliott and the other devs rock here at FOG

                                            Tom ElliottT 1 Reply Last reply Reply Quote 1
                                            • 1
                                            • 2
                                            • 1 / 2
                                            • First post
                                              Last post

                                            157

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project