Prevent "JIRA is Locked " Errors

What do you do to prevent this?

My idea is to delete the lock file automatically (if it exists), before the jira start.

Could this cause any problems?

4 answers

1 accepted

This widget could not be displayed.

Hi, one possibility is unclean shutdown. Have you checked the logs for what errors there may be on shutdown?

Yes, it's happening because of unclean shutdowns (our playground server gets often too hot and shuts down automatically)

ATM we're only evaluating jira and stash, that's why we got only the 10$ package and installed it on the test server" and not the production machine.

The unclean shutdowns need to be fixed. Otherwise not much can be done. A server that keeps shutting down doesn't seem right, even if a development server.

This widget could not be displayed.

Which version of Jira are you running? There is a problem that Jira takes a long time to shutdown and it could leave lock file if an outside influence kills the Jira process.

This widget could not be displayed.

you remove the files from .m2/repository/com/atlassian/ and try again.

This widget could not be displayed.

Do not just remove it automatically - it's there to stop you damaging your installation by running two installations simultaneously. You need to find out why it's hanging around and deal with whatever that problem is.

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted 18 hours ago in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

45 views 1 0
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