# Missing GVM\_DATA in GSA

**URL:** <https://forum.greenbone.net/t/missing-gvm-data-in-gsa/10124>\
**Category:** Greenbone Community Edition\
**Created:** [September 9, 2021, 10:29am UTC](https://forum.greenbone.net/t/missing-gvm-data-in-gsa/10124 "2021-09-09T10:29:34Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![ApiDevMarc](https://forum.greenbone.net/letter_avatar/apidevmarc/32/6_449c533f586939b6e5f246632a46421f.png) [@ApiDevMarc](https://forum.greenbone.net/u/ApiDevMarc)\
**Post date:** [September 9, 2021, 10:29am UTC](https://forum.greenbone.net/t/missing-gvm-data-in-gsa/10124/1 "2021-09-09T10:29:34Z")

</div>

Hi everyone,  
I got a Problem with my GVM DATA.  
In /var/lib/gvm/data-objects/gvmd is all the data for 20.08, 21.04 and 21.10 and the Version is 202108091427.  
But on the Web Interface is still no data… The compliance guidelines, port lists, report formats and scan configurations are empty.  
It seems like the GSA don’t use this data in var/lib/gvm/data-objects/gvmd.

I did all the commands to get the data but it will not appear in the GSA.  
greenbone-feed-sync --type GVMD\_DATA  
greenbone-feed-sync --type SCAP  
greenbone-feed-sync --type CERT  
# and i tried it with the rsync command too  
rsync -avrP rsync://feed.community.greenbone.net:/data-objects/gvmd/ .  
reboot

### GVM versions

**gsad:** 21.4.2  
**gvmd:** 21.4.3  
**openvas-scanner:** 21.4.2  
**gvm-libs:** 21.4.2

### Environment

**Operating system:** Alpine Linux v3.14  
**Kernel:** 5.3.18-lp152.75-default

I hope someone can help me with this issue.  
Thanks!

---

<div class="post-metadata">

**Author:** ![AleWit](https://forum.greenbone.net/letter_avatar/alewit/32/6_449c533f586939b6e5f246632a46421f.png) [@AleWit](https://forum.greenbone.net/u/AleWit)\
**Post date:** [September 9, 2021, 12:55pm UTC](https://forum.greenbone.net/t/missing-gvm-data-in-gsa/10124/2 "2021-09-09T12:55:32Z")

</div>

Same issue over here …

---

<div class="post-metadata">

**Author:** ![ApiDevMarc](https://forum.greenbone.net/letter_avatar/apidevmarc/32/6_449c533f586939b6e5f246632a46421f.png) [@ApiDevMarc](https://forum.greenbone.net/u/ApiDevMarc)\
**Post date:** [September 9, 2021, 1:06pm UTC](https://forum.greenbone.net/t/missing-gvm-data-in-gsa/10124/5 "2021-09-09T13:06:58Z")

</div>

Hmm… Maybe GSA is looking for a different path than var/lib/gvm/data-objects/gvmd

---

<div class="post-metadata">

**Author:** ![Itcracker](https://forum.greenbone.net/letter_avatar/itcracker/32/6_449c533f586939b6e5f246632a46421f.png) [@Itcracker](https://forum.greenbone.net/u/Itcracker)\
**Post date:** [September 9, 2021, 3:28pm UTC](https://forum.greenbone.net/t/missing-gvm-data-in-gsa/10124/6 "2021-09-09T15:28:33Z")

</div>

Hi @ApiDevMarc,

Please try to use these commands instead\>

1.# sudo gvm-stop  
2.# sudo runuser -u \_gvm – greenbone-nvt-sync --rsync

2.1#NOTE: The \_gvm is the gmv’s user name, so you need to replace it with your user name you created

3.# sudo greenbone-scapdata-sync  
4.# sudo greenbone-certdata-sync  
5.# sudo reboot

---

<div class="post-metadata">

**Author:** ![ApiDevMarc](https://forum.greenbone.net/letter_avatar/apidevmarc/32/6_449c533f586939b6e5f246632a46421f.png) [@ApiDevMarc](https://forum.greenbone.net/u/ApiDevMarc)\
**Post date:** [September 9, 2021, 3:41pm UTC](https://forum.greenbone.net/t/missing-gvm-data-in-gsa/10124/7 "2021-09-09T15:41:04Z")

</div>

Thanks, but the first commands doesn’t exists.  
I executed as root:

> ```
> su -c "greenbone-nvt-sync --rsync" gvm
> greenbone-scapdata-sync
> greenbone-certdata-sync
> reboot
> 
> ```

But this makes no change… The data is still emtpy in the GSA

---

<div class="post-metadata">

**Author:** ![Itcracker](https://forum.greenbone.net/letter_avatar/itcracker/32/6_449c533f586939b6e5f246632a46421f.png) [@Itcracker](https://forum.greenbone.net/u/Itcracker)\
**Post date:** [September 9, 2021, 6:01pm UTC](https://forum.greenbone.net/t/missing-gvm-data-in-gsa/10124/8 "2021-09-09T18:01:11Z")

</div>

Hi @ApiDevMarc,

The fist command your wrote is different of the command I shared with you, this is the command I shared:  
 ![5](https://community.greenbone.net/uploads/default/original/2X/8/8d49dbd90c353133fe84bec6c76a8f9ee0b04915.png)

---

<div class="post-metadata">

**Author:** ![ApiDevMarc](https://forum.greenbone.net/letter_avatar/apidevmarc/32/6_449c533f586939b6e5f246632a46421f.png) [@ApiDevMarc](https://forum.greenbone.net/u/ApiDevMarc)\
**Post date:** [September 10, 2021, 12:11pm UTC](https://forum.greenbone.net/t/missing-gvm-data-in-gsa/10124/9 "2021-09-10T12:11:13Z")

</div>

Sorry, but as i already mentioned. These two commands are not available.

---

<div class="post-metadata">

**Author:** ![dsimons](https://forum.greenbone.net/letter_avatar/dsimons/32/6_449c533f586939b6e5f246632a46421f.png) [@dsimons](https://forum.greenbone.net/u/dsimons)\
**Post date:** [September 13, 2021, 4:00pm UTC](https://forum.greenbone.net/t/missing-gvm-data-in-gsa/10124/10 "2021-09-13T16:00:50Z")

</div>

Same trouble here it seems.  
Greenbone Community gvmd Data Feed  
**20210809T1427** Too old (34 days) Please check the automatic synchronization of your system.  
the other feeds are current or a couple days old.

---

<div class="post-metadata">

**Author:** ![unretired](https://forum.greenbone.net/user_avatar/forum.greenbone.net/unretired/32/3495_2.png) [@unretired](https://forum.greenbone.net/u/unretired)\
**Post date:** [September 14, 2021, 5:31pm UTC](https://forum.greenbone.net/t/missing-gvm-data-in-gsa/10124/11 "2021-09-14T17:31:38Z")

</div>

I think your issue is that the GVMD\_DATA feed does regularly have new data to sync with, so the update “looks” broken. So far, it has been 35 days with no new data. just let it ride…

---

<div class="post-metadata">

**Author:** ![ApiDevMarc](https://forum.greenbone.net/letter_avatar/apidevmarc/32/6_449c533f586939b6e5f246632a46421f.png) [@ApiDevMarc](https://forum.greenbone.net/u/ApiDevMarc)\
**Post date:** [September 15, 2021, 12:14pm UTC](https://forum.greenbone.net/t/missing-gvm-data-in-gsa/10124/12 "2021-09-15T12:14:54Z")

</div>

> [@unretired](#):
>
> n 35 days with no new data. just let it ride…

Yes but in my path /var/lib/gvm/data-objects/gvmd is the data for the scan configs, port lists and report formats. The Problem is that gvmd dont load this data to the gsa…

---

<div class="post-metadata">

**Author:** ![unretired](https://forum.greenbone.net/user_avatar/forum.greenbone.net/unretired/32/3495_2.png) [@unretired](https://forum.greenbone.net/u/unretired)\
**Post date:** [September 15, 2021, 5:13pm UTC](https://forum.greenbone.net/t/missing-gvm-data-in-gsa/10124/13 "2021-09-15T17:13:17Z")

</div>

sorry ApiDevMarc, i picked this email chain up in the middle and did not get to see the email the preceded the one that i responded to.

i’ve built and rebuilt my GVM multiple times, following everyone’s ideas of “how to make it work”, until i hit on OFFICIAL DOCUMENTATION at [https://greenbone.github.io/docs/gvm-21.04/index.html#](https://greenbone.github.io/docs/gvm-21.04/index.html#)

honestly, don’t know why that is so well hidden. OFFICIAL DOCUMENTATION changed my world.

you are not currently using Kali (why not? come with cool stuff), so your script locations are different.

find the scripts. Kali 2021.3 put them here:  
/usr/bin/greenbone-nvt-sync  
/usr/sbin/greenbone-feed-sync  
/usr/sbin/greenbone-certdata-sync  
/usr/sbin/greenbone-scapdata-sync

run the scripts manually to verify they work:  
sudo -u \_gvm greenbone-nvt-sync  
sudo -u \_gvm greenbone-feed-sync --type SCAP  
sudo -u \_gvm greenbone-feed-sync --type CERT  
sudo -u \_gvm greenbone-feed-sync --type GVMD\_DATA

heed the OFFICIAL DOCUMENTATION’s warning to never run the scripts as root, or you can jack up file permissions. that’s why greenbone suggested making user -gvm to do the work.

when you can manually update, add the tasks to \_gvm’s cron job. be sure to space out the four tasks so that they don’t overlap.

i’m more a microsoft guy than a linux guy, but i’ve built and rebuilt about 30-40 linux servers. we are working with “free” products here; if you break your server, just delete it and make a new one. keep good notes and the rebuilds are fast.

---

<div class="post-metadata">

**Author:** ![heewey](https://forum.greenbone.net/user_avatar/forum.greenbone.net/heewey/32/1770_2.png) [@heewey](https://forum.greenbone.net/u/heewey)\
**Post date:** [September 16, 2021, 11:27am UTC](https://forum.greenbone.net/t/missing-gvm-data-in-gsa/10124/14 "2021-09-16T11:27:52Z")

</div>

> [@ApiDevMarc](#):
>
> Yes but in my path /var/lib/gvm/data-objects/gvmd is the data for the scan configs, port lists and report formats. The Problem is that gvmd dont load this data to the gsa…

Hi, it seems to be such a general problem to sync feed GVMD\_DATA since version 20210809T1427

If someone is able to successfully sync GVMD\_DATA after this timestamp, please share with us your “how-to”.

---

<div class="post-metadata">

**Author:** ![cfi](https://forum.greenbone.net/letter_avatar/cfi/32/6_449c533f586939b6e5f246632a46421f.png) [@cfi](https://forum.greenbone.net/u/cfi)\
**Post date:** [September 16, 2021, 12:00pm UTC](https://forum.greenbone.net/t/missing-gvm-data-in-gsa/10124/15 "2021-09-16T12:00:09Z")

</div>

Just to avoid confusion:

A “Missing GVMD\_DATA” in GSA (which was reported by the OP) is something completely different then a “GVMD\_DATA too old” (which now has been reported by others here mixing two different topics in one).

For the latter please see e.g. the following posts for some background info:

> **[GVMD\_DATA Too old (36 days) Please check the automatic synchronization of...](https://forum.greenbone.net/t/gvmd-data-too-old-36-days-please-check-the-automatic-synchronization-of-your-system/8246/2)**
>
> I can confirm that 20201229T1458 is the most recent GVMD\_DATA version there is. I’m sorry the " Too old" evaluation was programmed without the GVMD\_DATA feed in mind. It’s triggered after 3 days. The GVMD\_DATA feed is not refreshed regularly...

> **[GVMD\_DATA Too old (36 days) Please check the automatic synchronization of...](https://forum.greenbone.net/t/gvmd-data-too-old-36-days-please-check-the-automatic-synchronization-of-your-system/8246/4)**
>
> Maybe “GVMD\_DATA feed is not refreshed regularly unlike the other three feeds” was confusingly worded. The problem is not that the sync is not attempted often enough. The problem is that the sync will only succeed if there are any new data on the...

---

<div class="post-metadata">

**Author:** ![ApiDevMarc](https://forum.greenbone.net/letter_avatar/apidevmarc/32/6_449c533f586939b6e5f246632a46421f.png) [@ApiDevMarc](https://forum.greenbone.net/u/ApiDevMarc)\
**Post date:** [September 16, 2021, 12:09pm UTC](https://forum.greenbone.net/t/missing-gvm-data-in-gsa/10124/16 "2021-09-16T12:09:46Z")

</div>

Thats true!  
As i already mention, the syncs work on my deployment. But this data is missing in the webui. I think that gvmd don’t load this data to the postgres… So gsa has no gvm data but the right versionsnumber.

---

<div class="post-metadata">

**Author:** ![heewey](https://forum.greenbone.net/user_avatar/forum.greenbone.net/heewey/32/1770_2.png) [@heewey](https://forum.greenbone.net/u/heewey)\
**Post date:** [September 16, 2021, 12:42pm UTC](https://forum.greenbone.net/t/missing-gvm-data-in-gsa/10124/17 "2021-09-16T12:42:32Z")

</div>

Hi,

I´m still confusing,

As is described in your first comment - GVMD\_DATA synchronization from the command line

`greenbone-feed-sync --type GVMD_DATA` goes through, and in in path /var/lib/gvm/data-objects/gvmd/ was updated file “feed.xml” exactly to the same timestamp when the scrips is finnished and it contains:

`<feed id="6315d194-4b6a-11e7-a570-28d24461215b">`  
`<type>GVMD_DATA</type>`  
`<name>Greenbone Community gvmd Data Feed</name>`  
`<version>202108091427</version>`  
`<vendor>Greenbone Networks GmbH</vendor>`  
`<home>https://community.greenbone.net/t/about-greenbone-community-feed-gcf/1224</home>`  
`<description>`  
`This script synchronizes a GVMD_DATA collection with the 'Greenbone Community gvmd Data Feed'.`  
`The 'Greenbone Community gvmd Data Feed' is provided by 'Greenbone Networks GmbH'.`  
`Online information about this feed: 'https://community.greenbone.net/t/about-greenbone-community-feed-gcf/1224'.`  
`</description>`  
`</feed>`

Then I changed the part `<version>202108091427</version>` in this file to i.e. 202109091200 the GSA immediately shows the same info in the version.

 ![gsa_gvmd_data](https://community.greenbone.net/uploads/default/original/2X/9/9abddb866cea7447a6f93d431414fb4e52104818.png)

Then this is how to cheat to avoid the message, but not fixing the cause - which is a broken mechanism to write in feed.xml.

---

<div class="post-metadata">

**Author:** ![ApiDevMarc](https://forum.greenbone.net/letter_avatar/apidevmarc/32/6_449c533f586939b6e5f246632a46421f.png) [@ApiDevMarc](https://forum.greenbone.net/u/ApiDevMarc)\
**Post date:** [September 16, 2021, 12:48pm UTC](https://forum.greenbone.net/t/missing-gvm-data-in-gsa/10124/18 "2021-09-16T12:48:54Z")

</div>

> [@heewey](#):
>
> `greenbone-feed-sync --type GVMD_DATA` goes through, and in in path /var/lib/gvm/data-objects/gvmd/ was updated file “feed.xml” exactly to the same timestamp when the scrips is finnished and it contains:

I agree with you. But what is the reason for renaming the version to “202109091200”? Just to avoid the message “Too old (38 days) Please check the automatic synchronization of your system”?  
And do you have the data in your gsa? because mine is empty…  
 ![image](https://forum.greenbone.net/uploads/default/original/2X/3/3240702acea0fb94f1992d8786622d5fdccf9084.png)

---

<div class="post-metadata">

**Author:** ![heewey](https://forum.greenbone.net/user_avatar/forum.greenbone.net/heewey/32/1770_2.png) [@heewey](https://forum.greenbone.net/u/heewey)\
**Post date:** [September 16, 2021, 12:52pm UTC](https://forum.greenbone.net/t/missing-gvm-data-in-gsa/10124/19 "2021-09-16T12:52:08Z")

</div>

My data seems to be processed correctly in GSA.

 ![gsa_gvmd_data2](https://community.greenbone.net/uploads/default/original/2X/9/96bafcb64745b96fdf1c6b18c4be63540c5f3da6.png)

---

<div class="post-metadata">

**Author:** ![heewey](https://forum.greenbone.net/user_avatar/forum.greenbone.net/heewey/32/1770_2.png) [@heewey](https://forum.greenbone.net/u/heewey)\
**Post date:** [September 16, 2021, 12:53pm UTC](https://forum.greenbone.net/t/missing-gvm-data-in-gsa/10124/20 "2021-09-16T12:53:22Z")

</div>

You can try to move data from this location and try the sync once again.

---

<div class="post-metadata">

**Author:** ![heewey](https://forum.greenbone.net/user_avatar/forum.greenbone.net/heewey/32/1770_2.png) [@heewey](https://forum.greenbone.net/u/heewey)\
**Post date:** [September 21, 2021, 10:05am UTC](https://forum.greenbone.net/t/missing-gvm-data-in-gsa/10124/21 "2021-09-21T10:05:29Z")

</div>

Hello,

could someone confirm the mechanism, when the DVMD\_DATA content is downloaded, the source feed.xml is updated and the content of this file is “non changed” - same timestamp 202108091427

It seems to be that the source feed.xml is still broken.  
How to initialize review on the COMUNITY source?

Thanks for any clue.

---

<div class="post-metadata">

**Author:** ![bricks](https://forum.greenbone.net/user_avatar/forum.greenbone.net/bricks/32/46_2.png) [@bricks](https://forum.greenbone.net/u/bricks)\
**Post date:** [September 21, 2021, 2:36pm UTC](https://forum.greenbone.net/t/missing-gvm-data-in-gsa/10124/22 "2021-09-21T14:36:46Z")

</div>

The feed.xml files are getting written by the greenbone-feed-sync script (see [https://github.com/greenbone/gvmd/blob/gvmd-21.04/tools/greenbone-feed-sync.in#L253](https://github.com/greenbone/gvmd/blob/gvmd-21.04/tools/greenbone-feed-sync.in#L253)). The data from these feed.xml files gets parsed by gvmd to show the feed information (see [https://github.com/greenbone/gvmd/blob/gvmd-21.04/src/gmp.c#L12516](https://github.com/greenbone/gvmd/blob/gvmd-21.04/src/gmp.c#L12516)).

[Next page](https://forum.greenbone.net/t/missing-gvm-data-in-gsa/10124.md?page=2)
