Skip to content
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

running docker exec -u mirror vulnz /mirror.sh and not seeing any data collected #284

Open
kelfink opened this issue Feb 19, 2025 · 3 comments

Comments

@kelfink
Copy link

kelfink commented Feb 19, 2025

Hi all, great project and I'm trying to make it more resilient for my team by caching the NVD data instead of downloading it each time it runs.
With the intent to kick-start mirroring to into my container, I ran this, some time ago...
% docker exec -u mirror vulnz /mirror.sh

the most I'm getting back is:

NVD API request failures are occurring; retrying request for the 7th time

I don't see any data landing in /usr/local/apache2/htdocs. From the looks of it, that's the intended location.

is this due to current issues with the NVD site?

@Maulinuxops
Copy link

You simply have to wait a few hours and - if remote servers aren't overloaded, as they usually are - it'll work. I did it last night.

I suppose the partial downloaded data gets written to a temporary directory and only when the data is complete it gets written to the output directory.

@jeremylong
Copy link
Owner

Unfortunately - at the moment the data exists in memory, not even persisted to disk. I'm working on a fix.

@kelfink
Copy link
Author

kelfink commented Feb 19, 2025

that was going to be my next question... could the persistence of those downloaded records in htdocs be shared out to a docker volume... that's the next feature on the way? Awesome if so @jeremylong

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants