# Bug OP-7976 - Unable to checkout integrated GIT repository - 'Not a git repository'

Project: OpenProject
Status: closed
URL: https://community.openproject.org/work_packages/OP-7976

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module |  |
| Target versions |  |
| Observed in versions | 11.0.0 |
| Sprint |  |
| Backlog bucket |  |
| Bug found in version (deprecated) | 11.0.x |
| Found in mobile app version |  |
| Follow-up feedback e-mail |  |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Developers |  |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

| Attribute | Value |
| --- | --- |
| Relevance |  |

## Costs

| Attribute | Value |
| --- | --- |
| Votes |  |
| Work |  |
| Labor costs |  |

## Description

### **Environment**:

Your OpenProject Version: 11.0.3

Operating System / Browser / OpenProject language: Centos 8

### **Logs**

var/log/httpd/error\_log:

``` text
[Mon Nov 30 13:36:10.977779 2020] [cgid:error] [pid 14492:tid 139797494462208] [client 10.8.0.6:56194] Not a git repository: '/var/db/openproject/git/test.git': /usr/libexec/git-core/git-http-backend
```

### **Steps to reproduce:**

Using a fresh install of open project with no prefix or SSL

1.  Create a new project
2.  Go to project settings - modules
3.  Select Repository and save
4.  Go to project settings - Repository
5.  Select 'Git' as source control management system
6.  Select Git repository integrated into OpenProject
7.  Managed URL appears as /var/db/openproject/git/test.git
8.  Click create

<figure class="image image_resized" style="width:50%;"><img src="/api/v3/attachments/19898/content"></figure>

**The problem,** from a remote PC, "git clone <http://192.168.100.9/git/test.git>"

<figure class="image image_resized" style="width:75%;"><img src="/api/v3/attachments/19896/content"></figure>

**However**, to prove the repository I successfully cloned locally:

<figure class="image image_resized" style="width:75%;"><img src="/api/v3/attachments/19899/content"></figure>

### **Actual Behavior**

The git clone is failing, presenting 'not found' to the user and 'Not a git repository' in httpd error\_log 

### **Expected Behavior**

Git repository to be cloned
