Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

Unable to Restore XML Backup while migrate jira cloud to jira server

Hi,

We are trying to migrate JIRA from jira cloud to jira server, JIRA installation has done on linux machine JIRA version Version : 7.12.1.

Facing issue while restoring XML backup zip formate getting below error please suggest.

 

Error importing data: org.xml.sax.SAXException: com.atlassian.jira.exception.DataAccessException: org.ofbiz.core.entity.GenericEntityException: while inserting: [GenericEntity:Action][updateauthor,vkatorgin][issue,33709][author,vkatorgin][created,2017-01-23 16:22:37.27][id,62590][type,comment][body,👏 ][updated,2017-01-23 16:22:37.27] (SQL Exception while executing the following:INSERT INTO jiraaction (ID, issueid, AUTHOR, actiontype, actionlevel, rolelevel, actionbody, CREATED, UPDATEAUTHOR, UPDATED, actionnum) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (Incorrect string value: '\xF0\x9F\x91\x8F ' for column 'actionbody' at row 1)) java.lang.Exception: com.atlassian.jira.exception.DataAccessException: org.ofbiz.core.entity.GenericEntityException: while inserting: [GenericEntity:Action][updateauthor,vkatorgin][issue,33709][author,vkatorgin][created,2017-01-23 16:22:37.27][id,62590][type,comment][body,👏 ][updated,2017-01-23 16:22:37.27] (SQL Exception while executing the following:INSERT INTO jiraaction (ID, issueid, AUTHOR, actiontype, actionlevel, rolelevel, actionbody, CREATED, UPDATEAUTHOR, UPDATED, actionnum) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (Incorrect string value: '\xF0\x9F\x91\x8F ' for column 'actionbody' at row 1))

Regards,

 

Alex Lekontsev.

3 answers

can you advise me what to do with this download file atlassian-xml-cleaner-0.1.jar

The command is on that page

java -jar atlassian-xml-cleaner-0.1.jar entities.xml > entities-clean.xml
Like Corentin Mehat likes this

I was experiencing the same issue and this workaround worked for me!

Thank you @Алексей Леконцев !

Which database are you using? From a quick glance at the errors I would hazard a guess at mysql - which doesn't support the characters you are importing.

You can manually remove them all from the backup file before restoring.

We use MySQL 5.7.23

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Jira Software

Presenting the "Best of 2020" Jira Software roundup!

Catch up with Atlassian Product Managers in our 2020 Demo Den round-up! From Advanced Roadmaps to Code in Jira to Next-Gen Workflows, check out the videos below to help up-level your work in the new ...

4,459 views 5 15
Join discussion

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