Troubleshooting Tip: How to restore object references in FortiManager
| Description | This article describes how to restore object references when they are lost. |
| Scope | FortiManager. |
| Solution | In certain circumstances, FortiManager loses address/address group object references, which means they are considered as not being used anywhere. As a result, FortiManager allows deleting the objects since they are not considered used. The 'Where used' field does not show any references:
This occurs despite it being clearly mentioned in multiple policies, as shown below:
If this object was accidentally deleted, it will show as empty in the policy, which may cause installation failures later.
To solve this issue, it is recommended to regenerate the object references using the commands below:
diagnose cdb upgrade force-retry restore-deleted-datasrc-by-revision
FortiManager will check for any errors and fix them, and will create new references in its database for the missing objects. |

