Git Integration for Jira Self-Managed (Data Center/Server) Documentation

Contact Support

Gitolite integration – Why the Git integration app not see the master branch?

Problem

After creating a new bare repository and integrating it to Jira Server via Git Integration for Jira app, I’m not able to see the last changes I made which contains smart commit tags thru the Repository Browser.

Diagnosis

The following criteria are true:

  • Repositories are located on the same Linux machine as Jira.
  • Repositories are connected through the "Tracked folder" feature.
  • A user has made commits locally and pushed them to their Jira + git server.
  • The Git Integration app shows "No commits" message and "Branch does not exists" errors.
    Solutions

It appears that the issue is really in the permissions of the files. Check them by manually updating the permissions of the files to proper values and reindex the repository via the Git Integration app.

Set the UMASK setting as mentioned in https://stackoverflow.com/questions/15082590/git-object-folder-permission.

For gitolite and git repository on the same server as Jira, set the UMASK value in .gitolite.rc file to the following:

From UMASK => 0077
To UMASK => 0027

Contact us
If you still have a question – reach out to our Support Desk or email us at gijsupport@gitkraken.com.

 

More articles about troubleshooting, workarounds and solutions

Why I am getting the error, “git-upload-pack not permitted”?

Avoid OutOfMemory exceptions by configuring or memory allocation with Jira to accommodate large repositories

Cannot auto-deploy some tracked repositories: Specified origin is incorrect or not supported

Connection Reset when Accessing the Database

"Dangerous use of multiple connections" error on local database

Duplicate entry 0 for key PRIMARY exceptions in log

Error while reindexing – Java heap space / Object too large, rejecting the pack

Gitolite integration: Why the Git integration app not see the master branch? (this page)

Health Check: Database Collation

Indexing error – Too many open files

Installation fails when installing manually

Jira index error: IndexNotFoundException: no segments* file found

Malformed input or input contains unmappable characters

Personal access token failing Azure DevOps integration with Not Authorized error

Problems with shared home on Azure Storage

Pull request index error: org.json.JSONException

Repositories missing from Azure DevOps integration

"Service proxy has been destroyed" exceptions in log

SQLException ‘Incorrect string value’ in merge requests

SSH key file format is invalid

TFS – Not authorized exception when Jira works thru proxy

Unexpected exception parsing XML document from URL error in log

Why don’t I see the Create Branch or Pull Request features?

Have feedback about this article? Did we miss something? Let us know!
On this page