Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

JiraLockedError- Migrating attachements,plugins 6.2 - 7.1.1 (XML Restore)

jbalakri
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 8, 2016

Hello,

We are migrating from JIRA 6.2 to JIRA Software 7.1.1 on a test bed. We've created a new empty database installed JIRA 7.1.1 onto a VM. I've moved over the attachments, and plugins and copied over the new 7.1.1 attachments and plugins directory. Now when starting JIRA I receive a JIRA - Internal Serve Error, with a general JiraLockError. I can not find the lock file after shutting down JIRA so the issue is during start up.

This is on a Linux x64 based VM. I've already tried the XML restore from the previous 6.2 instance and it works fine doing an integrity check re-index etc. The JiraLockError only comes when moving the attachments over into the regular /data/attachments folder.

I've also tried creating a new data directory placing the old copy of the 6.2 into the directory and simply pointing the JIRA_HOME using the setenv.sh.

 

TL,DR

Successful XML restore new 7.1.1 instance using data from 6.2 , Attachments cause JiraLockedError. Error re-produced before or after XML restore.

 

Thank you

2 answers

1 accepted

0 votes
Answer accepted
jbalakri
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 9, 2016

Thank you for the advice we figured out the problem. I forgot to change the permissions on the attachments folder from the previous system to the new system. This resolved the JiraLockedError.

 

Thank you for your advice.

1 vote
Nic Brough -Adaptavist-
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.
March 8, 2016

What does the log file say just before the "JIRA is locked" error you get at the end of the startup?

Suggest an answer

Log in or Sign up to answer