Details
Hi,
I'm trying to set up diffusion (bitnami aws image) for ssh access but the PATH is not being set correctly for the git user - see below. I've verified that the ssh auth works and that sudoers is configured correctly, but I've yet to resort to reading the code to find where /opt/bitnami/apps/phabricator/htdocs/bin/ssh-exec is called and how. sudo -l for git shows the correct PATH etc.
Does anyone have any ideas? Thanks!
ssh -T -p 2222 git@phabricator.grailbio.com
Environment:
USER=git LOGNAME=git HOME=/home/git PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games MAIL=/var/mail/git SHELL=/bin/bash SSH_CLIENT=173.164.246.245 22796 2222 SSH_CONNECTION=173.164.246.245 22796 172.31.32.191 2222
/usr/bin/env: php: No such file or directory
Answers
The upstream isn't responsible for the Bitnami package, you should contact them for support. The only officially supported way to install and update Phabricator is via our documentation: https://secure.phabricator.com/book/phabricator/article/installation_guide/