# Directory update gets spontaneously reverted

**URL:** <https://hub.mender.io/t/directory-update-gets-spontaneously-reverted/4613>\
**Category:** General Discussions\
**Tags:** raspberry-pi-4\
**Created:** [February 15, 2022, 7:40am UTC](https://hub.mender.io/t/directory-update-gets-spontaneously-reverted/4613 "2022-02-15T07:40:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![g-bulgarit](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/g-bulgarit/32/1501_2.png) [@g-bulgarit](https://hub.mender.io/u/g-bulgarit)\
**Post date:** [February 15, 2022, 7:40am UTC](https://hub.mender.io/t/directory-update-gets-spontaneously-reverted/4613/1 "2022-02-15T07:40:54Z")

</div>

Hey there!

I’ve encountered a bug on a system that had been updated multiple times with directory updates in the course of a year.

It appears like the device downgraded itself to a very old software version, **without** a deployment being issued from the hosted control panel.  
Curiously, I don’t see any record for this downgrade in the finished deployments tab on hosted mender.  
Sadly, by the time I noticed, the logs for `mender-client` had rolled over so I can’t see exactly what happened in the relevant time frame.

Has anyone encountered a similar issue before?  
Any clues where I can look? i.e which logs could be insightful apart from the `mender-client` logs

Some data:

- Running hosted mender, with mender client version 3.0.0
- The device is a Raspberry Pi 4
- I’m only pushing **directory** updates to the device

Thanks!

---

<div class="post-metadata">

**Author:** ![eystein](https://avatars.discourse-cdn.com/v4/letter/e/e5b9ba/32.png) [@eystein](https://hub.mender.io/u/eystein)\
**Post date:** [February 16, 2022, 6:55pm UTC](https://hub.mender.io/t/directory-update-gets-spontaneously-reverted/4613/2 "2022-02-16T18:55:10Z")

</div>

Hello @g-bulgarit ,

This sounds strange, and should not happen…

It is hard to diagnose without any logs, my guess would be that an unrelated deployment (e.g. full system update) has overwritten your directory update on the device. It depends on how you see that the device has downgraded, is it based on the file system itself or the versions reported ?

---

<div class="post-metadata">

**Author:** ![g-bulgarit](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/g-bulgarit/32/1501_2.png) [@g-bulgarit](https://hub.mender.io/u/g-bulgarit)\
**Post date:** [February 17, 2022, 5:10am UTC](https://hub.mender.io/t/directory-update-gets-spontaneously-reverted/4613/3 "2022-02-17T05:10:29Z")

</div>

I see that the device had downgraded in the ‘current software’ tab, which also corresponds with the files on the filesystem belonging to a very old update. I’ve never pushed any full-system-updates.

Even though both of these things exist, the finished-deployments tab (where I see finished updates to my entire device fleet) does **not** indicate that an update was issued / had been completed.

I’m monitoring the device more closely, to hopefully catch this early if it happens again, so that I will have some logs to examine…

---

<div class="post-metadata">

**Author:** ![lincolnxlw](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/lincolnxlw/32/1491_2.png) [@lincolnxlw](https://hub.mender.io/u/lincolnxlw)\
**Post date:** [February 21, 2022, 11:20pm UTC](https://hub.mender.io/t/directory-update-gets-spontaneously-reverted/4613/4 "2022-02-21T23:20:29Z")

</div>

Hi @g-bulgarit,

Were you able to confirm whether the device actually downgraded to a older software by logging into it directly? Or the hosted Mender is showing a wrong version.
