# How to trigger catalog upgrades

**URL:** <https://forums.suse.com/t/how-to-trigger-catalog-upgrades/1542>\
**Category:** Rancher 1.x\
**Created:** [January 26, 2016, 7:39pm UTC](https://forums.suse.com/t/how-to-trigger-catalog-upgrades/1542 "2016-01-26T19:39:25Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ebishop](https://avatars.discourse-cdn.com/v4/letter/e/9dc877/32.png) [@ebishop](https://forums.suse.com/u/ebishop)\
**Post date:** [January 26, 2016, 7:39pm UTC](https://forums.suse.com/t/how-to-trigger-catalog-upgrades/1542/1 "2016-01-26T19:39:25Z")

</div>

I have two versions of an app in an an internal catalog set of templates.

here’s how I defined the “.catalog” section of the rancher-compose.yml for the two versions. But when I start up a version 1.0 stack, the UI does not indicate that an upgrade is available.

.catalog:  
name: "XXX"  
version: "1.0"  
description: "The initial version of the XXX catlog."  
uuid: xxx-1

.catalog:  
name: "XXX"  
version: "2.0"  
description: "The initial version of the XXX catlog."  
uuid: xxx-2

I should mention, that the rancher-compose.yml in two version directories are identical. I just wanted to test the upgrade feature. Does rancher compare the docker-compose files to ensure they are different between versions?

---

<div class="post-metadata">

**Author:** ![vincent](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/vincent/32/7156_2.png) [@vincent](https://forums.suse.com/u/vincent)\
**Post date:** [January 26, 2016, 8:01pm UTC](https://forums.suse.com/t/how-to-trigger-catalog-upgrades/1542/2 "2016-01-26T20:01:00Z")

</div>

That sounds right, assuming those are in `templates/xxx/0/rancher-compose.yml` and `templates/xxx/1/rancher-compose.yml`…

- Are you sure you pushed the changes to where the catalog is configured to look
- Waited 5 minutes for it to re-pull it?
- If you try to launch a new copy of that template are both versions shown in the dropdown?
- If you go to the API (http://your-rancher:8080v1-catalog/templates) are there 2 versionLinks listed for the template?

---

<div class="post-metadata">

**Author:** ![ebishop](https://avatars.discourse-cdn.com/v4/letter/e/9dc877/32.png) [@ebishop](https://forums.suse.com/u/ebishop)\
**Post date:** [January 26, 2016, 8:55pm UTC](https://forums.suse.com/t/how-to-trigger-catalog-upgrades/1542/3 "2016-01-26T20:55:29Z")

</div>

my directory tree looked like the following:  
templates/xxx/1.0/rancher-compose.yml  
templates/xxx/2.0/rancher-compose.yml

so I made the version number and format match in every case, including the directory names, and waited until I saw my changes in the Rancher UI, and preview pane, then it worked.

Thanks…very cool, btw.

---

<div class="post-metadata">

**Author:** ![denise](https://avatars.discourse-cdn.com/v4/letter/d/82dd89/32.png) [@denise](https://forums.suse.com/u/denise)\
**Post date:** [January 26, 2016, 9:55pm UTC](https://forums.suse.com/t/how-to-trigger-catalog-upgrades/1542/4 "2016-01-26T21:55:36Z")

</div>


