fatal: could not read from remote repository
-
I tried this guide instead:
https://github.com/ahwayakchih/openshift-nodebbEverything worked fine except until I ran
git push origin master
All it gave me was this:
Permission denied (publickey,gssapi-keyex,gssapi-with-mic). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.
I'm using Windows Powershell. I think I should use Putty because that's how I generated my SSH key.
-
@nhl.pl said:
Please check local Git repository (browse for it on your computer). You should see downloaded NodeBB files ready to be uploaded to the OpenShift Cloud. If you can't find them something went wrong.
Yeah, I can see them... I think?
-
I think it might help.
http://stackoverflow.com/a/24720860 -
Just make sure your SSH keys are correctly installed on both sides (local computer and OpenShift).
http://guides.beanstalkapp.com/version-control/git-on-windows.html#installing-ssh-keys -
Do you have Ruby and rhc gem installed?
https://developers.openshift.com/en/getting-started-windows.html -
When I dogit push origin master
it gives me this now:
fatal: Not a Git repository (or any of the parent directories): .git
Forgot to CD NodeBB. Same error comes.
I think it's because my Git version is 2.6.3 instead of the one it says in there.
-
@Aureney said:
Anyone? Still having this error.
As a Windows user you must configure Your Identity in Git.
https://git-scm.com/book/en/v2/Getting-Started-First-Time-Git-Setup#Your-IdentityAfter that please repeat steps 3-7 from ahwayakchih's guide hosted on GitHub.
Please post an issue if you'll still have a problem when using Windows.
https://github.com/ahwayakchih/openshift-nodebb/issues -
Wow! I managed to install NodeBB on openshift using this guide instead of the docs!
-
@Aureney said in fatal: could not read from remote repository:
Wow! I managed to install NodeBB on openshift using this guide instead of the docs!
Maybe that guide should be merged into the NodeBB documentation then