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

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Jul 10, 2018 in Marketplace Apps

If you’re an Atlassian app developer, you’ll want to know about Atlas Camp!

This September 6-7, hundreds of Atlassian App developers will flock to Barcelona Spain to build skills, discover product roadmaps, meet face-to-face with the Atlassian team, and learn how to extend t...

167 views 0 4
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