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 Report is not fixed #268

Closed rudnypc closed 3 years ago

rudnypc commented 3 years ago

Hi,

When I try to download a PDF report, the report is 0 bytes, I'm using the image "21.4.3-v1-data-full". I have to run that command: https://github.com/Secure-Compliance-Solutions-LLC/GVM-Docker/issues/249#issuecomment-894805814

DOCKERHUB image

MY STACK: image

austinsonger commented 3 years ago

@rudnypc If you don't fill out the bug template completely we won't be able to help you.

rudnypc commented 3 years ago

Describe the bug When I try to download a PDF report, the report is 0 bytes, I'm using the image "21.4.3-v1-data-full".

To Reproduce Steps to reproduce the behavior:

  1. Deploy the gvm
  2. Scan your network
  3. Ttry to download the latest report in pdf

Expected behavior I would like a complete report.

Screenshots If applicable, add screenshots to help explain your problem. image image

Host Device:

Image in use:



**Additional context**
rlljorge commented 3 years ago

Hi there, I have the same issue in 21.4.3-v1 image.

rlljorge commented 3 years ago

Hi there, I have the same issue in 21.4.3-v1 image.

This work for me https://github.com/Secure-Compliance-Solutions-LLC/GVM-Docker/issues/249#issuecomment-894805814

Dexus commented 3 years ago

It looks badly like a memory shortage on the build system, because this never happened on a 16GB ram system and only on the GitHub servers… with ~2GB ram.

Von meinem iPhone gesendet

Am 22.09.2021 um 16:38 schrieb SOC-LaneWan @.***>:

 Hi there, I have the same issue in 21.4.3-v1 image.

This worked for me too. #249 (comment) Had the same issue.

Thanks 👍

— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub, or unsubscribe.

DaniloMussolini commented 3 years ago

I don't think this is related to RAM limitations. My system has 24GB of RAM, running only this container and I'm getting the same 0 byte issue when exporting PDF.

DaniloMussolini commented 3 years ago

Ok! It's working here now after installing the addon package:

apk add texmf-dist-latexextra

austinsonger commented 3 years ago

@DaniloMussolini

Doesn't make sense... It's already listed here.

rudnypc commented 3 years ago

Hi there, I have the same issue in 21.4.3-v1 image.

This work for me #249 (comment)

I merge that fix with all entrypoint code after that I mapped the entrypoint file to /entrypoint.sh . everything works fine now

nickdtong commented 3 years ago

@rudnypc How do you map the entrypoint file?

nickdtong commented 3 years ago

Nevermind, I got it guys. I ran the line apk add --no-cache --allow-untrusted texlive texmf-dist-latexextra texmf-dist-fontsextra It seems that you need to install all three packages instead of just the one.

austinsonger commented 3 years ago

Have switch to Debian. Closing this.

Dexus commented 2 years ago

We have found another bug that related to the PDF Reports that we track on https://github.com/DeineAgenturUG/greenbone-gvm-openvas-for-docker/issues/9