| Description |
This article describes how to fix stuck tasks in the task monitor. Task monitor might show long-lasting tasks with %0 progress like below. These tasks cannot be deleted or completed.
Also, it covers the case as seen below that the installation preparation bar does not move, this step if finished will allow seeing the install preview.
|
| Scope | FortiManager. |
| Solution |
This issue can be fixed by repairing the task Database with the below command:
diagnose dvm task repair
The above command requires FortiManager to reboot.
There is another CLI command that will reset the task: This command will reset the task database to its factory default state.
Upon performing the 'diagnose dvm task reset', all of the tasks and history will be deleted.
As a result, if it is necessary to perform 'diagnose dvm task reset', consider taking a backup of the task DB:
FMG-VM64-KVM # execute backup task ftp/scp/sftp 10.10.10 / lala lala
Task Monitor before running the reset command:
In addition, before running the command, make sure that there are no active operations in FortiManager. For example, another user trying to install a policy, etc.
After the completion of the reboot, there will be no long-lasting tasks with 0% progress similar to the screenshot above. This can be checked again via task monitor.
In the second case above, it is possible to see the installation preparation bar move and complete and see the install preview.
CLI reference: |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.