Secure-Compliance-Solutions-LLC / GVM-Docker

Greenbone Vulnerability Management Docker Image with OpenVAS
https://securecompliance.gitbook.io/projects/
MIT License
249 stars 91 forks source link

[Bug] PDF reports are corrupt #327

Closed huornlmj closed 2 years ago

huornlmj commented 2 years ago

Version 21.4.2. Reports download as PDF format are zero bytes in size.

Dexus commented 2 years ago

duplicate of #249

fix: https://github.com/Secure-Compliance-Solutions-LLC/GVM-Docker/issues/249#issuecomment-894805814

problem is the build host has to less memory so it fails.

Dexus commented 2 years ago

You can now use the https://hub.docker.com/r/deineagenturug/gvm images, which are using the latest gvmd and components releases.

It use POSTGRESQL 13.

What are meaning the tags:

docker pull deineagenturug/gvm:latest               # is an not initialized basic image, that first start its initialization on the first start (short: no db & no PDF report support)
docker pull deineagenturug/gvm:latest-full          # is an not initialized basic image, that first start its initialization on the first start (short: no db, PDF report is support)
docker pull deineagenturug/gvm:latest-data          # is an initialized basic image, that can run directly without extra VOLUMES added (short: included db, but no PDF report support)
docker pull deineagenturug/gvm:latest-data-full     # is an initialized basic image, that can run directly without extra VOLUMES added (short: included db & PDF report is support)

It can be used as direct replacement for the here provided image, with the same arguments on docker run.


PDF support is always broken if the release is build on Github runners, because of limited memory. The releases of deineagenturug/gvm are build on dedicated servers with enough memory so it should no problem anymore.