View Issue Details

IDProjectCategoryView StatusLast Update
0007133Kali LinuxKali Package Bugpublic2021-09-07 07:44
ReporterRoseDeSable Assigned Tosbrun  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionno change required 
Product Versionkali-dev 
Summary0007133: gvm: cannot see reports
Description

Good Morning,
the scan is running, but I can't see reports. I receive the error message "TypeError: Z is undefined", if I click on the report. But very strange is this message in gvmd.log:

md manage:WARNING:2021-04-06 07h50.44 UTC:440352: run_report_format_script: No generate script found at /var/lib/gvm/gvmd/report_formats/generate.

The strange: The directory doesn't exist. I see only directories like "/var/lib/gvm/data-objects/gvmd/20.08/report_formats", which are synchronized by greenbone-feed-sync --type GVMD_DATA. But also here, I doen't find the file "generate".

Such a file are only found in the directory /usr/share/gvm/gvmd/report_formats/.

ls /usr/share/gvm/gvmd/report_formats/5057e5cc-b825-11e4-9d0e-28d24461215b
Anonymous_XML.xsl generate report_format.xml

The structure is completely different from this in /var/lib.

Is this a configuration or a migration problem ?

Best Regards
Rose

Activities

sbrun

sbrun

2021-06-10 08:53

manager   ~0014693

I have juste updated gvm to new version 21.4

I had a similar problem with display of scan reports. I fixed it with:
sudo runuser -u _gvm -- gvmd --rebuild

RoseDeSable

RoseDeSable

2021-06-11 11:22

reporter   ~0014698

Hello and Good News,
with the upgrade to 21.4.0-0kali2 the failure never occurs . I see all my reports.

Thanks
Rose

RoseDeSable

RoseDeSable

2021-06-14 13:20

reporter   ~0014710

Ok,
scanning and looking the reports run fine in the web gui. But, if I download a report in format text, pdf, csv, .. the file is empty. In the logfile gvmd.log I see such entries: run_report_format_script: No generate script found at /var/lib/gvm/gvmd/report_formats/generate
.
This looks like a misconfiguration or an elder procedure, which doesn't know, that all the entries reports, report_formats ... are in the postgres db for gvm. I looked into the db and find my reports and the format definition.

What's to do now ?

Bye
Rose

sbrun

sbrun

2021-09-07 07:44

manager   ~0015086

gvm has been updated to version 21.4.2.0

Issue History

Date Modified Username Field Change
2021-04-06 08:02 RoseDeSable New Issue
2021-04-07 15:02 sbrun Assigned To => sbrun
2021-04-07 15:02 sbrun Status new => assigned
2021-06-10 08:53 sbrun Note Added: 0014693
2021-06-11 11:22 RoseDeSable Note Added: 0014698
2021-06-14 13:20 RoseDeSable Note Added: 0014710
2021-06-30 08:49 g0tmi1k Priority high => normal
2021-09-07 07:44 sbrun Status assigned => closed
2021-09-07 07:44 sbrun Resolution open => no change required
2021-09-07 07:44 sbrun Note Added: 0015086