Welcome! Log In Create A New Profile

Advanced

'/usr/bin/git: not found'

Posted by Sxcd1 
'/usr/bin/git: not found'
April 24, 2016 10:20AM
The 192.168.1.157 page isn’t working

192.168.1.157 is currently unable to handle this request.
500

I'm getting these errors in my nginx-error.log in a freenas jail.

*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$
Re: '/usr/bin/git: not found'
May 06, 2016 05:17PM
ln -s /usr/local/bin/git /usr/bin/git
fixes the problem
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 239
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready