Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
lmbrd
New Contributor III

ISDB update through REST API from file "ffdb_..."

Hello, community

I am trying to update the database ISDB through REST API FortiOS from file "ffdb_...". Which db_name should I use? The REST API Reference does not say about it? Also, when I try to update through web from file "ffdb_...": Fortiguard→ Firmware & General Updates I get the error: "Failed to upgrade database"

Снимок.PNG

1 Solution
Richie_C

Hi

After some more investigation, it seems that a manual ISDB update via the GUI is not possible in the version you are running (6.4 or 7.0). A manual update is only possible via CLI. This is described in the following documents:

 

https://community.fortinet.com/t5/FortiGate/Technical-Tip-Manual-Update-of-Internet-Service-Database...


https://community.fortinet.com/t5/FortiGate/Technical-Tip-How-to-manually-upgrade-ISDB-database-with...

 

However, I tested some other versions and can see that the functionality you require is available in 7.2 and 7.4. We can see a new button specifically for upgrading the ISDB.

ISDB-7point2.JPG

 

I tested the functionality in my lab and i was able to successfully upgrade the ISDB using the GUI.

 

Thanks

There are old engineers and bold engineers, but no old, bold, engineers

View solution in original post

20 REPLIES 20
Richie_C
Staff
Staff

Hi

It sounds like the first issue you need to fix is the error message "Failed to upgrade database". 

I would recommend you take a look at the following guide:

https://community.fortinet.com/t5/FortiGate/Troubleshooting-Tip-Unable-to-connect-to-FortiGuard-serv...

The guide covers many common issues when the FortiGate tries to connect to FortiGuard to download updates.

I hope it helps!

 

There are old engineers and bold engineers, but no old, bold, engineers
lmbrd
New Contributor III

hello, my Fortigate connect to Fortiguard services. IPS and APPCTL upgrade from file successfully working (web and API), but not ISDB. Which value in "db_name" parameter should I use to urgrade ISDB via API?

Richie_C
Staff
Staff

In answer to the second part of the question. You could check the license status with the following GET:

/api/v2/monitor/license/status

I can see that there is a database called "internet_service_db"

    "internet_service_db":{
      "type":"downloaded_fds_object",
      "status":"licensed",
      "version":"0.00000",
      "last_update":978300000,
      "last_update_attempt":1690205630,
      "last_update_result_status":"update_result_no_updates",
      "last_update_method_status":"update_method_manual"

Thanks

Richard

 

There are old engineers and bold engineers, but no old, bold, engineers
Richie_C

I believe you would need a valid license for this (As per the output above). 

There are old engineers and bold engineers, but no old, bold, engineers
lmbrd
New Contributor III

This is a part my GET /api/v2/monitor/license/status

 "internet_service_db":{
      "type":"downloaded_fds_object",
      "status":"licensed",
      "version":"7.03291",
      "last_update":1689746781,
      "last_update_attempt":1689839411,
      "last_update_result_status":"update_result_not_authorized",
      "last_update_method_status":"update_method_manual"
    },
Richie_C

      "last_update_result_status":"update_result_not_authorized",

Does your administrator profile have the correct privileges? 

There are old engineers and bold engineers, but no old, bold, engineers
Richie_C

the following article might be useful:

 

https://docs.fortinet.com/document/fortigate/7.4.0/administration-guide/399023/rest-api-administrato....

 

There are old engineers and bold engineers, but no old, bold, engineers
lmbrd
New Contributor III

Yes, I'm logging in with super_admin privileges. Also I successfully can upgrade IPS and APPCTRL databases from this user, but not ISDB 

Richie_C

What is the model of FortiGate and the version of FortiOS?

There are old engineers and bold engineers, but no old, bold, engineers
Top Kudoed Authors