# Clear helm cache from rancher

**URL:** <https://forums.suse.com/t/clear-helm-cache-from-rancher/15055>\
**Category:** General\
**Created:** [August 14, 2019, 11:56am UTC](https://forums.suse.com/t/clear-helm-cache-from-rancher/15055 "2019-08-14T11:56:40Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![sergey](https://avatars.discourse-cdn.com/v4/letter/s/9fc348/32.png) [@sergey](https://forums.suse.com/u/sergey)\
**Post date:** [August 14, 2019, 11:56am UTC](https://forums.suse.com/t/clear-helm-cache-from-rancher/15055/1 "2019-08-14T11:56:40Z")

</div>

Hello.

I’m exploring Helm charts for usage. I created a test app catalog, and upload a chart. But there is a bugs in chart, and it’s failed to install. I fixed bugs, upload new chart with same name and version, refresh app catalog in rancher UI. After it, i try to deploy this app again, and it’s deploy from the old chart. I think, there are some cache in rancher… How can i force clear it?

Rancher version 2.2.7.

---

<div class="post-metadata">

**Author:** ![ksalm](https://avatars.discourse-cdn.com/v4/letter/k/a698b9/32.png) [@ksalm](https://forums.suse.com/u/ksalm)\
**Post date:** [August 16, 2019, 6:46am UTC](https://forums.suse.com/t/clear-helm-cache-from-rancher/15055/2 "2019-08-16T06:46:45Z")

</div>

Although I believe this issue is already fixed by now, we had that “problem” with earlier versions of Rancher 2 and our own catalog too.  
A workaround for us was to simply connect to the rancher2 cluster and update the catalog-cache on each rancher-server pod via git.  
Here’s how we did it:  
_for name in $(kc get pods | grep rancher-|cut -d ’ ’ -f 1); do kc exec -it $name – sh -c “cd management-state/catalog-cache/ENTER\_CACHE\_ID\_HERE && git pull”; done_

Please note that this is just a workaround and I think that there’s already a solution for the issue implemented, since we are running version 2.2.5 and do no longer need to update the catalog manually.

---

<div class="post-metadata">

**Author:** ![Akito](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/akito/32/5805_2.png) [@Akito](https://forums.suse.com/u/Akito)\
**Post date:** [March 2, 2020, 2:14pm UTC](https://forums.suse.com/t/clear-helm-cache-from-rancher/15055/3 "2020-03-02T14:14:48Z")

</div>

Same issue on v2.3.3 . I need to push an entirely new version to see changes. If I push to the same version, but with new content, then Rancher still uses the old Chart of the same version.

---

<div class="post-metadata">

**Author:** ![zbz17](https://avatars.discourse-cdn.com/v4/letter/z/ed655f/32.png) [@zbz17](https://forums.suse.com/u/zbz17)\
**Post date:** [March 2, 2020, 3:23pm UTC](https://forums.suse.com/t/clear-helm-cache-from-rancher/15055/4 "2020-03-02T15:23:54Z")

</div>

> [@Catalog Refresh failing to pickup changes made to Charts](http://forums.suse.com/t/catalog-refresh-failing-to-pickup-changes-made-to-charts/14463):
>
> I recently upgraded to Rancher v2.2.2 so that I can use the added valuesYaml parameter in the payload for deployment requests of Catalog Apps via Rancher’s Rest API. I have made changes to helm charts stored in our Custom Catalog (Helm Repo) and then run a refreshCatalog for Rancher via the UI. The helm charts fail to update and still show the older versions. Our helm repo is in Amazon S3. I can see from S3 that the charts have been successfully updated so i suspect that the issue lies within …

Rancher caches helm charts based on their version. If the chart version doesn’t change, rancher assumes the chart hasn’t changed. There is no guarantee that a forceRefresh will update your chart in rancher if it has the same chart version. I describe a workaround to this issue in the provided post. Hope it helps!

---

<div class="post-metadata">

**Author:** ![jvesely](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/jvesely/32/6871_2.png) [@jvesely](https://forums.suse.com/u/jvesely)\
**Post date:** [November 20, 2020, 5:52pm UTC](https://forums.suse.com/t/clear-helm-cache-from-rancher/15055/5 "2020-11-20T17:52:11Z")

</div>

Hi,  
I’m using Rancher 2.2.5 and I have the same issue. I’m trying to just change app-readme. The readme is updated when I increase chart version but won’t update when I push to an existing version. Refresh catalog is not helping either.
