Predix_Logo
  • Categories
    • Questions
    • Predix | Updates
      • Pricing
      • Product
    • Deloitte - Private
    • How-To
    • Accenture-Private
  • Explore
    • Topics
    • Questions
    • Articles
    • Feedback or Feature Requests
  • Sign in
  • Home /
  • Questions /
avatar image
0
Question by kiev@indusoft.ru · Apr 30, 2018 at 08:44 AM · devboxpx

Cannot enter a password into the terminal using DevBox and cannot install predix cli

I have tried to push hello world app to the cloud using dev Box. I had entered an email but I couldn`t enter a password into the terminal. Then I decided to push it using host os (win 10). But predix cli wasn`t installed. And I cannot understand what is wrong. I was following all instruction for installing predix cli. But after all , predix commands (predix -v, px -v) don`t work. So I have encountered with two problems: - a password wasn`t entered - predix cli wasn`t installed Could you offer anything I need to do?

Comment
Add comment
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

2 Replies

  • Sort: 
avatar image
0

Answer by kiev@indusoft.ru · Apr 30, 2018 at 12:04 PM

@Tom Turner, I tried again to install predix cli. I followed manual installation instructions. I downloaded the file 'predix-cli.tar.gz', Extract it. But there wasn`t any executable file just three files (in attachments)


predix.png (41.9 kB)
Comment
Add comment · Show 5 · Share
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Tom Turner ♦♦ · Apr 30, 2018 at 12:15 PM 0
Share

That looks like the contents of source v0.6.33.zip in a folder named predix-cli-0.633.

Instead the tar.gz creates a folder name predix-cli.

Try doing this un tarring in a new empty directory so it's more clear.

avatar image kiev@indusoft.ru Tom Turner ♦♦ · May 01, 2018 at 04:10 AM 0
Share

I solved a problem with executable file. Now the command "predix login" works. But when I try to connect to the cloud and type a password - all keys are uinactive. I did it using cmd. Then I tried it through Git Bash. I couldn`t connect as wellalt text

predix.png (52.4 kB)
avatar image Tom Turner ♦♦ kiev@indusoft.ru · May 01, 2018 at 07:52 AM 0
Share

Yes, that is the same for me on OS X. It does not reflect back any characters that I am typing. It is taking your characters. At that point, the Predix CLI has forwarded control to the underlying Cloud Foundry CLI.

You can ask about that here.

https://github.com/cloudfoundry/cli

When you hit enter does it tell you about "Credentials were rejected"? If so, maybe you need to reset your password because you don't know it?

have you tried it directly with the underlying CF CLI?

 cf login

As for git bash, interactive login does not work using the CF CLI in Putty or git-bash. You can use the switches

cf login -u my-user -p my-password

or

predix login -u my-user -p my-password

avatar image kiev@indusoft.ru Tom Turner ♦♦ · May 01, 2018 at 08:12 AM 0
Share

Yes, I have. the same alt text

predix.png (29.6 kB)
avatar image Tom Turner ♦♦ kiev@indusoft.ru · May 01, 2018 at 08:51 AM 0
Share

so, perhaps you don't know the right password. You can test your password by doing a Sign In on predix.io.

You can also reset your password on by clicking the link on the sign in screen, I believe.

avatar image
0

Answer by Tom Turner · Apr 30, 2018 at 10:00 AM

For Devbox, the devbox username password is predix/predix. Inside DevBox, to log in at the terminal window you would do

 predix login <then hit enter on keyboard>

After choosing the PoP, you enter your Predix email login.

Are you saying you tried to type in the password at this point and something didn't work? Can you do a screen shot or short video?

For Windows 10, to install Predix CLI using script, you would do

 @powershell -Command "(new-object net.webclient).DownloadFile('https://raw.githubusercontent.com/PredixDev/local-setup/master/setup-windows.bat','%TEMP%/setup-windows.bat')" && %TEMP%/setup-windows.bat /predixcli

To install Predix CLI manually, it's good to know it's just an executable file. Just place it in a folder that is in the PATH. Including the px shortcut. See the README

 https://github.com/PredixDev/predix-cli 

Be aware that the underlying Cloud Foudry (CF) CLI does not work well outside the windows command window. There is a way to use the switches for username and password in Putty or Git-Bash, but it will appear clear-text (no stars masking the password).

Comment
Add comment · Share
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Follow this Question

Answers Answers and Comments

105 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Failed to open session in Virtual Box 1 Answer

gs-spring-boot build failure 4 Answers

DevBox on Windows virtualization like Hyper V 1 Answer

px-tabs: is it possible to navigate in px-tabs with keyboard events? 2 Answers

getting INVA/INVA characters instead of date for in the IPAD for the date-time picker 3 Answers

GE Monogram
  • Legal
  • Cookies
  • Forum Terms
  • Contact Us
  • Copyright © 2017 General Electric Company. All rights reserved.


Enterprise
Social Q&A

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Create an article
  • Submit your feedback or feature request
  • Categories
  • Questions
  • Predix | Updates
    • Pricing
    • Product
  • Deloitte - Private
  • How-To
  • Accenture-Private
  • Explore
  • Topics
  • Questions
  • Articles
  • Feedback or Feature Requests