Warning from Git Version Control Viewer

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
Accepted answer

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.

No only read access.

What does the service do?

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.

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/?

 

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Oct 31, 2018 in Marketplace Apps

Marketplace Spotlight: Zephyr

Hello Atlassian Community! Each month, we run a series of Spotlights to highlight Marketplace vendors and apps that our team thinks this Community would find valuable. In last month's Spotlig...

335 views 0 1
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you