I'm trying to get nZEDb to work in a jail. The web interface works but when I try to get the database setup it goes to a web page that says
The 192.168.1.157 page isn’t working
192.168.1.157 is currently unable to handle this request.
500
looking into the nginx error log it says:
*22 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught exception 'Exception' with message '/usr/bin/git: not found2016/04/24 00:09:15 [error] 9979#0: *1 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught exception 'Exception' with
message '/usr/bin/git: not found
/usr/bin/git branch' in /usr/local/www/nZEDb/libs/Git.php/Git.php:330
Stack trace:
#0 /usr/local/www/nZEDb/libs/Git.php/Git.php(346): GitRepo->run_command('/usr/bin/git br...')
#1 /usr/local/www/nZEDb/libs/Git.php/Git.php(503): GitRepo->run('branch')
#2 /usr/local/www/nZEDb/libs/Git.php/Git.php(543): GitRepo->list_branches(true)
#3 /usr/local/www/nZEDb/nzedb/utility/Git.php(44): GitRepo->active_branch()
#4 /usr/local/www/nZEDb/nzedb/db/DbUpdate.php(69): nzedb\utility\Git->__construct()
#5 /usr/local/www/nZEDb/www/install/step2.php(152): nzedb\db\DbUpdate->__construct(Array)
#6 {main}
thrown in /usr/local/www/nZEDb/libs/Git.php/Git.php on line 330" while reading response header from upstream, client: 192.168.1.6, server: 192.168.1.157, request: "POST /install/step2.php? HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "192.168.1.157", referr$
2016/04/24 08:24:18 [error] 9979#0: *14 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught exception 'Exception' with message '/usr/bin/git: not found
The 192.168.1.157 page isn’t working
192.168.1.157 is currently unable to handle this request.
500
looking into the nginx error log it says:
*22 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught exception 'Exception' with message '/usr/bin/git: not found2016/04/24 00:09:15 [error] 9979#0: *1 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught exception 'Exception' with
message '/usr/bin/git: not found
/usr/bin/git branch' in /usr/local/www/nZEDb/libs/Git.php/Git.php:330
Stack trace:
#0 /usr/local/www/nZEDb/libs/Git.php/Git.php(346): GitRepo->run_command('/usr/bin/git br...')
#1 /usr/local/www/nZEDb/libs/Git.php/Git.php(503): GitRepo->run('branch')
#2 /usr/local/www/nZEDb/libs/Git.php/Git.php(543): GitRepo->list_branches(true)
#3 /usr/local/www/nZEDb/nzedb/utility/Git.php(44): GitRepo->active_branch()
#4 /usr/local/www/nZEDb/nzedb/db/DbUpdate.php(69): nzedb\utility\Git->__construct()
#5 /usr/local/www/nZEDb/www/install/step2.php(152): nzedb\db\DbUpdate->__construct(Array)
#6 {main}
thrown in /usr/local/www/nZEDb/libs/Git.php/Git.php on line 330" while reading response header from upstream, client: 192.168.1.6, server: 192.168.1.157, request: "POST /install/step2.php? HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "192.168.1.157", referr$
2016/04/24 08:24:18 [error] 9979#0: *14 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught exception 'Exception' with message '/usr/bin/git: not found