JIRA 6.3.4, migrate to other server, import mysql dump problem

Hi!

I am trying to perform a migration of our JIRA 6.3.4 installation on a LINUX machine to another LINUX machine.

By using mysqldump, I created a dump of the JIRA DB and I am importing the mysqldump file into the mysql JIRA DB on the destination machine.

I am copying the JIRA program directory and the JIRA home directory to the destination machine by using rsync using the --delete switch to exactly receive the source version of the file/directory structure.

Afterwards I am doing a reindex on the destination JIRA.

I realized, that the Base URL is still the original value but I suppose, that it should have been set to the value of the source machine ? Using mysql command line on the destination DB, I can see that the source machine BASE URL is present in the propertystring and changeitem tables, but not in the JIRA System GUI.

The issues of the source machine are visible, but when I try to update an issue I am receiving the following error:

"org.ofbiz.core.entity.GenericEntityException: while inserting: [GenericEntity:ChangeGroup][id,453410][author,sfe_admin][created,2015-03-18 15:15:08.288][issue,66821] (SQL Exception while executing the following:INSERT INTO changegroup (ID, issueid, AUTHOR, CREATED) VALUES (?, ?, ?, ?) (Duplicate entry '453410' for key 'PRIMARY'))

It seems that you have tried to perform an illegal workflow operation.

If you think this message is wrong, please contact your JIRA administrators."

Any help with what is going wrong or missing would be greatly appreciated!

Thanx in advance!

regards,

Hans

1 answer

0 votes

>I can see that the source machine BASE URL is present in the propertystring and changeitem tables, but not in the JIRA System GUI

That sounds like something has gone wrong.  What do you see when you go to Admin -> General configuration and look at the base url?  And what happens if you change it to what it should be on the new server?

On the issue update question, may I ask about the mysqldump you took - the first question is "did you have JIRA offline when you did the dump"?

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

3,089 views 13 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