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

    Missing possibility to delete several tasks

    Scheduled Pinned Locked Moved Solved
    Bug Reports
    4
    24
    10.5k
    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.
    • P
      pmonstad
      last edited by

      Running svn 5519 there is no option to delete selected tasks. I can select all tasks, or multiple task (checking them on) but there is no button to delete selected tasks.

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

        @pmonstad this is not a bug. Something is not loading the JavaScript. If you’re running chrome you can see this by pressing the keys CTRL+SHIFT+C and you will know what’s going on. The console window will show errors. From the sounds of the the fog.task.js file is not loading.

        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
        • Tom ElliottT
          Tom Elliott
          last edited by

          Any information with this?

          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

          P 1 Reply Last reply Reply Quote 0
          • P
            pmonstad @Tom Elliott
            last edited by

            @Tom-Elliott I’ll double check tomorrow, but I have never got any javascript problems in my system before. Can anyone else in this forum check if this is a problem or not on their system? I cannot remember I have missed this functionality before and therefore expect this to have happened recently.

            1 Reply Last reply Reply Quote 0
            • P
              pmonstad
              last edited by

              Previously there was an option to delete a task in the task line. An icon to the right where you could delete the task. I don’t see this delete function anymore. I’l very much like to have this feature back, and possible without any kind of warning. I quick way to delete tasks without to much clicking/conforming. I don’t know if this feature has been removed by purpose or if this is a bug…

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

                @pmonstad the search page shouldn’t have had the delete function at all. That was removed as it was unintentionally displayed. The active tasks page, active multicast, active snapins, and active scheduled tasks should have the button but I assure ou this is handled by JavaScript. This is not a bug I created but rather a bug in how your particular system is loading the JavaScript file. I don’t know how differently I can tell this too you. Will you please load the console in the browser so I can better help you.

                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

                P 2 Replies Last reply Reply Quote 0
                • P
                  pmonstad @Tom Elliott
                  last edited by

                  @Tom-Elliott I’ll check out tomorrow at work.

                  1 Reply Last reply Reply Quote 0
                  • P
                    pmonstad @Tom Elliott
                    last edited by

                    @Tom-Elliott I have tested in my browser console and there are no errors showing up. I run very latest versions of both Chrome and Firefox, on Windows 7. Tested on two different computers, both which I have used for years with FOG gui without trouble.

                    There is no button under the task list to delete selected tasks and there is no delete icon to the right in the task list.

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

                      @pmonstad Dude, I don’t care if you’ve been running fog since the age of time. Right now, it isn’t loading the delete button because something isn’t loaded with javascript. The file fog.task.js should be present, which it sounds like it is missing.

                      You can only delete tasks from the active pages (by delete I really mean cancel). Do you see the checkboxes?

                      Under the “console” you also have elements so you can view the source. If you scroll near the bottom is the fog.task.js file loaded?

                      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

                      P 1 Reply Last reply Reply Quote 0
                      • P
                        pmonstad @Tom Elliott
                        last edited by

                        @Tom-Elliott Here are two scree shots showing top and bottom og the screen. There is no way I can delete/cancel tasks.1_1448871248520_screenshot-192 168 68 254 2015-11-30 09-12-35.jpg 0_1448871248514_screenshot-192 168 68 254 2015-11-30 09-13-07.jpg

                        I have checked the console and this is the last script loaded: <script src=“js/fog/fog.task.js?ver=36” language=“javascript” type=“text/javascript” defer=“”></script>

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

                          Why is there so many tasks? Is the fact that you’re not seeing the “button” due to the fact that it’s below the browser expected information?

                          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

                          P 1 Reply Last reply Reply Quote 0
                          • P
                            pmonstad @Tom Elliott
                            last edited by

                            @Tom-Elliott I don’t know if there is a limit.There is no scroll bar and I can see the footer in the bottom. Why so many tasks? Because I have chosen to deploy a group of hosts. I guess this is a quite common scenario, deploying 20-30 hosts? The missing delete button does not appear of I do a filter to increase the number of filtered tasks.

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

                              @pmonstad It’s not uncommon to have a bunch of tasks, I was just wondering if those were actually intentional.

                              Usually I see around 10-20 tasks as normal, but that doesn’t mean you won’t have more. I am just asking in hopes of a direction to see the button.

                              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

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

                                @Tom-Elliott Hi Tom. Is there a dirty way to cancel/get rid of those tasks? I can try to sort out when the button disappears if I can build a smaller task list

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

                                  @pmonstad There is.

                                  mysql
                                  use fog
                                  update tasks set taskStateID=5 where (taskStateID=1 or taskStateID=2 or taskStateID=3);
                                  

                                  What that does is sets tasks that are queued, checked in, or in progress to cancelled.

                                  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/

                                  P Tom ElliottT 2 Replies Last reply Reply Quote 0
                                  • P
                                    pmonstad @Wayne Workman
                                    last edited by

                                    @Wayne-Workman Thanks!

                                    I started over again to see if I could find a way around, and I did:
                                    Now I have one active task, a host waiting for deploy. The delete button is missing. I managed to get the missing button available by doing this:

                                    • One active task (waiting for deploy)
                                    • Hit the Pause auto update button
                                    • Then hit the menu Active Tasks again. Now the delete button is visible in the bottom of the screen

                                    I hope this can help you Tom sorting this out.

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

                                      @Wayne-Workman You can simplify the statement to cancel all tasks with:

                                      UPDATE `fog`.`tasks` SET `taskStateID`=5 WHERE `taskStateID` IN (0,1,2,3);
                                      

                                      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 1
                                      • Tom ElliottT
                                        Tom Elliott
                                        last edited by

                                        I don’t know if this is fixed but I am hoping so. I moved the cancel button to outside the checker that defines if it should show or not the cancel button to begin with.

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

                                          I marked it as solved. If the OP still has issues, he can mark it as unsolved.

                                          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
                                          • P
                                            pmonstad
                                            last edited by

                                            There is still a problem when I try to cancel one or more tasks. The button is now available and I can cancel a task the first time I enter Task Management. If I try to to more than one cancel nothing happens if I hit the cancel button. Works first time only.

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

                                            205

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project