Migrating Datbase

Hello,

I'm attempting to migrate from the demo database to MSSQL 2008R2. The issue occured on Jira 5.2 so I upgraded to Jira 6.1 successfully, but I get this same error trying while attempting to import XML File:

Unexpected error occurred during import: org.ofbiz.core.entity.GenericEntityException: while inserting: [GenericEntity:Group][id,10143][groupName,Help Desk][description,Members of this management role group can view and manage the configuration for individual recipients and view recipients in an Exchange organization. Members of this role group can only manage the configuration each user can manage on his or her own mailbox. Additional permissions can be added by assigning additional management roles to this role group.][updatedDate,2013-10-24 16:18:38.371][directoryId,10000][lowerDescription,members of this management role group can view and manage the configuration for individual recipients and view recipients in an exchange organization. members of this role group can only manage the configuration each user can manage on his or her own mailbox. additional permissions can be added by assigning additional management roles to this role group.][active,1][local,0][type,GROUP][lowerGroupName,help desk][createdDate,2013-05-10 17:34:40.655] (SQL Exception while executing the following:INSERT INTO dbo.cwd_group (ID, group_name, lower_group_name, active, local, created_date, updated_date, description, lower_description, group_type, directory_id) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (Data truncation))

2 answers

This would be directed to the Plugin (Maybe OfBiz something idk), however, I can tell you it looks like some values were empty somehow in the insert statements. :) Hope this can help at all.

0 votes
Richie Gee Atlassian Team Nov 04, 2013

From the last line of the error code, this points me to the KB by microsoft below:

http://social.msdn.microsoft.com/Forums/sqlserver/en-US/71812a34-eb57-46c0-a5f0-76357ebd2d4f/data-truncation-error-in-sql-server-2008

Which seems to be the value in one of the column has exceeded the allowed size of the column type which ends up having this error.

Enterprise level databases has strict checking mechanism to avoid database integrity or truncation problems. You might want to look into the description which I think is the main cause for this problem.

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 ...

2,789 views 11 18
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