subversion plugin: Lock obtain timed out


I've just migrated to jira 6.2.3 and subversion plugin 1.0 (was 0.10.14 but they aligned version numbers) ...

Since the upgrade we are getting tons of this error message, despite svn linking seems to be fine. My guess is that is caused by a permission-related issue, when trying to create the ".lock" file,

any thoughts on this?

2014-07-16 12:42:38,739 QuartzScheduler_Worker-1 WARN ServiceRunner    com.atlassian.jira.plugin.ext.subversion.revisions.scheduling.UpdateIndexMonitorImpl:job [ext.subversion.revisions.RevisionIndexer] Unable to index repository 'Nth_repo' Problem with path E:\Services\jira6_home\caches\indexes\plugins\atlassian-subversion-revisions: Lock obtain timed out: SimpleFSLock@JIRA_HOME\caches\indexes\plugins\atlassian-subversion-revisions\write.lock
	at com.atlassian.jira.plugin.ext.subversion.revisions.DefaultLuceneIndexAccessor.getIndexWriter(
	at com.atlassian.jira.plugin.ext.subversion.revisions.RevisionIndexer.updateIndex(
	at com.atlassian.jira.plugin.ext.subversion.revisions.scheduling.UpdateIndexTask.execute(
	at com.atlassian.jira.service.ServiceRunner.execute(
	at org.quartz.simpl.SimpleThreadPool$
Caused by: Lock obtain timed out: SimpleFSLock@JIRA_HOME\caches\indexes\plugins\atlassian-subversion-revisions\write.lock
	at org.apache.lucene.index.IndexWriter.<init>(
	at org.apache.lucene.index.IndexWriter.<init>(
	at com.atlassian.jira.plugin.ext.subversion.revisions.DefaultLuceneIndexAccessor.getIndexWriter(
	... 7 more

1 answer

1 accepted

I had the same problem under windows. I have resolved it by making the directory JIRA_HOME\caches\indexes\plugins\atlassian-subversion-revisions world writable.

Finally I've disabled the plugin, then granted rw permissions to the plugin\ directory, enabled & full reindexed.

It worked!

I've tried both of these and still no indexes (write.lock) file. :(

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,293 views 14 20
Join discussion

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot