# Even though I assign the same version of the project to Nexus in each installation, it does not completely delete the previous one. disk keeps filling up

**URL:** <https://community.sonatype.com/t/even-though-i-assign-the-same-version-of-the-project-to-nexus-in-each-installation-it-does-not-completely-delete-the-previous-one-disk-keeps-filling-up/11370>\
**Category:** Sonatype Nexus Repository\
**Tags:** nexus-repository, nexus\
**Created:** [September 28, 2023, 8:13am UTC](https://community.sonatype.com/t/even-though-i-assign-the-same-version-of-the-project-to-nexus-in-each-installation-it-does-not-completely-delete-the-previous-one-disk-keeps-filling-up/11370 "2023-09-28T08:13:54Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![zoroglu](https://avatars.discourse-cdn.com/v4/letter/z/ad7895/32.png) [@zoroglu](https://community.sonatype.com/u/zoroglu)\
**Post date:** [September 28, 2023, 8:13am UTC](https://community.sonatype.com/t/even-though-i-assign-the-same-version-of-the-project-to-nexus-in-each-installation-it-does-not-completely-delete-the-previous-one-disk-keeps-filling-up/11370/1 "2023-09-28T08:13:54Z")

</div>

Even though I assign the same version of the project to Nexus in each installation, it does not completely delete the previous one. disk keeps filling up

I upload my projects to Nexus with kaniko. When I throw in my same version projects, it does not delete the previous images that I have not used, that is, it does not overwrite them.

```auto
first I pushed: authentication:0.0.1.alpha.1 Disk Usage: 14.1 GB 
second I pushed: authentication:0.0.1.alpha.1 Disk Usage: 14.7 GB
third I pushed: authentication:0.0.1.alpha.1 Disk Usage: 15.3 GB

```

**I selected Allow redeploy for the Deploy policy for the repository on Nexus.**  
After then  
**I run “Compact blob store”**  
**But there is still a difference of 360 mb.**  
`Disk Usage: 14.9 GB`

The disk keeps filling up. What I expect is for it to overwrite automatically. How can I get it to overwrite automatically on Nexus?

 ![Screenshot from 2023-09-28 11-03-15](https://canada1.discourse-cdn.com/flex047/uploads/communitysonatype/original/2X/d/d624913e5af72e27181eac659fa0326afa4d5511.png)

---

<div class="post-metadata">

**Author:** ![mprescott](https://yyz1.discourse-cdn.com/flex047/user_avatar/community.sonatype.com/mprescott/32/178_2.png) [@mprescott](https://community.sonatype.com/u/mprescott)\
**Post date:** [September 28, 2023, 10:52am UTC](https://community.sonatype.com/t/even-though-i-assign-the-same-version-of-the-project-to-nexus-in-each-installation-it-does-not-completely-delete-the-previous-one-disk-keeps-filling-up/11370/2 "2023-09-28T10:52:45Z")

</div>

Look into “compact blob store”, that will reclaim the space from the assets that have been replaced.

---

<div class="post-metadata">

**Author:** ![zoroglu](https://avatars.discourse-cdn.com/v4/letter/z/ad7895/32.png) [@zoroglu](https://community.sonatype.com/u/zoroglu)\
**Post date:** [September 28, 2023, 10:55am UTC](https://community.sonatype.com/t/even-though-i-assign-the-same-version-of-the-project-to-nexus-in-each-installation-it-does-not-completely-delete-the-previous-one-disk-keeps-filling-up/11370/3 "2023-09-28T10:55:18Z")

</div>

@mprescott Thank you for answer, I run “Compact blob store” (I forgot to write this situation, I will edit it again.)  
But there is still a difference of 360 mb.

Disk Usage: 14.9 GB

---

<div class="post-metadata">

**Author:** ![mpiggott](https://avatars.discourse-cdn.com/v4/letter/m/f0a364/32.png) [@mpiggott](https://community.sonatype.com/u/mpiggott)\
**Post date:** [September 28, 2023, 1:55pm UTC](https://community.sonatype.com/t/even-though-i-assign-the-same-version-of-the-project-to-nexus-in-each-installation-it-does-not-completely-delete-the-previous-one-disk-keeps-filling-up/11370/4 "2023-09-28T13:55:29Z")

</div>

There is also a docker garbage collection task which can remove unreferenced layers.

---

<div class="post-metadata">

**Author:** ![zoroglu](https://avatars.discourse-cdn.com/v4/letter/z/ad7895/32.png) [@zoroglu](https://community.sonatype.com/u/zoroglu)\
**Post date:** [September 28, 2023, 2:21pm UTC](https://community.sonatype.com/t/even-though-i-assign-the-same-version-of-the-project-to-nexus-in-each-installation-it-does-not-completely-delete-the-previous-one-disk-keeps-filling-up/11370/5 "2023-09-28T14:21:32Z")

</div>

Can you tell me the task you mentioned? Where can I find it under the Tasks tab on Nexus?? @mpiggott

---

<div class="post-metadata">

**Author:** ![mpiggott](https://avatars.discourse-cdn.com/v4/letter/m/f0a364/32.png) [@mpiggott](https://community.sonatype.com/u/mpiggott)\
**Post date:** [September 28, 2023, 5:21pm UTC](https://community.sonatype.com/t/even-though-i-assign-the-same-version-of-the-project-to-nexus-in-each-installation-it-does-not-completely-delete-the-previous-one-disk-keeps-filling-up/11370/6 "2023-09-28T17:21:30Z")

</div>

[https://help.sonatype.com/repomanager3/nexus-repository-administration/tasks](https://help.sonatype.com/repomanager3/nexus-repository-administration/tasks)

---

<div class="post-metadata">

**Author:** ![zoroglu](https://avatars.discourse-cdn.com/v4/letter/z/ad7895/32.png) [@zoroglu](https://community.sonatype.com/u/zoroglu)\
**Post date:** [October 3, 2023, 6:45am UTC](https://community.sonatype.com/t/even-though-i-assign-the-same-version-of-the-project-to-nexus-in-each-installation-it-does-not-completely-delete-the-previous-one-disk-keeps-filling-up/11370/7 "2023-10-03T06:45:54Z")

</div>

I looked, but I couldn’t see ‘docker garbage collection task’ you mentioned.
