• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • 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 Nov 26, 2015, 10:01 AM

    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.

    T 1 Reply Last reply Nov 26, 2015, 2:09 PM Reply Quote 0
    • T
      Tom Elliott @pmonstad
      last edited by Nov 26, 2015, 2:09 PM

      @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
      • T
        Tom Elliott
        last edited by Nov 26, 2015, 3:00 PM

        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 Nov 26, 2015, 4:25 PM Reply Quote 0
        • P
          pmonstad @Tom Elliott
          last edited by Nov 26, 2015, 4:25 PM

          @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 Nov 26, 2015, 6:14 PM

            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…

            T 1 Reply Last reply Nov 26, 2015, 6:17 PM Reply Quote 0
            • T
              Tom Elliott @pmonstad
              last edited by Nov 26, 2015, 6:17 PM

              @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 Nov 26, 2015, 7:13 PM Reply Quote 0
              • P
                pmonstad @Tom Elliott
                last edited by Nov 26, 2015, 7:13 PM

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

                1 Reply Last reply Reply Quote 0
                • P
                  pmonstad @Tom Elliott
                  last edited by Nov 27, 2015, 6:48 AM

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

                  T 1 Reply Last reply Nov 27, 2015, 5:24 PM Reply Quote 0
                  • T
                    Tom Elliott @pmonstad
                    last edited by Nov 27, 2015, 5:24 PM

                    @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 Nov 30, 2015, 8:18 AM Reply Quote 0
                    • P
                      pmonstad @Tom Elliott
                      last edited by Nov 30, 2015, 8:18 AM

                      @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
                      • T
                        Tom Elliott
                        last edited by Nov 30, 2015, 11:05 AM

                        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 Nov 30, 2015, 12:08 PM Reply Quote 0
                        • P
                          pmonstad @Tom Elliott
                          last edited by Nov 30, 2015, 12:08 PM

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

                          T 1 Reply Last reply Nov 30, 2015, 12:27 PM Reply Quote 0
                          • T
                            Tom Elliott @pmonstad
                            last edited by Nov 30, 2015, 12:27 PM

                            @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 Nov 30, 2015, 12:43 PM Reply Quote 1
                            • P
                              pmonstad @Tom Elliott
                              last edited by Nov 30, 2015, 12:43 PM

                              @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

                              W 1 Reply Last reply Nov 30, 2015, 2:07 PM Reply Quote 0
                              • W
                                Wayne Workman @pmonstad
                                last edited by Nov 30, 2015, 2:07 PM

                                @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 T 2 Replies Last reply Nov 30, 2015, 2:21 PM Reply Quote 0
                                • P
                                  pmonstad @Wayne Workman
                                  last edited by Nov 30, 2015, 2:21 PM

                                  @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
                                  • T
                                    Tom Elliott @Wayne Workman
                                    last edited by Nov 30, 2015, 3:06 PM

                                    @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
                                    • T
                                      Tom Elliott
                                      last edited by Dec 7, 2015, 1:22 PM

                                      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
                                      • W
                                        Wayne Workman
                                        last edited by Dec 7, 2015, 1:45 PM

                                        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 Dec 8, 2015, 9:07 AM

                                          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 Dec 8, 2015, 9:07 AM Reply Quote 0
                                          • 1
                                          • 2
                                          • 1 / 2
                                          1 / 2
                                          • First post
                                            3/24
                                            Last post

                                          327

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project