• 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.2k
    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 @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

                          171

                          Online

                          12.1k

                          Users

                          17.3k

                          Topics

                          155.3k

                          Posts
                          Copyright © 2012-2024 FOG Project