Error when trying to access "Reports", not finding vulnerabilities

GVM versions

gsad: Greenbone Security Assistant 20.08.0~git
gvmd: Greenbone Vulnerability Manager 20.08.0
openvas-scanner: OpenVAS 20.8.0
gvm-libs: gvm-libs 20.8.0

Environment

Operating system: Kali Linux 2020.4
Kernel: Linux kali 5.9.0-kali5-amd64 #1 SMP Debian 5.9.15-1kali1 (2020-12-18) x86_64 GNU/Linux
Installation method / source: https://www.agix.com.au/installing-openvas-on-kali-in-2020/ , also, applied the fix mentioned at the end of this post: Can't create a scan config (failed to find config)

So, here is the problem.

I am scanning a vulnerable machine, but, the scan completes to 100%, and it says 1 report. When I want to see reports (“127.0.0.1:9392/reports”), this error message is present: " An error occurred on this page. Please try again.", with the following details:

TypeError: s is undefined
in mG
in tbody
in t
in styled.tbody
in table
in Unknown
in t
in Styled(StripedTable)
in div
in Unknown
in t
in Styled(Layout)
in n
in Unknown
in div
in Unknown
in t
in Layout
in section
in tr
in n
in div
in Unknown
in t
in Layout
in n
in w
in Unknown
in n
in n
in w
in withRouter(Connect(n))
in n
in Unknown
in l
in w
in Unknown
in a
in n
in Unknown
in Tg
in n
in Unknown
in w
in Unknown
in t
in t
in n
in main
in t
in Main
in Unknown
in t
in withLayout(Main)
in div
in Unknown
in t
in Styled(Layout)
in n
in withRouter(n)
in Unknown
in n
in w
in withRouter(Connect(n))
in Unknown
in n
in w
in withRouter(Connect(n))
in Unknown
in t
in t
in Unknown
in Unknown
in n
in w
in l
in n
in n

mG@127.0.0.1:9392/static/js/main.435125c6.chunk.js:1:1448864
Gi@127.0.0.1:9392/static/js/2.605d6b23.chunk.js:2:684354
bc@127.0.0.1:9392/static/js/2.605d6b23.chunk.js:2:730766
us@127.0.0.1:9392/static/js/2.605d6b23.chunk.js:2:723295
cs@127.0.0.1:9392/static/js/2.605d6b23.chunk.js:2:723218
Zc@127.0.0.1:9392/static/js/2.605d6b23.chunk.js:2:720227
Vo/<@127.0.0.1:9392/static/js/2.605d6b23.chunk.js:2:671612
t.unstable_runWithPriority@127.0.0.1:9392/static/js/2.605d6b23.chunk.js:2:747199
Yo@127.0.0.1:9392/static/js/2.605d6b23.chunk.js:2:671321
Vo@127.0.0.1:9392/static/js/2.605d6b23.chunk.js:2:671559
Uo@://127.0.0.1:9392/static/js/2.605d6b23.chunk.js:2:671492
es@://127.0.0.1:9392/static/js/2.605d6b23.chunk.js:2:720518
notify@://127.0.0.1:9392/static/js/2.605d6b23.chunk.js:2:29016
u</t.notifyNestedSubs@://127.0.0.1:9392/static/js/2.605d6b23.chunk.js:2:29651
u</t.handleChangeWrapper@://127.0.0.1:9392/static/js/2.605d6b23.chunk.js:2:29719
b@://127.0.0.1:9392/static/js/2.605d6b23.chunk.js:2:115897
r/</</<@://127.0.0.1:9392/static/js/2.605d6b23.chunk.js:2:517017
dispatch@://127.0.0.1:9392/static/js/2.605d6b23.chunk.js:2:119665
u/</</</<@://127.0.0.1:9392/static/js/main.435125c6.chunk.js:1:54064

How do I fix this? Also, is there a way to install GVM without getting problems all over the place?

I removed part of the links because of link limitation for new users (https part).

Hello and welcome to the Greenbone Community Portal.

If you have a question please try to use the search function as a first step.
I think your problem is already well known and you may find help here.

Best Regards,
Jaspar

1 Like

Thank you for replying.

Yes, I have already searched for the issue, and found the same article you linked, but the solution didn’t help at all (I don’t have report_formats directory, tried to create it manually, didn’t help). I’ve also tried to apply 755 permissions to root directories of it too, but didn’t help.

Any other solutions to the problem? Do I need to provide more details, and how to do it if I do?

Please note that Greenbone isn’t involved into packaging GVM Kali or any other Linux Distribution and your user experience may vary depending on the quality of the third party integration of GVM. The Greenbone Security Manager TRIAL with Greenbone OS 20.08 now available! - Release Announcements (Greenbone Professional Ed) - Greenbone Community Forum could be an alternative, while “TRIAL” is included in the name the GSM TRIAL doesn’t have any time restrictions on it’s usage.

Concerning the error message itself:

I have seen such messages on older GVM 20.08 versions (newer ones have improved the message to be more descriptive) if the report formats used by gvmd are missing / where not correctly migrated from a previous GVM version like GVM-11.

If this is a migrated GVM setup (e.g. a previous OpenVAS / GVM version was installed) please refer to the Kali package documentation if there are any additional steps required for a migration and if the problem persists please create a new issue for the Kali package maintainer at https://bugs.kali.org.

On a fresh installation this problem AFAIK shouldn’t happen because the report formats are not migrated in that case but installed from the GVM_DATA feed. But you still can check if the report formats exists with e.g.:

$ ls <install-prefix>/var/lib/gvm/data-objects/gvmd/20.08/report_formats/

(replace <install-prefix> with the path used by Kali, i guess no install-prefix is used there)

which should return something like e.g.:

anonymous-xml-5057e5cc-b825-11e4-9d0e-28d24461215b.xml  itg-77bd6c4a-1f62-11e1-abf0-406186ea4fc5.xml  txt-a3810a62-1f62-11e1-9219-406186ea4fc5.xml
csv-results-c1645568-627a-11e3-a660-406186ea4fc5.xml    pdf-c402cc3e-b531-11e1-9163-406186ea4fc5.xml  xml-a994b278-1f62-11e1-96ac-406186ea4fc5.xml

If that folder doesn’t exist it might be possible that something went wrong during the import of the report formats so you could try to repeat the important steps for GVM 20.08 mentioned here:

1 Like