question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Git credentials installer broken

See original GitHub issue

https://github.com/eclipse/che/blob/e90eaa97fe06f2fbea4ad56351919087fe78d627/agents/git-credentials/src/main/resources/installers/1.0.0/org.eclipse.che.git.script.sh#L12

If there’s no ~/.ssh dir in the container, the script fails to create another script that is then echoed to ~/.bashrc

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
ctroncommented, May 24, 2018

I actually think this is pretty severe bug pretty easy to fix. For me this completely knocks out Git support.

1reaction
ctroncommented, May 24, 2018

I do have the same problem. Git credentials don’t work and in the startup log of the dev-machine you can see:

/bin/sh: 39: cannot create /home/user/.ssh/git.sh: Directory nonexistent
/bin/sh: 42: cannot create /home/user/.ssh/git.sh: Directory nonexistent
/bin/sh: 33: cannot create /home/user/.ssh/git.sh: Directory nonexistent
/bin/sh: 41: cannot create /home/user/.ssh/git.sh: Directory nonexistent
/bin/sh: 40: cannot create /home/user/.ssh/git.sh: Directory nonexistent
chmod: cannot access ‘/home/user/.ssh/git.sh’: No such file or directory
/bin/sh: 46: cannot create /home/user/.ssh/git.sh: Directory nonexistent
/bin/sh: 44: cannot create /home/user/.ssh/git.sh: Directory nonexistent
/bin/sh: 43: cannot create /home/user/.ssh/git.sh: Directory nonexistent
/bin/sh: 37: cannot create /home/user/.ssh/git.sh: Directory nonexistent
/bin/sh: 45: cannot create /home/user/.ssh/git.sh: Directory nonexistent
/bin/sh: 34: cannot create /home/user/.ssh/git.sh: Directory nonexistent
/bin/sh: 38: cannot create /home/user/.ssh/git.sh: Directory nonexistent
/bin/sh: 32: cannot create /home/user/.ssh/git.sh: Directory nonexistent
/bin/sh: 31: cannot create /home/user/.ssh/git.sh: Directory nonexistent

Running on OpenShift 3.9, Che 6.5.0.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Fix Your Git Credential Nightmare in 4 Basic Steps - IntelliTect
1. Install the Git Credential Manager for Windows. Go to https://github.com/Microsoft/Git-Credential-Manager-for-Windows/releases, or you can also get this ...
Read more >
Installer fails to deploy and enable git credential manager ...
I have tried to install the GCM using the standalone installer as well as Git v2.11.0 with the Enable GCM checked. The results...
Read more >
github - Git credential helper - update password - Stack Overflow
Enter the username and the new updated password of the GitHub server and login will be successful. Even I had this problem, and...
Read more >
7.14 Git Tools - Credential Storage
See GCM Install Instructions for more information. You can choose one of these methods by setting a Git configuration value: $ git config...
Read more >
Git Credential Manager Core: Building a universal ...
brew tap microsoft/git brew cask install git-credential-manager-core ... the combined problem of a lack of SSH support in Azure Repos, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found