# Does anyone have ionic upload working in CLI 3 beta?

**URL:** <https://forum.ionicframework.com/t/does-anyone-have-ionic-upload-working-in-cli-3-beta/86342>\
**Category:** ionic-v3\
**Created:** [April 12, 2017, 6:34pm UTC](https://forum.ionicframework.com/t/does-anyone-have-ionic-upload-working-in-cli-3-beta/86342 "2017-04-12T18:34:45Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![BradBurns](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/bradburns/32/105881_2.png) [@BradBurns](https://forum.ionicframework.com/u/BradBurns)\
**Post date:** [April 12, 2017, 6:34pm UTC](https://forum.ionicframework.com/t/does-anyone-have-ionic-upload-working-in-cli-3-beta/86342/1 "2017-04-12T18:34:45Z")

</div>

I’ve mentioned this before with no responses except in the GitHub issue I opened a while back. Ever since going to CLI 3.0.0-beta.4 / beta.5, I haven’t been able to get ionic upload working at all.

Whenever I try it, it tells me that the snapshot was uploaded successfully and then shows me a guid as a reference, such as **ded0b4cf-470d-4e06-a3a8-9e2c83c8488d** but nothing gets updated in Ionic View. In previous version(s) of the CLI (prior to v3), ionic upload worked but showed the app id, such as **60e2f424**.

Is ionic upload working for anyone??

---

<div class="post-metadata">

**Author:** ![Sujan12](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/sujan12/32/108395_2.png) [@Sujan12](https://forum.ionicframework.com/u/Sujan12)\
**Post date:** [April 12, 2017, 7:43pm UTC](https://forum.ionicframework.com/t/does-anyone-have-ionic-upload-working-in-cli-3-beta/86342/2 "2017-04-12T19:43:33Z")

</div>

Does the upload appear on the “Deploy” tab of your app on [apps.ionic.io](http://apps.ionic.io)?

---

<div class="post-metadata">

**Author:** ![BradBurns](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/bradburns/32/105881_2.png) [@BradBurns](https://forum.ionicframework.com/u/BradBurns)\
**Post date:** [April 12, 2017, 9:20pm UTC](https://forum.ionicframework.com/t/does-anyone-have-ionic-upload-working-in-cli-3-beta/86342/3 "2017-04-12T21:20:22Z")

</div>

In my Dev channel for my app on **[apps.ionoic.io](http://apps.ionoic.io)** I have the following two entries for the latest ionic upload:

Brad Note: deploy  
56e4da0c · 5:14 PM on 2017-04-12

Brad Note: upload  
56e4da0c · 5:14 PM on 2017-04-12  
ACTIVE

**This was achieved from the following:**

$ ionic upload --note “Brad Note” --deploy dev  
✔ Retrieving deploy channel - done!  
✔ Requesting snapshot - done!  
⠋ Uploading snapshot [===============] 100% 0.0s  
✔ Uploading snapshot - done!  
[OK] Uploaded snapshot 56e4da0c-8f38-4f56-bb6c-6fcbfca940d0!  
✔ Uploading snapshot - done!  
✔ Deploying to ‘dev’ channel - done!  
[OK] Deployed snapshot 56e4da0c-8f38-4f56-bb6c-6fcbfca940d0 to channel dev!

From here, still no change in Ionic View.

I’m also wondering why it’s saying it took **0.0s** for the upload.

---

<div class="post-metadata">

**Author:** ![Sujan12](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/sujan12/32/108395_2.png) [@Sujan12](https://forum.ionicframework.com/u/Sujan12)\
**Post date:** [April 12, 2017, 9:35pm UTC](https://forum.ionicframework.com/t/does-anyone-have-ionic-upload-working-in-cli-3-beta/86342/4 "2017-04-12T21:35:10Z")

</div>

Try leaving the options, just ‘ionic upload’. Am not sure if deployment has effect on Ionic View.

---

<div class="post-metadata">

**Author:** ![BradBurns](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/bradburns/32/105881_2.png) [@BradBurns](https://forum.ionicframework.com/u/BradBurns)\
**Post date:** [April 12, 2017, 9:42pm UTC](https://forum.ionicframework.com/t/does-anyone-have-ionic-upload-working-in-cli-3-beta/86342/5 "2017-04-12T21:42:22Z")

</div>

I’ve done that many times and there’s no difference. In Ionic View on the device, my app is listed. When I tap on Download Files it says “FileTransfer Error”. There’s nothing wrong with the network or communication on the device so that’s not the problem.

I’m going to try and delete the app from the device and re-register with **ionic link**.

---

<div class="post-metadata">

**Author:** ![BradBurns](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/bradburns/32/105881_2.png) [@BradBurns](https://forum.ionicframework.com/u/BradBurns)\
**Post date:** [April 12, 2017, 9:57pm UTC](https://forum.ionicframework.com/t/does-anyone-have-ionic-upload-working-in-cli-3-beta/86342/6 "2017-04-12T21:57:49Z")

</div>

So I deleted the app from Ionic View and it was automatically removed from [apps.ionic.io](http://apps.ionic.io).

Then I performed the following **ionic link** command and got the following:  
$ ionic link  
? Which app would you like to link Create a new app  
[OK] Rerun ionic link to link to the new app.  
events.js:163  
throw er; // Unhandled ‘error’ event  
^

```
Error: spawn /usr/lib/node_modules/ionic/dist/xdg-open ENOENT
    at exports._errnoException (util.js:1033:11)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:193:32)
    at onErrorNT (internal/child_process.js:367:16)
    at _combinedTickCallback (internal/process/next_tick.js:80:11)
    at process._tickCallback (internal/process/next_tick.js:104:9)

```

So that did nothing. I had to create the app in [apps.ionic.io](http://apps.ionic.io) to get an app id and then did the following:  
**$ ionic link 1bc8b74f**  
**[OK] Project linked with app 1bc8b74f!**

Then did the following:  
**$ ionic upload --note "First Upload"**  
**✔ Requesting snapshot - done!**  
**⠙ Uploading snapshot [===============] 100% 0.0s**  
**✔ Uploading snapshot - done!**  
**[OK] Uploaded snapshot bdf3efe2-d03e-475f-9eef-6099b8b2cf6a!**

In [apps.ionic.io](http://apps.ionic.io), it does show that the upload was performed with the following:

channel: Production  
First Upload  
Snapshot created: 5:46 PM on 2017-04-12 · bdf3efe2-d03e-475f-9eef-6099b8b2cf6a

First Upload: deploy  
bdf3efe2 · 5:47 PM on 2017-04-12

First Upload: upload  
bdf3efe2 · 5:46 PM on 2017-04-12

And in Ionic View… the app shows up. When I try to Download Files I still get the **FileTransfer Error**

---

<div class="post-metadata">

**Author:** ![BradBurns](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/bradburns/32/105881_2.png) [@BradBurns](https://forum.ionicframework.com/u/BradBurns)\
**Post date:** [April 13, 2017, 2:28am UTC](https://forum.ionicframework.com/t/does-anyone-have-ionic-upload-working-in-cli-3-beta/86342/7 "2017-04-13T02:28:30Z")

</div>

So now, I completely uninstalled Ionic View, cleared the data and reinstalled from the Google App Store.

One of my older apps does show up in Ionic View but not the current one which I’ve been pushing up with ionic upload.

So I tried to preview the app by entering the app id and Ionic View states: **App Has No Files (Needs Upload)**

When I tab the back button to the “My Apps” main page, it shows my app listed for about 1 second and then it disappears.

So ya, I’m out of options. _Anyone??_

---

<div class="post-metadata">

**Author:** ![luukschoen](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/luukschoen/32/98585_2.png) [@luukschoen](https://forum.ionicframework.com/u/luukschoen)\
**Post date:** [April 13, 2017, 5:18pm UTC](https://forum.ionicframework.com/t/does-anyone-have-ionic-upload-working-in-cli-3-beta/86342/8 "2017-04-13T17:18:37Z")

</div>

Okay, really weird issue. Have the exact same problem after updating the CLI to v3beta. It says it uploaded the app and created a snapshot, the snapshot shows up under my deploy channel within my apps -\> specific app, but it is nowhere to be found within Ionic View. When I explicitly want to preview the app using the app id it says no files were uploaded.

---

<div class="post-metadata">

**Author:** ![BradBurns](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/bradburns/32/105881_2.png) [@BradBurns](https://forum.ionicframework.com/u/BradBurns)\
**Post date:** [April 13, 2017, 5:25pm UTC](https://forum.ionicframework.com/t/does-anyone-have-ionic-upload-working-in-cli-3-beta/86342/9 "2017-04-13T17:25:57Z")

</div>

Ok so I’m not the only one. As I stated earlier in the thread, I’m also wondering why it’s saying it took **0.0s** for the upload. Are you getting the same message?

Actually, with the newest CLI 3.0.0-beta. **7** that timing number has been removed such as this:

```
$ ionic upload
✔ Requesting snapshot upload - done!
✔ Uploading snapshot - done!
[OK] Uploaded snapshot 6093d690-8cfc-4739-97e2-d24876c65a50!

```

So ya… again… I think I’ve gone through pretty much everything on this and still nothing gets uploaded (seemingly).

---

<div class="post-metadata">

**Author:** ![luukschoen](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/luukschoen/32/98585_2.png) [@luukschoen](https://forum.ionicframework.com/u/luukschoen)\
**Post date:** [April 13, 2017, 5:28pm UTC](https://forum.ionicframework.com/t/does-anyone-have-ionic-upload-working-in-cli-3-beta/86342/10 "2017-04-13T17:28:15Z")

</div>

I just downgraded my Ionic CLI version back to 2.2.2 and everything worked instantly. Seems like a bug in CLI 3.0.0-beta.7 that should be fixed. Let me see if I can file an issue / find and issue for that on the repo!

---

<div class="post-metadata">

**Author:** ![BradBurns](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/bradburns/32/105881_2.png) [@BradBurns](https://forum.ionicframework.com/u/BradBurns)\
**Post date:** [April 13, 2017, 5:32pm UTC](https://forum.ionicframework.com/t/does-anyone-have-ionic-upload-working-in-cli-3-beta/86342/11 "2017-04-13T17:32:39Z")

</div>

Ok that sounds perfect. I was going to file an issue but I wanted to know if _anyone_ else at all was experiencing the same issue. You can include a link to this thread in the Ionic-CLI github issue for reference.

Can you post a link to the github issue here when it’s done? I’ll like to keep track of it as well.

And thanks very much for verifying that I’m not going _completely_ insane lol.

---

<div class="post-metadata">

**Author:** ![LoLStats](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/lolstats/32/103165_2.png) [@LoLStats](https://forum.ionicframework.com/u/LoLStats)\
**Post date:** [April 13, 2017, 5:32pm UTC](https://forum.ionicframework.com/t/does-anyone-have-ionic-upload-working-in-cli-3-beta/86342/12 "2017-04-13T17:32:53Z")

</div>

Check this out: [Update ISSUE\_TEMPLATE.md · ionic-team/ionic-cli@5007e84 · GitHub](https://github.com/driftyco/ionic-cli/commit/5007e840c69d7ae92bd402c3ca4a667ed665f8da)

> **v3 beta7 testing**

> Please ensure that you have updated your dependent packages. We have changed a few of the package names. [https://github.com/driftyco/ionic-cli/tree/v3#existing-ionic2-project](https://github.com/driftyco/ionic-cli/tree/v3#existing-ionic2-project)

---

<div class="post-metadata">

**Author:** ![luukschoen](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/luukschoen/32/98585_2.png) [@luukschoen](https://forum.ionicframework.com/u/luukschoen)\
**Post date:** [April 13, 2017, 5:35pm UTC](https://forum.ionicframework.com/t/does-anyone-have-ionic-upload-working-in-cli-3-beta/86342/13 "2017-04-13T17:35:50Z")

</div>

Yeah saw that as well while opening an issue. But my dependencies seem to be correct…

---

<div class="post-metadata">

**Author:** ![BradBurns](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/bradburns/32/105881_2.png) [@BradBurns](https://forum.ionicframework.com/u/BradBurns)\
**Post date:** [April 13, 2017, 5:36pm UTC](https://forum.ionicframework.com/t/does-anyone-have-ionic-upload-working-in-cli-3-beta/86342/14 "2017-04-13T17:36:11Z")

</div>

Yep, thanks for that. Already did that and my dependencies are correct.

---

<div class="post-metadata">

**Author:** ![luukschoen](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/luukschoen/32/98585_2.png) [@luukschoen](https://forum.ionicframework.com/u/luukschoen)\
**Post date:** [April 13, 2017, 5:36pm UTC](https://forum.ionicframework.com/t/does-anyone-have-ionic-upload-working-in-cli-3-beta/86342/15 "2017-04-13T17:36:32Z")

</div>

Haha yeah I know that feeling, where you think it’s something you’re doing wrong. Well, maybe we are but it definitely seems to be a bug haha

---

<div class="post-metadata">

**Author:** ![BradBurns](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/bradburns/32/105881_2.png) [@BradBurns](https://forum.ionicframework.com/u/BradBurns)\
**Post date:** [April 13, 2017, 5:43pm UTC](https://forum.ionicframework.com/t/does-anyone-have-ionic-upload-working-in-cli-3-beta/86342/16 "2017-04-13T17:43:56Z")

</div>

For some reason I was also wondering if it’s an operating system issue. I’m using the latest stable Linux MiNT 18.1. How about you?

---

<div class="post-metadata">

**Author:** ![luukschoen](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/luukschoen/32/98585_2.png) [@luukschoen](https://forum.ionicframework.com/u/luukschoen)\
**Post date:** [April 13, 2017, 5:47pm UTC](https://forum.ionicframework.com/t/does-anyone-have-ionic-upload-working-in-cli-3-beta/86342/17 "2017-04-13T17:47:06Z")

</div>

Hmm don’t think so, I;m running on macOS Sierra. The filed issue on github can be found over here:

- [https://github.com/driftyco/ionic-cli/issues/2100](https://github.com/driftyco/ionic-cli/issues/2100)

For now I just rolled back to V2.2.2 and everything seems to work fine again. Without changing my dev dependencies, just the Ionic CLI.

---

<div class="post-metadata">

**Author:** ![BradBurns](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/bradburns/32/105881_2.png) [@BradBurns](https://forum.ionicframework.com/u/BradBurns)\
**Post date:** [April 13, 2017, 5:53pm UTC](https://forum.ionicframework.com/t/does-anyone-have-ionic-upload-working-in-cli-3-beta/86342/18 "2017-04-13T17:53:18Z")

</div>

Good stuff on the guihub issue. I also added an addon comment there.

---

<div class="post-metadata">

**Author:** ![luukschoen](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/luukschoen/32/98585_2.png) [@luukschoen](https://forum.ionicframework.com/u/luukschoen)\
**Post date:** [April 13, 2017, 5:56pm UTC](https://forum.ionicframework.com/t/does-anyone-have-ionic-upload-working-in-cli-3-beta/86342/19 "2017-04-13T17:56:20Z")

</div>

Yeah noticed it, good addition. For my info, did you used the cli 3.0.0 before beta 4 and did the upload work back then?

---

<div class="post-metadata">

**Author:** ![BradBurns](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/bradburns/32/105881_2.png) [@BradBurns](https://forum.ionicframework.com/u/BradBurns)\
**Post date:** [April 13, 2017, 5:59pm UTC](https://forum.ionicframework.com/t/does-anyone-have-ionic-upload-working-in-cli-3-beta/86342/20 "2017-04-13T17:59:01Z")

</div>

Unfortunately no. I only moved from v2 to CLI 3 at beta.4 so I don’t have any relevant information with previous v3 betas.

[Next page](https://forum.ionicframework.com/t/does-anyone-have-ionic-upload-working-in-cli-3-beta/86342.md?page=2)
