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

Active Tasks in Storage Group Activity shows active task

Scheduled Pinned Locked Moved
FOG Problems
2
3
722
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.
  • R
    RipAU
    last edited by RipAU Sep 21, 2020, 9:17 PM Sep 22, 2020, 1:26 AM

    Hi, everyone.

    I’ve updated to the latest FOG 1.5.9 and all in general seems to be working fine.
    I’ve noticed that in my fog storage activity on the Dashboard it lists an active task.

    cee59d87-c17b-43ee-b359-9f5e0615cdf5-image.png

    I cannot see the active task listed in ‘Tasks’ at all,
    Active Tasks, Active Multicasts, Active Snapin Tasks and Schedules Tasks are all blank.

    Just wondering if this may be a rogue entry sitting in the Database?
    I’ve had a search but can’t see anything specific in the forums.

    I did have a read through https://forums.fogproject.org/topic/11059/clearing-specific-kinds-of-task-types-using-sql

    When looking at the database (Query could be wrong) to try see active tasks,

    select * from tasks where tasktypeID ='1' and taskstateid = '0';
    

    Shows empty. The next query with taskstateid = ‘1’ returns the following:

    MariaDB [fog]> select * from tasks where tasktypeID ='1' and taskstateid = '1';
    +--------+---------------------------------+---------------------+---------------------+------------+-------------+-------------+-------------+--------------+-----------+------------------------+------------+------------+---------+-----------------+-------------------+----------------+-----------------+---------------+----------------+-----------------+-----------------+------------------+---------+---------------+--------------+
    | taskID | taskName                        | taskCreateTime      | taskCheckIn         | taskHostID | taskImageID | taskStateID | taskIsDebug | taskCreateBy | taskForce | taskScheduledStartTime | taskTypeID | taskPCT    | taskBPM | taskTimeElapsed | taskTimeRemaining | taskDataCopied | taskPercentText | taskDataTotal | taskNFSGroupID | taskNFSMemberID | taskNFSFailures | taskLastMemberID | taskWOL | taskPassreset | taskShutdown |
    +--------+---------------------------------+---------------------+---------------------+------------+-------------+-------------+-------------+--------------+-----------+------------------------+------------+------------+---------+-----------------+-------------------+----------------+-----------------+---------------+----------------+-----------------+-----------------+------------------+---------+---------------+--------------+
    |   3153 | Deploy Task                     | 2019-03-01 13:06:45 | 0000-00-00 00:00:00 |          0 |          10 |           1 |           0 | fog          | 0         | 0000-00-00 00:00:00    |          1 | 0000000000 |         |                 |                   |                |                 |               |              0 |               0 |                 |                0 | 1       |               |              |
    |   6455 | Deploy Task - Room_01           | 2020-07-08 12:56:39 | 0000-00-00 00:00:00 |          0 |           1 |           1 |           0 | fog          | 0         | 0000-00-00 00:00:00    |          1 | 0000000000 |         |                 |                   |                |                 |               |              0 |               1 |                 |                0 | 1       |               |              |
    +--------+---------------------------------+---------------------+---------------------+------------+-------------+-------------+-------------+--------------+-----------+------------------------+------------+------------+---------+-----------------+-------------------+----------------+-----------------+---------------+----------------+-----------------+-----------------+------------------+---------+---------------+--------------+
    2 rows in set (0.00 sec)
    
    

    or if I’m not on the right track? or missing something else?

    Thanks!

    Cheers,

    1 Reply Last reply Reply Quote 0
    • S
      Sebastian Roth Moderator
      last edited by Sep 22, 2020, 4:55 AM

      @RipAU Yes seems like a rough entry. Instead of select * from ... you can use delete from ... (same where clause) to get rid of those or you can use the following commands to do a full cleanup: https://wiki.fogproject.org/wiki/index.php/Troubleshoot_MySQL#Database_Maintenance_Commands

      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
      • R
        RipAU
        last edited by Sep 22, 2020, 5:08 AM

        Perfect all looking normal now 🙂
        One place I didn’t think to look was on the Wiki 😕

        Thanks!
        Cheers,

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

        140

        Online

        12.2k

        Users

        17.4k

        Topics

        155.5k

        Posts
        Copyright © 2012-2024 FOG Project