• 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.8k
    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.
    • 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
                • P
                  pmonstad @pmonstad
                  last edited by

                  @pmonstad I run svn 5676

                  1 Reply Last reply Reply Quote 0
                  • george1421G
                    george1421 Moderator
                    last edited by

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

                      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 Reply Quote 1
                      • P
                        pmonstad @Tom Elliott
                        last edited by

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

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

                        135

                        Online

                        12.0k

                        Users

                        17.3k

                        Topics

                        155.2k

                        Posts
                        Copyright © 2012-2024 FOG Project