Installing production backup into test

I have installed JIRA 5.2 on a test server and loaded the backup file from production 4.1. I have disabled the email notifications as suggested by the documentation. When I log in now, I get this error: "Error loading gadget from rest/gadgets/1.0/g/com.atlassian.jira.gadgets:introduction-gadget/gadgets/introduction-gadget.xml: org.apache.shindig.gadgets.GadgetException: Unable to retrieve gadget xml. HTTP error 500"

6 answers

1 accepted

Accepted Answer
0 votes

Issue was caused by this : 'ORA-01461 can bind a LONG value only for insert into a LONG column' Error Due to Oracle Database Definition. Was able to resolve by "Modify WEB-INF/classes/entitydefs/fieldtype-oracle10g.xml to define very-long as a CLOB."

see: https://confluence.atlassian.com/display/JIRAKB/'ORA-01461+can+bind+a+LONG+value+only+for+insert+into+a+LONG+column'+Error+Due+to+Oracle+Database+Definition

Hi, you can't go from 4.1 to straight to 5.2. Check the upgrade notes for JIRA from 5.2 and make sure to go through all the major/minor versions for anything specific. You'll need to at least get to 4.4 first.

correction. going from 4.4 to 5.2

What does the logs say?

I have an open ticket with support. If I get the underlying problem, I'll post it here

As Harry Chan suggested you can't jump directly from 4.4 to 5.1, instead follow the below steps.

1. Setup intermediatory JIRA with 4.4 version.

2. Import prod jira 4.4 data to this new jira4.4.

3. Upgrade JIRA 4.4 to JIRA 5.2.

4. Take export of intermediatory JIRA 5.2.

5. Import it into test jira 5.2.

Thanks Venu, but the issue was resolved by modifying the xml file as noted above

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 18, 2018 in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

26,084 views 2 7
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