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 vote
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 Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Apr 17, 2018 in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

809 views 2 19
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