• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • 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.1k
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.
  • D
    darkwad
    last edited by Jun 26, 2017, 7:07 AM

    Server

    FOG Version: 1.4.2 / 1.43
    OS: Debian 8.8
    

    Client

    OS: Windows 7 32/64 bits
    

    Description

    Hi everyone,
    We have the same issue here on Debian 8.8 for group wake up.
    Tasks stay in “1” state and hosts start a deployment task that fail then reboot.

    Timezone and clock are ok. (/etc/php5/apache2/php.ini /etc/php5/cli/php.ini and gui: fog_tz_info)

    Any help would be appreciated.

    1 Reply Last reply Reply Quote 0
    • F
      FritzBox360
      last edited by Jun 26, 2017, 8:00 AM

      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
      • G
        geicos
        last edited by Jun 26, 2017, 8:39 AM

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

        1 Reply Last reply Reply Quote 0
        • T
          Tom Elliott
          last edited by Jun 26, 2017, 11:13 AM

          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 Jun 26, 2017, 11:31 AM Reply Quote 0
          • F
            FritzBox360 @Tom Elliott
            last edited by FritzBox360 Jun 26, 2017, 5:35 AM Jun 26, 2017, 11:31 AM

            @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.

            T 1 Reply Last reply Jun 26, 2017, 12:09 PM Reply Quote 0
            • T
              Tom Elliott @FritzBox360
              last edited by Jun 26, 2017, 12:09 PM

              @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 Jun 26, 2017, 12:16 PM Reply Quote 0
              • F
                FritzBox360 @Tom Elliott
                last edited by Jun 26, 2017, 12:16 PM

                @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.

                T 1 Reply Last reply Jun 26, 2017, 1:25 PM Reply Quote 0
                • D
                  darkwad
                  last edited by Jun 26, 2017, 1:24 PM

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

                  1 Reply Last reply Reply Quote 0
                  • T
                    Tom Elliott @FritzBox360
                    last edited by Jun 26, 2017, 1:25 PM

                    @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 Jun 26, 2017, 1:33 PM Reply Quote 0
                    • F
                      FritzBox360 @Tom Elliott
                      last edited by FritzBox360 Jun 26, 2017, 7:34 AM Jun 26, 2017, 1:33 PM

                      @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]
                      
                      
                      T 1 Reply Last reply Jun 26, 2017, 1:53 PM Reply Quote 0
                      • D
                        darkwad
                        last edited by darkwad Jun 26, 2017, 7:46 AM Jun 26, 2017, 1:43 PM

                        @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
                        • T
                          Tom Elliott @FritzBox360
                          last edited by Jun 26, 2017, 1:53 PM

                          @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 Jun 26, 2017, 2:00 PM Reply Quote 1
                          • F
                            FritzBox360 @Tom Elliott
                            last edited by Jun 26, 2017, 2:00 PM

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

                            T 1 Reply Last reply Jun 26, 2017, 2:03 PM Reply Quote 0
                            • T
                              Tom Elliott @FritzBox360
                              last edited by Jun 26, 2017, 2:03 PM

                              @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 Jun 26, 2017, 2:07 PM Reply Quote 0
                              • F
                                FritzBox360 @Tom Elliott
                                last edited by Jun 26, 2017, 2:07 PM

                                @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
                                1 / 1
                                • First post
                                  13/18
                                  Last post

                                248

                                Online

                                12.0k

                                Users

                                17.3k

                                Topics

                                155.2k

                                Posts
                                Copyright © 2012-2024 FOG Project