# Mender install artifacts have file size=0

**URL:** https://hub.mender.io/t/mender-install-artifacts-have-file-size-0/2447
**Category:** General Discussions
**Created:** [September 14, 2020, 7:00pm UTC](https://hub.mender.io/t/mender-install-artifacts-have-file-size-0/2447 "2020-09-14T19:00:35Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![edzeppelin](https://avatars.discourse-cdn.com/v4/letter/e/bc8723/32.png) [@edzeppelin](https://hub.mender.io/u/edzeppelin)
#### Post date: [September 14, 2020, 7:00pm UTC](https://hub.mender.io/t/mender-install-artifacts-have-file-size-0/2447/1 "2020-09-14T19:00:35Z")

</div>

I’m running mender-2.1.1 on an RPI3B and have ran into an odd behaviour. All mender files have zero size in my .sdimg.  
ls -l /mnt/etc/mender/  
total 4  
-rw-r–r-- 1 root root 0 jun 26 10:48 artifact\_info  
-rw-r–r-- 1 dev dev 0 dec 9 2019 mender.conf  
drwxr-xr-x 2 root root 4096 sep 14 20:44 scripts  
-rw-r–r-- 1 dev dev 0 dec 9 2019 server.crt

The same goes for /usr/bin/mender and the associated systemd service file.  
There are no errors reported while building. I’m building on warrior.  
The really odd thing is that this all used to work just fine, and seemed to start occurring a couple of months ago (noticed this only today when deploying a new device).  
I haven’t done anything consciously w.r.t this.  
Anyone seen something like this?

---

<div class="post-metadata">

### Author: ![kacf](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/kacf/32/146_2.png) [@kacf](https://hub.mender.io/u/kacf)
#### Post date: [September 15, 2020, 6:19am UTC](https://hub.mender.io/t/mender-install-artifacts-have-file-size-0/2447/2 "2020-09-15T06:19:30Z")

</div>

I haven’t, but I’d start with deleting `sstate-cache` and `tmp` in the build directory, just to make sure the build caching mechanism isn’t the culprit.

---

<div class="post-metadata">

### Author: ![edzeppelin](https://avatars.discourse-cdn.com/v4/letter/e/bc8723/32.png) [@edzeppelin](https://hub.mender.io/u/edzeppelin)
#### Post date: [September 15, 2020, 11:23am UTC](https://hub.mender.io/t/mender-install-artifacts-have-file-size-0/2447/3 "2020-09-15T11:23:46Z")

</div>

You’re right! Deleting tmp didn’t do the trick. Removal of the sstate-cache did.  
I must’ve had a serious server crash sometime in the spring that corrupted the state cache in a scientific manner 🙂

Thank you!
