future-architect/vuls

The issue has been closed
Failed to NewDB. Since SchemaVersion is incompatible, delete Database and fetch again #1505
arrow003 posted onGitHub
$ /home/vulsuser/go/bin/vuls report -config=/home/vulsuser/config.d/XXX.toml -format-json
[Jul 28 11:37:12] INFO [localhost] vuls-v0.19.8-build-20220728_110528_2f3b8bf
[Jul 28 11:37:12] INFO [localhost] Validating config...
[Jul 28 11:37:12] INFO [localhost] cveDict.type=sqlite3, cveDict.url=, cveDict.SQLite3Path=/home/vulsuser/cve.sqlite3
[Jul 28 11:37:12] INFO [localhost] ovalDict.type=sqlite3, ovalDict.url=, ovalDict.SQLite3Path=/home/vulsuser/oval.sqlite3
[Jul 28 11:37:12] INFO [localhost] gost.type=sqlite3, gost.url=, gost.SQLite3Path=/home/vulsuser/gost.sqlite3
[Jul 28 11:37:12] INFO [localhost] exploit.type=sqlite3, exploit.url=, exploit.SQLite3Path=/home/vulsuser/go-exploitdb.sqlite3
[Jul 28 11:37:12] INFO [localhost] metasploit.type=sqlite3, metasploit.url=, metasploit.SQLite3Path=/home/vulsuser/go-msfdb.sqlite3
[Jul 28 11:37:12] INFO [localhost] kevuln.type=sqlite3, kevuln.url=, kevuln.SQLite3Path=/home/vulsuser/go-kev.sqlite3
[Jul 28 11:37:12] INFO [localhost] cti.type=sqlite3, cti.url=, cti.SQLite3Path=/home/vulsuser/go-cti.sqlite3
[Jul 28 11:37:12] INFO [localhost] Loaded: /home/vulsuser/results/2022-07-28T11:10:56+09:00
[Jul 28 11:37:12] INFO [localhost] OVAL redhat 7.9.2009 found. defs: 1407
[Jul 28 11:37:12] INFO [localhost] OVAL redhat 7.9.2009 is fresh. lastModified: 2022-07-27T16:02:41+09:00
[Jul 28 11:37:12] INFO [localhost] XXXXxxxx: 64 CVEs are detected with OVAL
EROR[07-28|11:37:12] Failed to NewDB. Since SchemaVersion is incompatible, delete Database and fetch again
[Jul 28 11:37:12] ERROR [localhost] Failed to detect Pkg CVE:
github.com/future-architect/vuls/detector.Detect
/home/vulsuser/go/src/github.com/future-architect/vuls/detector/detector.go:52
- Failed to detect CVE with gost:
github.com/future-architect/vuls/detector.DetectPkgCves
/home/vulsuser/go/src/github.com/future-architect/vuls/detector/detector.go:228
- Failed to new a gost client:
github.com/future-architect/vuls/detector.detectPkgsCvesWithGost
/home/vulsuser/go/src/github.com/future-architect/vuls/detector/detector.go:457
- Failed to newGostDB. err:
github.com/future-architect/vuls/gost.NewGostClient
/home/vulsuser/go/src/github.com/future-architect/vuls/gost/gost.go:65
- Failed to init gost DB. DB Path: /home/vulsuser/gost.sqlite3, err:
github.com/future-architect/vuls/gost.newGostDB
/home/vulsuser/go/src/github.com/future-architect/vuls/gost/gost.go:97
- Failed to NewDB. Since SchemaVersion is incompatible, delete Database and fetch again.:
github.com/vulsio/gost/db.NewDB
/home/vulsuser/go/pkg/mod/github.com/vulsio/gost@v0.4.2-0.20220630181607-2ed593791ec3/db/db.go:72