Database error - database disk image is malformed
Hi all
I have upgraded our FortiManager to v.7.6.5. When I am trying to install policy on one of our Fortigates, the installation fails with the following message:
Commit failed: error -999 - Database Error - database disk image is malformed
Our Fortimanager is a VM on VMware, so I extended the disk space but I still get the message above. If I now run "Diagnose pm2 check-integrity all" I get the following:
--- pragma integrity_check adom db ---
--- total: 19 ok.
--- pragma integrity_check device db ---
pragma integrity_check fails: /var/pm2/devdb213 -- Tree 18 page 2866 cell 204: Rowid 11301 out of order
>>> total: 4 failed: 1
--- pragma integrity_check global db ---
--- total: 2 ok.
--- pragma integrity_check ips db ---
--- total: 3 ok.
--- pragma integrity_check task db ---
--- total: 1 ok.
--- pragma integrity_check ncmdb db ---
--- total: 22 ok.
I ran the other commands in FortiManager database checking tools - Fortinet Community but they don't seem to have done anything.
Can anyone help me out please? I'm now stuck with an unusable FortiManager, as I cannot install a policy. Any commands to fix db would be helpful.
Thanks
Roy