-
Notifications
You must be signed in to change notification settings - Fork 155
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OpenVAS DB migration error - rev146->184: no such table: main.nvts_172 #280
Comments
Built latest stable version from source (e.g. latest OpenVAS Manager 7.0.3, etc.). Not sure, what's wrong with the Debian binary distribution. |
The problem raised with sqlite >= 3.25.0 Starting with sqlite-3.25.0 From sqlite Changelog:
Openvas migrate code:
It works well with older sqlite versions but it breaks results_autofp view with recent sqlite Workaround:
|
Perhaps I'm just a total newb, but how do I use the workaround? Is this to be used in bash or after logging in to sqlite3 or somewhere else? I'm having this problem in Ubuntu 20.04. I just upgraded from 18.04. I tried removing the package and reinstalling, but that didn't help. This seems to be the only answer available to me. I would appreciate any help you might offer. |
Error migrating a tasks.db from revision 146 to revision 184
First reported at: https://community.greenbone.net/t/openvas-db-migration-error-rev146-184-no-such-table-main-nvts-172/970
Expected behavior
openvasmd --migrate is running a successful migration
Current behavior
openvasmd --migrate fails to execute a migration step
Steps to reproduce
Happened at our site, might not be reproducible in general:
GVM versions
gsa: (gsad --version)
Greenbone Security Assistant 7.0.3
openvasmd: (openvasmd --version)
OpenVAS Manager 7.0.3
Manager DB revision 184
openvas-scanner: (openvassd --version)
OpenVAS Scanner 5.1.3
gvm-libs:
libopenvas9 (9.0.3-1)
Environment
Operating system:
$ uname -a
Linux xxx 4.15.18-8-pve #1 SMP PVE 4.15.18-28 (Tue, 30 Oct 2018 14:27:50 +0100) x86_64 GNU/Linux
Logfiles
The text was updated successfully, but these errors were encountered: