xml import failure with SQL Expection

As I try to import an xml backup file - the restoration fails with below SQL Exception ;

 SQL Exception while executing the following:INSERT INTO cwd_group (ID, group_name, lower_group_name, active, local, created_date, updated_date, description, lower_description, group_type, directory_id) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (ORA-12899: value too large for column "JIRA"."CWD_GROUP"."DESCRIPTION" (actual: 258, maximum: 255)

SEN-2400644

1 answer

0 votes

What versions of JIRA are you on (i.e. what was the export made on, and what version are you importing it into?)

I am on 6.3.4 and the version that I am importing it on is also 6.3.4 . My case here is that I have done a fresh installation of 6.3.4 and I am importing the file that has been generated in another 6.3.4 environment to this new environment. Basically , I want a duplicate environment of jira but pointing to a new database.

ok - looks like I got the problem. seems like my dev team had increased the table size in the source jira instance - so the xml file had data with more than 255 limits. Edited the table limit in new db as well and restored successfully.

Hmm. You *really* shouldn't be changing the database like that. It renders your system unsupported (and will turn round and bite on all your transfers and upgrades). Please, undo it.

Chris Fuller Atlassian Team Jan 10, 2016

Strong +1 to what Nic has said. If your DBA spots that we're missing an index we need, that's one thing (and please tell us!) Altering the structure of the datamodel. changing the types and sizes of columns, etc. is just plain not a good idea. Even if it works today, there is no telling what weird and wonderful headaches it will give you tomorrow.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted 11 hours ago in Jira Service Desk

Looking for anyone who has switched from Zendesk to Jira Service Desk

Hi Community! The Jira Service Desk marketing team is looking for customers who have successfully switched from Zendesk to Jira Service Desk!   We’d love to hear your thoughts on the pros and ...

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