Skip to content
This repository has been archived by the owner on Jan 6, 2023. It is now read-only.

release 5.6.4 requires a full wipe of database #40

Open
ereshetova opened this issue Apr 18, 2016 · 5 comments
Open

release 5.6.4 requires a full wipe of database #40

ereshetova opened this issue Apr 18, 2016 · 5 comments

Comments

@ereshetova
Copy link

After upgrading to version 5.6.4 from the previous one, when a tool tries to update the database, this happens:

process_node(): attempt to write to a readonly database
process_node(): attempt to write to a readonly database
process_node(): attempt to write to a readonly database
process_node(): attempt to write to a readonly database
process_node(): attempt to write to a readonly database
....

many times

The issue is not visible if the database if fully wiped and downloaded from fresh by the 5.6.4 version.

@ikeydoherty
Copy link
Contributor

Apologies I wasn't aware of that. I'd already purged my old files in trying to fix the issue of NVD URI

@ikeydoherty
Copy link
Contributor

^ Wrong button pushed. So yeah I'll go back to the old cve-check-tool and find a way to detect the break, and implement a workaround if possible.

@ereshetova
Copy link
Author

I don't know how much effort this is worth, since I guess we can just wipe out the old db from the builders, but wanted to report it here since other people might see the same issue.

@ikeydoherty
Copy link
Contributor

OK so the new tool is going to correct the faults of the old - and I've begun this with a migration scheme:

ff8259c
6effceb

Note there are big differences between the old DB and the new DB - hence the format bump.
186MB vs 26MB

Legacy database has the suffix: nvd.db
New format now has: nvd-1.db

@ikeydoherty
Copy link
Contributor

Also we should keep this issue open until the new tool is released, just so others are aware, like you said :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants