• 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
11.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.
  • 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
              • P
                pmonstad @pmonstad
                last edited by Dec 8, 2015, 9:07 AM

                @pmonstad I run svn 5676

                1 Reply Last reply Reply Quote 0
                • G
                  george1421 Moderator
                  last edited by Dec 8, 2015, 1:05 PM

                  Moving back to unsolved, because there is still an issue. Button exists but only first time works.

                  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!

                  1 Reply Last reply Reply Quote 0
                  • T
                    Tom Elliott
                    last edited by Dec 14, 2015, 3:40 AM

                    I’ve done more work and basically rewrote the js file and how it presents these buttons. Please let me know if it is good now.

                    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 Dec 14, 2015, 9:48 AM Reply Quote 1
                    • P
                      pmonstad @Tom Elliott
                      last edited by Dec 14, 2015, 9:48 AM

                      @Tom-Elliott Now it works as expected. Thanks!

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

                      150

                      Online

                      12.1k

                      Users

                      17.3k

                      Topics

                      155.4k

                      Posts
                      Copyright © 2012-2024 FOG Project