# $ionicDeploy.download() not working

**URL:** <https://forum.ionicframework.com/t/ionicdeploy-download-not-working/74856>\
**Category:** ionic-v1\
**Created:** [January 1, 2017, 2:34pm UTC](https://forum.ionicframework.com/t/ionicdeploy-download-not-working/74856 "2017-01-01T14:34:24Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![hyderali](https://avatars.discourse-cdn.com/v4/letter/h/7feea3/32.png) [@hyderali](https://forum.ionicframework.com/u/hyderali)\
**Post date:** [January 1, 2017, 2:34pm UTC](https://forum.ionicframework.com/t/ionicdeploy-download-not-working/74856/1 "2017-01-01T14:34:24Z")

</div>

I have created ionic project as per the document in [Ionic Deploy](http://docs.ionic.io/services/deploy/).

After I upload new snapshot to ‘dev’ channel I got console log as ‘update is available’.But the update is not downloading.

My code is like this.  
`$ionicDeploy.channel = 'dev'; $ionicDeploy.check().then(function(snapshotAvailable) { if (snapshotAvailable) { $ionicDeploy.info().then(function(info){ console.log("$ionicDeploy.info()",info) }) //When snapshotAvailable is true, you can apply the snapshot console.log("$ionicDeploy.download()",$ionicDeploy.download()); $ionicDeploy.download().then(function() { return $ionicDeploy.extract(); }).then(function() { return $ionicDeploy.load(); }); } });`

And i got console logs as per the following image

 ![image](https://global.discourse-cdn.com/ionicframework/original/3X/8/3/838aef564dc855d3b47fd408f0b70505b98bb5ef.PNG)

My system informations are:-  
Cordova CLI: 6.4.0  
Gulp version: CLI version 3.9.1  
Gulp local:  
Ionic Framework Version: 1.3.2  
Ionic CLI Version: 1.7.15  
Ionic App Lib Version: 0.7.2  
OS:  
Node Version: v6.9.2

Any one having same issue?

---

<div class="post-metadata">

**Author:** ![ongweizheng](https://avatars.discourse-cdn.com/v4/letter/o/5fc32e/32.png) [@ongweizheng](https://forum.ionicframework.com/u/ongweizheng)\
**Post date:** [January 26, 2017, 9:46am UTC](https://forum.ionicframework.com/t/ionicdeploy-download-not-working/74856/2 "2017-01-26T09:46:00Z")

</div>

I am also having this issue. I managed to get the update the first time and then it only able to see update is available but not able to download.

---

<div class="post-metadata">

**Author:** ![hyderali](https://avatars.discourse-cdn.com/v4/letter/h/7feea3/32.png) [@hyderali](https://forum.ionicframework.com/u/hyderali)\
**Post date:** [January 26, 2017, 3:05pm UTC](https://forum.ionicframework.com/t/ionicdeploy-download-not-working/74856/3 "2017-01-26T15:05:28Z")

</div>

Did you got any solution?

---

<div class="post-metadata">

**Author:** ![nacouzi](https://avatars.discourse-cdn.com/v4/letter/n/8dc957/32.png) [@nacouzi](https://forum.ionicframework.com/u/nacouzi)\
**Post date:** [February 27, 2017, 9:53am UTC](https://forum.ionicframework.com/t/ionicdeploy-download-not-working/74856/4 "2017-02-27T09:53:46Z")

</div>

i faced this issue, i was able to download the update only once and then it was not downloading  
i solved the issue but uninstalling the app deploy my code and create an app with the same code as deployment  
then i changed some code and tried it and it works.  
how and why ? i have no idea

EDIT:  
are you reloading your app ?  
because the returreturn $ionicDeploy.load() will not execute in my opinion so try to close your app and reload it manually
