Defect #26765

Redmine 3.3.3.stable Cannot find binary for Git 2.14

Added by Mike Pento over 2 years ago. Updated over 2 years ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:-% Done:


Target version:-
Resolution:Duplicate Affected version:3.3.3


Redmine 3.3.3.stable cannot locate binary for Git version past 2.13.3 (Archlinux)

  Redmine version                3.3.3.stable
  Ruby version                   2.3.4-p301 (2017-03-30) [x86_64-linux]
  Rails version        
  Environment                    production
  Database adapter               Mysql2
  Git                            2.13.3
Redmine plugins:
  clipboard_image_paste          1.12
  red_jenkins                    1.0.3
  redcase                        1.0

Attempting to add a repository to a project in Redmine after upgrading to Git v2.14.1 shows the following in the passenger log:
[ 2017-08-23 18:01:37.7908 1020/7fecc85f0700 age/Cor/CoreMain.cpp:917 ]: Checking whether to disconnect long-running connections for
 process 15964, application /usr/share/webapps/redmine/public (production)
App 14348 stderr: error: unknown option `no-color'
App 14348 stderr: usage: git version [<options>]
App 14348 stderr: 
App 14348 stderr:     --build-options       also print build options
App 14348 stderr: 
App 14367 stdout: Version: ImageMagick 6.9.9-9 Q16 x86_64 2017-08-21
App 14367 stdout: Copyright: © 1999-2017 ImageMagick Studio LLC
App 14367 stdout: License:
App 14367 stdout: Features: Cipher DPC HDRI Modules OpenCL OpenMP 
App 14367 stdout: Delegates (built-in): bzlib cairo fontconfig freetype gslib jng jp2 jpeg lcms lqr ltdl lzma openexr pangocairo png ps rsvg tiff webp wmf x xml zlib

Investigation leads to passing the '--no-color' option from the git adapter, presumably when trying to determine if the binary is present and in the path.

Related issues

Duplicates Redmine - Defect #26645: git 2.14 compatibility Closed


#1 Updated by Mike Pento over 2 years ago

NOTE: Downgrade of Git from 2.14.1 to 2.13.3 appears to be a workaround to this issue.

#2 Updated by Toshi MARUYAMA over 2 years ago

  • Status changed from New to Closed
  • Resolution set to Duplicate

Duplicate of #26645.

#3 Updated by Marius BALTEANU over 2 years ago

Also available in: Atom PDF