# Hosted Mender not reporting all the software versions

**URL:** <https://hub.mender.io/t/hosted-mender-not-reporting-all-the-software-versions/6164>\
**Category:** General Discussions\
**Created:** [August 28, 2023, 1:42pm UTC](https://hub.mender.io/t/hosted-mender-not-reporting-all-the-software-versions/6164 "2023-08-28T13:42:50Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![amrbekhit](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/amrbekhit/32/479_2.png) [@amrbekhit](https://hub.mender.io/u/amrbekhit)\
**Post date:** [August 28, 2023, 1:42pm UTC](https://hub.mender.io/t/hosted-mender-not-reporting-all-the-software-versions/6164/1 "2023-08-28T13:42:50Z")

</div>

Hello,

I’m experimenting with the `directory` update module that’s included in the Mender client source code. I’ve created and installed a few updates, experimenting with changing the `software-filesystem` property. However, only the latest artifact name is reported and the various `provides` are not. For example, here is the result of running the `show-provides` and `show-artifact` commands on the device:

```auto
root@OpenWrt:/data# mender show-provides 2>/dev/null
artifact_name=app-update-02
data-partition.directory.version=app-update-02
rootfs-image.directory.version=app-update
rootfs-image.version=0.3.0
root@OpenWrt:/data# mender show-artifact 2>/dev/null 
app-update-03

```

As you can see, I have a base `rootfs-image`, then I experimented with a `directory` update but without changing the `software-name` and then finally did another update but setting the `software-name` to `data-partition`.

For the server, I’m testing using the EU Hosted server with the following version information:

```auto
{"Integration":"3.6.2","Mender-Client":"3.5.1","Mender-Artifact":"3.10.1","Meta-Mender":"","Deployments":"","Deviceauth":"","Inventory":"","GUI":"3.6.2","backend":"3.6.2"}

```

The server only shows me the following software information:

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/mender/original/2X/2/243254c42f0da851de659db4cf344243bd7c6cf3.png)

Any thoughts as to why the other software versions are not being displayed?

---

<div class="post-metadata">

**Author:** ![amrbekhit](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/amrbekhit/32/479_2.png) [@amrbekhit](https://hub.mender.io/u/amrbekhit)\
**Post date:** [September 7, 2023, 1:24pm UTC](https://hub.mender.io/t/hosted-mender-not-reporting-all-the-software-versions/6164/2 "2023-09-07T13:24:15Z")

</div>

_Bump_ Any ideas?

---

<div class="post-metadata">

**Author:** ![lramirez](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/lramirez/32/1195_2.png) [@lramirez](https://hub.mender.io/u/lramirez)\
**Post date:** [September 7, 2023, 2:51pm UTC](https://hub.mender.io/t/hosted-mender-not-reporting-all-the-software-versions/6164/3 "2023-09-07T14:51:01Z")

</div>

Do you have the file `/usr/share/mender/inventory/mender-inventory-provides` ?

If not, just create it and its content should look like this:

```bash
#!/bin/sh

# Returns the current list of providees for the devices, using
# the Mender client's `show-provides` command

set -e

/usr/bin/mender show-provides

exit 0

```

It should be part of a Yocto build and our deb package. I recently discovered Buildroot (and maybe others) don’t have it by default. I just submitted a PR to the Buildroot community.

---

<div class="post-metadata">

**Author:** ![amrbekhit](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/amrbekhit/32/479_2.png) [@amrbekhit](https://hub.mender.io/u/amrbekhit)\
**Post date:** [September 7, 2023, 4:00pm UTC](https://hub.mender.io/t/hosted-mender-not-reporting-all-the-software-versions/6164/4 "2023-09-07T16:00:42Z")

</div>

Thanks, that was the trick! This is indeed a custom integration into Openwrt/Buildroot.
