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

    Fatal Error: Unknown mode :: onlydebug 6303 (kernel 4.4.1)

    Scheduled Pinned Locked Moved Solved
    Bug Reports
    3
    11
    2.7k
    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.
    • J
      jkozee Testers
      last edited by

      Creating a Debug task causes this error in the client.

      1 Reply Last reply Reply Quote 0
      • george1421G
        george1421 Moderator
        last edited by

        Just saw a same exact error in another post. https://forums.fogproject.org/topic/6515/surface-pro-4-won-t-get-to-registration-menu/145

        While I think this is a bug in the current inits, Tom did explain how to get into debug mode just above the post of the link.

        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!

        1 Reply Last reply Reply Quote 0
        • J
          jkozee Testers
          last edited by

          Thanks. I had not seen that post. I was able to get into debug mode using the “Capture-Debug” task. This bug report can be removed or marked as a duplicate if it already exits.

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

            @jkozee I believe I fixed the onlydebug issue.

            I’m solving this thread because i’m 99.99999% sure this is now working properly without completely erroring out.

            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

            J 1 Reply Last reply Reply Quote 0
            • J
              jkozee Testers @Tom Elliott
              last edited by jkozee

              @Tom-Elliott I think a variant of this bug may still exist in 6363. The error is now “Fatal Error: Unknown request type :: Null”

              I get this error when booting the client after creating a “Debug” task for a it. So, “Host->Basic Tasks->Advanced->Debug”, then start the client.

              I don’t think “Capture-Debug” or “Deploy-Debug” has this problem (even in 6303), as I was able to get to a debug console by using those options.

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

                @jkozee this is actually the expected result. Onlydebug mode is not meant for imaging. Running the fog script will fail.

                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

                J 1 Reply Last reply Reply Quote 0
                • J
                  jkozee Testers @Tom Elliott
                  last edited by jkozee

                  @Tom-Elliott Sorry for my confusion. And I’m not trying to be dense, just confirming this is intended behavior, as it still seems counter-intuitive to me.

                  In version 5315, when I do a “Host->Basic Tasks->Advanced->Debug”, the client boots to linux shell. In the latest version the client reports the error, and sits idle as it waits to reboot in 60 seconds. So, I never get to the linux shell.

                  The “Debug” task still reports the same intended behavior “Debug mode will load the boot image and load a prompt so you can run any commands you wish. When you are done, you must remember to remove the PXE file, by clicking on “Active Tasks” and clicking on the “Kill Task” button.”, but doesn’t actually perform this task.

                  So, what should the debug task do, or is it being deprecated in favor of the new “Deploy-Debug”, “Capture-Debug”, or “Schedule task as a debug task” option for any other task? I assumed it was a separate option, when the intention is to poke around a bit and not to perform any other available task.

                  Thanks again and sorry if I’m being a PITA…

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

                    This should be fixed now too.

                    The task cancel i’m unable to replicate at all. Are the checkbox’s checked when you cancel the tasking?

                    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

                    J 1 Reply Last reply Reply Quote 0
                    • J
                      jkozee Testers @Tom Elliott
                      last edited by

                      @Tom-Elliott I’m not sure what you mean about replicating the “task cancel”, as it cancels fine for me. Unless it was from my quoting the Debug task: [Debug mode will load the boot image and load a prompt so you can run any commands you wish. When you are done, you must remember to remove the PXE file, by clicking on “Active Tasks” and clicking on the “Kill Task” button]. I’ll pull and confirm…

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

                        @jkozee I see and understand. I took the …kill task button, but not actually perform… To mean killing tasks was not operating. Sorry I misread/misunderstood.

                        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

                        J 1 Reply Last reply Reply Quote 0
                        • J
                          jkozee Testers @Tom Elliott
                          last edited by

                          @Tom-Elliott Thanks! Works as expected. And I see the confusion regarding this bug. I didn’t report it very clearly, and you took it mean the the result of the “fog” script within the debug session vs the actual start of the task. I’ll take care to report more completely in the future. Thanks again for all your efforts here!

                          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