New custom plugin causes rebuild from ground up

So from time to time I add some custom plugins in a folder called cutom within the root plugins folder. But it ends up rebuilding the whole scanner from the ground up and I have to wait a long time for the whole thing to rebuild.
The error I get is hash mismatch value from scanner.
Why does this happen ?

Hi @achuttnair ,
just ensure that your custom plugins have an new timestamp in the last_modification script tag (in the script’s description block), so they will be fetched in normal gvmd vts update. Otherwise, if they have an older timestamp than the feed version (see plugin_feed_info.inc file), will not be sent to the gvmd, and will not be taken in account for the hash calculation.
This would produce a hash mismatch, which ends in a whole gvmd db rebuild.

Regards,

3 Likes

Thanks @jjnicola