Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

We're getting this error when trying to backup from cloud and restore to server

Error importing data: org.xml.sax.SAXException: com.atlassian.jira.exception.DataAccessException: org.ofbiz.core.entity.GenericEntityException: while inserting: [GenericEntity:GroupAttribute][id,13747] (SQL Exception while executing the following:INSERT INTO atis_jira_schema.cwd_group_attributes (ID, group_id, directory_id, attribute_name, attribute_value, lower_attribute_value) VALUES (?, ?, ?, ?, ?, ?) (Cannot insert duplicate key row in object 'atis_jira_schema.cwd_group_attributes' with unique index 'uk_group_attr_name_lval'. The duplicate key value is (<NULL>, <NULL>, <NULL>).)) java.lang.Exception: com.atlassian.jira.exception.DataAccessException: org.ofbiz.core.entity.GenericEntityException: while inserting: [GenericEntity:GroupAttribute][id,13747] (SQL Exception while executing the following:INSERT INTO atis_jira_schema.cwd_group_attributes (ID, group_id, directory_id, attribute_name, attribute_value, lower_attribute_value) VALUES (?, ?, ?, ?, ?, ?) (Cannot insert duplicate key row in object 'atis_jira_schema.cwd_group_attributes' with unique index 'uk_group_attr_name_lval'. The duplicate key value is (<NULL>, <NULL>, <NULL>).))

1 answer

0 votes

@Daniel Joseph McLean,

Were you able to resolve this?

I get the same error (the backup came from Cloud and is being restored to Server). I get the exact same NULL insert error on the same table. My SQL Server 2017 database collation is (per Atlassian documentation) set to Latin1_General_CI_AI and I am using the :latest tag of https://hub.docker.com/r/atlassian/jira-software (which is currently 8.14.0).

I've tried "cleaning" the exported data using the atlassian-xml-cleaner-0.1 JAR trick but still get the same error. 

Your post is literally the only Google result for the error, table and NULL insert combination so fingers crossed that you figured this one out :-)

Hi Bobby we did get this issue resolved: 

 

If I remember correctly, I looked at the error log and found the name of the index that was being problematic and deleted from the existing database. Once it got past that roadblock it restored without errors. Then there was the default admin user account that is created/reset. I think I just Googled that.

Like Bobby Hartsfield likes this

Credit for that resolution goes to one of our engineers 

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Marketplace Apps & Integrations

☕️ Monday coffee with Jexo: Weekly Atlassian news roundup | 21st June 2021

Hi community 👋, as every Monday we're bringing you a quick update on what happened in the Atlassian ecosystem last week. There were a few interesting events like for example the announcement of th...

29 views 0 4
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you