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

    Advanced wake-up task for a group is queued but not performed

    Scheduled Pinned Locked Moved Solved
    Bug Reports
    6
    18
    4.3k
    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.
    • F
      FritzBox360
      last edited by

      Same problem here on Ubuntu 4.4.0-67-generic 88~14.04.1-Ubuntu

      If i start a wakeup task for a group, all clients starting up but trying to boot into a fog task. In the active tasks selection there is still a wakeup task “hanging” there.

      The clients get an error and reboot. If i delete the “hanging” task everything is okay and fog boots the disk.

      0_1498463838571_IMG_1283.JPG

      The strange thing is, that on friday was everything fine …

      1 Reply Last reply Reply Quote 0
      • geicosG
        geicos
        last edited by

        hi
        Same problem here on Debian 8.7 and Fog version 1.4.30_1498466347619_VV3.jpg

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

          Can you guys try this file:

          wget -O /var/www/fog/lib/fog/group.class.php https://raw.githubusercontent.com/FOGProject/fogproject/c9431f0da0659fd5f6730b2a7e0ec0d38ad1f179/packages/web/lib/fog/group.class.php
          

          With anyluck, WOL won’t create a tasking like normal tasks.

          This issue came from a prior fix to enable other non-init taskings that still needed to be queued in a similar init needed fashion. Sorry for the oversight.

          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

          F 1 Reply Last reply Reply Quote 0
          • F
            FritzBox360 @Tom Elliott
            last edited by FritzBox360

            @Tom-Elliott

            same problem - nothing changed! Is a restart of the machine or a service necessary?

            The task is till hanging in the active tasks tab but the client is startet via WOL.

            If you need further information just let me know 😉

            Thank you!

            Edit:
            If i start a task via the PowerManagement everything is fine. Just over the Basic Task - Advanced way i run into the problem.

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

              @FritzBox360 Did you cancel the pre-existing task first and then try? I tested and saw the problem. The fix fixes the issue where it’s creating a tasking in the first place, it does not clear the task for you though.

              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

              F 1 Reply Last reply Reply Quote 0
              • F
                FritzBox360 @Tom Elliott
                last edited by

                @Tom-Elliott yes, there are no active task. If i start a advanced wakeup for a group this task is hanging under the active tasks. I need to remove it manually.

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

                  @Tom-Elliott Thanks a million, it worked ! (I just empty task table before applying.)

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

                    @FritzBox360 Did you run the command I requested, or just re-tried?

                    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

                    F 1 Reply Last reply Reply Quote 0
                    • F
                      FritzBox360 @Tom Elliott
                      last edited by FritzBox360

                      @Tom-Elliott yes, i run your command with an empty task table but nothing changed

                      --2017-06-26 14:31:59--  https://raw.githubusercontent.com/FOGProject/fogproject                  /c9431f0da0659fd5f6730b2a7e0ec0d38ad1f179/packages/web/lib/fog/group.class.php
                      Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.112.1                  33
                      Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.112.                  133|:443... connected.
                      HTTP request sent, awaiting response... 200 OK
                      Length: 29076 (28K) [text/plain]
                      Saving to: ‘/var/www/fog/lib/fog/group.class.php’
                      
                      100%[======================================>] 29.076      --.-K/s   in 0,002s
                      
                      2017-06-26 15:31:59 (15,9 MB/s) - ‘/var/www/fog/lib/fog/group.class.php’ saved [                  29076/29076]
                      
                      
                      Tom ElliottT 1 Reply Last reply Reply Quote 0
                      • darkwadD
                        darkwad
                        last edited by darkwad

                        @Tom-Elliott, I cowardly run

                        cp /var/www/fog/lib/fog/group.class.php /var/www/fog/lib/fog/group.class.php-bak
                        

                        I empty the MySQL task table in PHPMyAdmin and then run the command you requested:

                        wget -O /var/www/fog/lib/fog/group.class.php https://raw.githubusercontent.com/FOGProject/fogproject/c9431f0da0659fd5f6730b2a7e0ec0d38ad1f179/packages/web/lib/fog/group.class.php
                        

                        No more error on group WOL. Thanks again

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

                          @FritzBox360 then can you change the -O portion to state:

                          wget -O /var/www/html/fog/lib/fog/group.class.php https://raw.githubusercontent.com/FOGProject/fogproject/c9431f0da0659fd5f6730b2a7e0ec0d38ad1f179/packages/web/lib/fog/group.class.php
                          

                          Also, please make sure there’s isn’t any erroneous spaces.

                          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

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

                            @Tom-Elliott now it works 🙂 not sure were the problem was … Thanks a lot!

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

                              @FritzBox360 You have two installations that are “separate” but functionally working from one location.

                              Mind running:

                              mv /var/www/fog /var/www/fog_old
                              ln -s /var/www/html/fog /var/www/fog
                              

                              So that this type of problem doesn’t happen again?

                              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

                              F 1 Reply Last reply Reply Quote 0
                              • F
                                FritzBox360 @Tom Elliott
                                last edited by

                                @Tom-Elliott you are right! That was the problem. I do not know why i have two instances - i will clear and fix it tomorrow! Thank you Tom!

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

                                185

                                Online

                                12.1k

                                Users

                                17.3k

                                Topics

                                155.4k

                                Posts
                                Copyright © 2012-2024 FOG Project