Question about jira 4.2.4 restore with a mysql dump file


I have a jira 4.2.4 mysql dump file that I need to restore in an other Jira 4.2.4 installation.

I performed the restore with the classic mysql command but when I try to restart the Jira service I get that the license is not compatible with this version of Jira - However it's exactly the same version from both side !

in the atlassian log I get:

2013-02-22 22:40:06,320 Thread-1 ERROR [atlassian.jira.upgrade.UpgradeLauncher] No upgrade is being performed due to detected inconsistencies.

The current version of your license (v1) is incompatible with JIRA 4.2.4-b591.
You will need to upgrade your license or generate an evaluation license.

To upgrade your license visit :
generate an evaluation license visit :

follow the instructions that JIRA is presenting in your web browser.

2013-02-22 22:40:06,366 Thread-1 INFO [atlassian.jira.scheduler.JiraSchedulerLauncher] JIRA Scheduler not started: Johnson events detected.
2013-02-22 22:40:15,429 Thread-14 INFO [atlassian.jira.startup.JiraStartupLogger]

So then the system ask me to request about a newer license - so I get a trial one but then the system seems to hang and I get some issues in the atlassian log like:

2013-02-22 22:43:31,521 http- ERROR 1362x23x1 ppj9ix, /secure/ConfirmInstallationWithLicense.jspa [sal.core.upgrade.PluginUpgrader] Upgrade failed: org.ofbiz.core.entity.GenericEntityException: while inserting: [GenericEntity:GadgetUserPreference][id,10005][userprefvalue,filter-11492][userprefkey,projectOrFilterId][portletconfiguration,13273] (SQL Exception while executing the following:INSERT INTO gadgetuserpreference (ID, PORTLETCONFIGURATION, USERPREFKEY, USERPREFVALUE) VALUES (?, ?, ?, ?) (Duplicate entry '10005' for key 'PRIMARY'))...

1 answer

Could you give more details into the process you used? Did you drop the db first or did you simply mysql -uroot -p jiradbhere<backupfile ? Can you post the logs?

thanks for your help:

I just stop the jira service and execute the mysql command without dropping the db before.

Sorry we can close this request - there was an issue with the dump file.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,953 views 19 22
Read article

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