Warning from Git Version Control Viewer

Michael Danielsson
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 15, 2013

Hi,

Any idea why this warning is in the log

2013-04-16 11:09:31,198 QuartzWorker-1 WARN ServiceRunner    GitRevisionIndexerJob [xiplink.jira.git.GitManagerImpl] 
org.eclipse.jgit.errors.TransportException: Failure updating tracking ref refs/heads/LXA-R2B: Permission denied
        at org.eclipse.jgit.transport.FetchProcess.executeImp(FetchProcess.java:201)
        at org.eclipse.jgit.transport.FetchProcess.execute(FetchProcess.java:113)
        at org.eclipse.jgit.transport.Transport.fetch(Transport.java:1062)
        at com.xiplink.jira.git.GitManagerImpl.fetch(GitManagerImpl.java:457)
        at com.xiplink.jira.git.revisions.RevisionIndexer.updateIndex(RevisionIndexer.java:282)
        at com.xiplink.jira.git.revisions.RevisionIndexer.access$000(RevisionIndexer.java:49)
        at com.xiplink.jira.git.revisions.RevisionIndexer$1.run(RevisionIndexer.java:191)
        at com.xiplink.jira.git.revisions.RevisionIndexer.runAndCollectCounters(RevisionIndexer.java:170)
        at com.xiplink.jira.git.revisions.RevisionIndexer.updateIndex(RevisionIndexer.java:200)
        at com.xiplink.jira.git.revisions.RevisionIndexJob.execute(RevisionIndexJob.java:19)
        at com.atlassian.sal.jira.scheduling.JiraPluginSchedulerService.run(JiraPluginSchedulerService.java:93)
        at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:61)
        at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:47)
        at org.quartz.core.JobRunShell.run(JobRunShell.java:195)
        at com.atlassian.multitenant.quartz.MultiTenantThreadPool$MultiTenantRunnable.run(MultiTenantThreadPool.java:72)
        at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
Caused by: java.io.IOException: Permission denied
        at java.io.UnixFileSystem.createFileExclusively(Native Method)
        at java.io.File.createNewFile(Unknown Source)
        at org.eclipse.jgit.storage.file.LockFile.lock(LockFile.java:159)
        at org.eclipse.jgit.storage.file.RefDirectoryUpdate.tryLock(RefDirectoryUpdate.java:83)
        at org.eclipse.jgit.lib.RefUpdate.updateImpl(RefUpdate.java:604)
        at org.eclipse.jgit.lib.RefUpdate.update(RefUpdate.java:484)
        at org.eclipse.jgit.transport.TrackingRefUpdate.update(TrackingRefUpdate.java:135)
        at org.eclipse.jgit.transport.FetchProcess.executeImp(FetchProcess.java:198)
        ... 15 more


and how it could be removed?

Regards,

Michael Danielsson

4 answers

1 accepted

0 votes
Answer accepted
Peter Van de Voorde
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 15, 2013

Does your user has write access to the refs/heads/LXA-R2B folder?

It seems to be a problem with acces rights in your unix environment.

0 votes
Adam Wride
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 7, 2016

Michael - sorry for only finding this posting now. This error belongs to the Git Integration for JIRA add-on that we support: https://marketplace.atlassian.com/plugins/com.xiplink.jira.git.jira_git_plugin/?

 

0 votes
Peter Van de Voorde
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 15, 2013

It's probably creating a local version of your repository or the repository log so it can parse it and you can use it in jira. So it needs write access to that directory.

0 votes
Michael Danielsson
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 15, 2013

No only read access.

What does the service do?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events