ionic-cli: Sorry! The configured backend (pro) does not know about ionic upload.
Description: I’m not able to upload a build to my pro deploy instance.
Steps to Reproduce:
- Login to your account with the ionic CLI :
ionic login
- Add your SSH key
- Run
ionic upload --note="Test Deploy"
- 💥
Output:
ionic upload --note="Test Deploy"
[ERROR] Sorry! The configured backend (pro) does not know about ionic upload.
My ionic info
:
cli packages: (/Users/hugo/dev/ourco/mobile/node_modules)
@ionic/cli-utils : 1.9.2
ionic (Ionic CLI) : 3.9.2
global packages:
Cordova CLI : 7.0.1
local packages:
@ionic/app-scripts : 2.1.4
Cordova Platforms : android 6.2.3 browser 4.1.0 ios 4.4.0 ios_bk 4.4.0
Ionic Framework : ionic-angular 3.4.2-201707210037
System:
Android SDK Tools : 26.0.2
ios-deploy : 1.9.1
Node : v7.10.1
npm : 4.2.0
OS : macOS Sierra
Xcode : Xcode 8.3.3 Build version 8E3004b
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 40 (8 by maintainers)
Commits related to this issue
- fix(backends): explicitly list known backends addresses https://github.com/ionic-team/ionic-cli/issues/2689 — committed to ionic-team/ionic-cli by imhoffd 7 years ago
- feat(pro): default new apps to Ionic Pro — committed to ionic-team/ionic-cli by imhoffd 7 years ago
Ok so I found out a solution, type :
to get back to the cloud backend and be able to use the ionic upload command. If you want to go back to the pro version just type :
@aleksvidak Here’s what worked for us :
@patwaswapnil The upload service is still up but you need to use the old backed. You juste have to push to ionic as stated on the pro dashboard:
1. Install the latest Ionic CLI
2. Connect your app to Ionic Pro
START A NEW APP
OR : CONNECT EXISTING APP
3. Push your code up to the dashboard!
4. Add your own external Repository as the default origin (optional)
@timbru31 If we do that, then devs would need to log in to each app independently. The backends do not share authentication. I’m fine with this being a configurable option, but it would be a feature request.
If you have a mix of Cloud and Pro apps, you could use different global config files for each backend with the
IONIC_CONFIG_DIRECTORY
environment variable: https://github.com/ionic-team/ionic-cli#environment-variablesI apologize for how convoluted this is. The CLI has a unique problem of handling both these backends. It does not have the luxury of having two distinct websites (https://apps.ionic.io and https://dashboard.ionicjs.com).
@HugoHeneault
No, we ended up only using git for now... :(
This is my first time using Ionic Pro. I followed docs but I’m still stuck with error. How were you able to upload your code to the Ionic Pro? Push from git-hub to Ionic Pro? It’ll be really helpful if you could explain the steps to deploy it to ionic cloud?