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

    FOG 1.3.0-RC-8 power management error

    Scheduled Pinned Locked Moved Solved
    Bug Reports
    4
    14
    3.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.
    • T
      tmerrick
      last edited by

      I have a client with 2 power management cron jobs and the following error happens when I reimage the client:

      ------------------------------------------------------------------------------
      --------------------------------PowerManagement-------------------------------
      ------------------------------------------------------------------------------
       8/17/2016 9:26 AM Client-Info Client Version: 0.11.5
       8/17/2016 9:26 AM Client-Info Client OS:      Windows
       8/17/2016 9:26 AM Client-Info Server Version: 1.3.0-RC-8
       8/17/2016 9:26 AM Middleware::Response Success
       8/17/2016 9:26 AM PowerManagement ERROR: Data conversion using the DataContract FOG.Modules.DataContracts.PowerManagement failed
       8/17/2016 9:26 AM PowerManagement ERROR: Cannot deserialize the current JSON object (e.g. {"name":"value"}) into type 'System.Collections.Generic.List`1[FOG.Modules.PowerManagement.Task]' because the type requires a JSON array (e.g. [1,2,3]) to deserialize correctly.
      To fix this error either change the JSON to a JSON array (e.g. [1,2,3]) or change the deserialized type so that it is a normal .NET type (e.g. not a primitive type like integer, not a collection type like an array or List<T>) that can be deserialized from a JSON object. JsonObjectAttribute can also be added to the type to force it to deserialize from a JSON object.
      Path 'tasks.1'.
      

      I am not sure if this is a client and/or server issue.

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

        Found out exactly what the issue was. It’s because of the damn WOL tasking son of a.

        Sorry it was so hard to replicate/troubleshoot.

        It is now fixed in RC-9 thanks for reporting.

        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

        Tom ElliottT 1 Reply Last reply Reply Quote 1
        • Q
          Quazz Moderator
          last edited by

          I think you need to update .NET on your client to 4.5

          1 Reply Last reply Reply Quote 0
          • T
            tmerrick
            last edited by

            How do you do that? It is whatever it loaded when the client updated. In the Programs and Features list there is no .net less than 4.5.

            Q Wayne WorkmanW 2 Replies Last reply Reply Quote 0
            • Q
              Quazz Moderator @tmerrick
              last edited by

              @tmerrick Then I’m not sure what’s causing this, to be honest. @Senior-Developers will likely have a better idea about this.

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

                @tmerrick What version of Windows?

                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
                • T
                  tmerrick
                  last edited by

                  Windows 10

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

                    @tmerrick I think Win10 out-of-the-box already has .NET 4.5 and runs the new fog client just fine.

                    Please post a screen-shot of the problematic host’s Power Management page, so we can see the 2 jobs you have scheduled and attempt to reproduce.

                    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
                    • T
                      tmerrick
                      last edited by

                      What privileges do I need to upload a picture?

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

                        @tmerrick None that I know of? If it’s in your clipboard, just paste it here. If it’s a file, click the upload symbol.

                        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
                        • T
                          tmerrick
                          last edited by

                          0_1471461532857_st118-01-power.jpg

                          The error that I had was a firefox problem.

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

                            @tmerrick said in FOG 1.3.0-RC-8 power management error:

                            The error that I had was a firefox problem.

                            I don’t use anything but Firefox. 😉
                            Use the latest version?

                            Back to the fog issue - I’ll see if I can reproduce the problem on my end.

                            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
                            • Wayne WorkmanW
                              Wayne Workman
                              last edited by Wayne Workman

                              Cross-linking threads about the same bug, and moved to bug reports.
                              https://forums.fogproject.org/topic/8402/power-management-rc-8-json-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!
                              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

                                Found out exactly what the issue was. It’s because of the damn WOL tasking son of a.

                                Sorry it was so hard to replicate/troubleshoot.

                                It is now fixed in RC-9 thanks for reporting.

                                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

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

                                  Just to help clarify, basically it was filtering the array out. Because there was only two tasks, and one of them was invalid, it was not defining the tasks as an array.

                                  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

                                  1 Reply Last reply Reply Quote 0
                                  • 1 / 1
                                  • First post
                                    Last post

                                  179

                                  Online

                                  12.0k

                                  Users

                                  17.3k

                                  Topics

                                  155.2k

                                  Posts
                                  Copyright © 2012-2024 FOG Project