# Cache Pull not generating StackID

**URL:** <https://discuss.bitrise.io/t/cache-pull-not-generating-stackid/15513>\
**Category:** Tooling Issues\
**Created:** [January 25, 2021, 3:01am UTC](https://discuss.bitrise.io/t/cache-pull-not-generating-stackid/15513 "2021-01-25T03:01:18Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![johnreyquiros](https://avatars.discourse-cdn.com/v4/letter/j/87869e/32.png) [@johnreyquiros](https://discuss.bitrise.io/u/johnreyquiros)\
**Post date:** [January 25, 2021, 3:01am UTC](https://discuss.bitrise.io/t/cache-pull-not-generating-stackid/15513/1 "2021-01-25T03:01:18Z")

</div>

Hi!  
I have different workflows for cache\_pulling(includes git-cloning), pod\_install, fastlane\_build and cache\_pushing, but they all are using the same stack. But I am facing a problem on cache-push not generating stackID every time I run it, reason why it will skip cache-pull on the next run.  
But if I try to include the cache-push step to the fastlane\_build workflow, it will generate stackID. Can someone help me on what to do so that cache-push (in different workflow) will generate stackID ? Thank you!

Does switching to another workflow change/update the stack ?

---

<div class="post-metadata">

**Author:** ![cathy.harmon](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/cathy.harmon/32/2674_2.png) [@cathy.harmon](https://discuss.bitrise.io/u/cathy.harmon)\
**Post date:** [February 4, 2021, 9:06pm UTC](https://discuss.bitrise.io/t/cache-pull-not-generating-stackid/15513/2 "2021-02-04T21:06:15Z")

</div>

Hello,

The cache is per branch, not per workflow. For more info on using the cache push, please review the info on [caching](https://devcenter.bitrise.io/builds/caching/) in the devcenter

Thanks,  
cathy

---

<div class="post-metadata">

**Author:** ![johnreyquiros](https://avatars.discourse-cdn.com/v4/letter/j/87869e/32.png) [@johnreyquiros](https://discuss.bitrise.io/u/johnreyquiros)\
**Post date:** [February 17, 2021, 1:35am UTC](https://discuss.bitrise.io/t/cache-pull-not-generating-stackid/15513/3 "2021-02-17T01:35:27Z")

</div>

@cathy.harmon

Thank you for the reply.  
But still encountering the issue of not generating stack ID  
Below is the log of `cache:push`

> Switching to workflow: after\_build\_workflow\_test  
> ±-----------------------------------------------------------------------------+  
> | (0) cache-push@2.2.2 |  
> ±-----------------------------------------------------------------------------+  
> | id: cache-push |  
> | version: 2.2.2 |  
> | collection: [GitHub - bitrise-io/bitrise-steplib: New Bitrise StepLib](https://github.com/bitrise-io/bitrise-steplib.git) |  
> | toolkit: go |  
> | time: 2021-02-16T15:05:23Z |  
> ±-----------------------------------------------------------------------------+  
> | |  
> Config:
> 
> - Paths:  
> ./Pods → ./Podfile.lock  
> /Users/vagrant/git/Pods → /Users/vagrant/git/Podfile.lock
> - IgnoredPaths:
> - CacheAPIURL: [REDACTED]
> - FingerprintMethodID: file-content-hash
> - CompressArchive: false
> - DebugMode: true
> - StackID:  
> Cleaning paths  
> Done in 490.787215ms  
> Checking previous cache status  
> No previous cache info found  
> Done in 8.278901ms  
> Generating cache archive  
> Done in 12.74057199s  
> Uploading cache archive  
> Archive file size: 784351232 bytes / 748.015625 MB  
> Done in 19.207472504s

---

<div class="post-metadata">

**Author:** ![johnreyquiros](https://avatars.discourse-cdn.com/v4/letter/j/87869e/32.png) [@johnreyquiros](https://discuss.bitrise.io/u/johnreyquiros)\
**Post date:** [February 17, 2021, 8:47am UTC](https://discuss.bitrise.io/t/cache-pull-not-generating-stackid/15513/4 "2021-02-17T08:47:11Z")

</div>

It is working now, updated cache:pull version to latest. Thank you!

---

<div class="post-metadata">

**Author:** ![cskata](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/cskata/32/2120_2.png) [@cskata](https://discuss.bitrise.io/u/cskata)\
**Post date:** [February 24, 2021, 3:51pm UTC](https://discuss.bitrise.io/t/cache-pull-not-generating-stackid/15513/5 "2021-02-24T15:51:51Z")

</div>

Hi @johnreyquiros! 👋

We are really glad to hear the issue has been resolved. 🎉 I’ll go ahead and close this thread but please feel free to contact us if you have any further questions!

Take care!  
~Kata

---

<div class="post-metadata">

**Author:** ![cskata](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/cskata/32/2120_2.png) [@cskata](https://discuss.bitrise.io/u/cskata)\
**Post date:** [February 24, 2021, 3:51pm UTC](https://discuss.bitrise.io/t/cache-pull-not-generating-stackid/15513/6 "2021-02-24T15:51:59Z")

</div>


