Setting up ssh, remote hg not found
I'm currently working on getting Rhode Code CE setup with SSH and have followed the instructions on the following page: https://docs.rhodecode.com/RhodeCode-Enterprise/auth/ssh-connection.html
When I try and run "hg push" from the client I get the following error:
remote: bash: hg: command not found
abort: no suitable response from remote hg!
Installing mercurial on the machine removes this error, but then doesn't know where the repo is located on the server. Everything seems to work great over http. Did I miss a step, is there something missing from the docs, or is this a bug?
#1 Updated by Marcin Kuzminski [staff] about 1 year ago
Yes there seems to be a problem with setting binaries that are shipped with vcsserver.
Please edit vcsserver.ini and make sure this is set inside:
core.binary_dir = /home/YOUR_USER/.rccontrol/vcsserver-1/profile/bin
But this is odd, becuase the enable-module should have set it.
#2 Updated by Nathan Warden about 1 year ago
Thanks for the quick response!
Unfortunately this doesn't seem to be the issue as this setting is correct. Just to be sure I copied the path from the vcsserver.ini and ran:
and got the appropriate version info.
Is it possible the setting isn't getting applied somehow?
#3 Updated by Marcin Kuzminski [staff] about 1 year ago
Hmm, something is odd then.
1) maybe there are some hooks on this repository?
2) did you tried to enable debug as in note after pt4 in https://docs.rhodecode.com/RhodeCode-Enterprise/auth/ssh-connection.html