Update from Jira 3.10.2 to Jira 4.4.5 ,the error show when I Restore JIRA data from Backup

The material I Reference is https://confluence.atlassian.com/display/JIRA044/Migrating+JIRA+to+Another+Server

When I use Jira 4.4.5 import xz.xml which is exported by Jira 3.10.2

The error show is picture "The error of Restore data from Backup"

So I can't use Jira 4.4.5 import xz.xml.

Errors

•The index path G:\WebAppServer\Data\IssueData\Indexs specified in the backup file is not valid.
•The attachment path G:\WebAppServer\Data\IssueData\Attachments specified in the backup file is not valid.

But My index path is picture "Indexing path"

My attachment path is picture "attachment path"

I don't know why the error show the index path and attachment path is in G driver,not in C driver

The Environment is:

I install Jira 3.10.2 , the tcp port is 8080, The SSL port is 8005.

The Path of the Jira 3.10.2 I install is C:\Program Files\JIRA-Enterprise-3.10.2

The database I use is Postgresql 8.2

The user name of Jira 3.10. 2 in Postgresql 8.2 is jira

The tableplace name of Jira 3.10.2 in Postgresql 8.2 is jira

The database name of Jira 3.10.2 in Postgresql 8.2 is jira

I export the xml of Jira 3.10.2 named xz.xml

Then I install Jira 4.4.5 on the same server, the tcp port is 8090, The SSL port is 8006.

The Path of the Jira 4.4.5 I install is E:\Program Files\Atlassian

The database I use is Postgresql 8.2 too.

Then I open the " Jira configuration tools " of Jira 4.4.5

I change the Jira Home Directory to "C:\Program Files\JIRA-Enterprise-3.10.2"

The user name of Jira 4.4.5 in Postgresql 8.2 is jira (I use the same user as Jira 3.10.2)

The tableplace name of Jira 4.4.5 in Postgresql 8.2 is jiradb

The database name of Jira 4.4.5 in Postgresql 8.2 is jiradb

Then I open the " Jira configuration tools " of Jira 4.4.5

I change the Database type is "PostgreSQL"

I test DB Connection is successful.

The content of jira-application.properties in Jira 4.4.5 is

jira.home=C:\\Program Files\\JIRA-Enterprise-3.10.2

The content of jira-application.properties in Jira 3.10.2 is Picture jira-application.properties(Jira 3.10.2)

Then I copy the content of jira-application.properties in Jira 3.10.2 to jira-application.properties in Jira 4.4.5,the content under "jira.home=C:\\Program Files\\JIRA-Enterprise-3.10.2"

Then I copy the osuser.xml from C:\Program Files\JIRA-Enterprise-3.10.2\atlassian-jira\WEB-INF\classes to

E:\Program Files\Atlassian\JIRA\atlassion-jira\WEB-INF\classes

When I use Jira 4.4.5 import xz.xml ,the error show::

Errors

•The index path G:\WebAppServer\Data\IssueData\Indexs specified in the backup file is not valid.
•The attachment path G:\WebAppServer\Data\IssueData\Attachments specified in the backup file is not valid.

How can I solve this problem?

Is there any wrong with update steps?

2 answers

0 votes

What is the error?

0 votes
Richie Gee Atlassian Team Nov 04, 2013

•The index path G:\WebAppServer\Data\IssueData\Indexs specified in the backup file is not valid.
•The attachment path G:\WebAppServer\Data\IssueData\Attachments specified in the backup file is not valid.

Based on the error, it seems like JIRA is having difficulties to locate the index files as pointed by the backup which throws this error.

Can you help to copy the contents from the location below to your new JIRA data folder and check if the problem go away?

  • G:\WebAppServer\Data\IssueData\Indexs
  • G:\WebAppServer\Data\IssueData\Attachments

To

  • C:\Program Files\JIRA-Enterprise-3.10.2\caches\indexes
  • C:\Program Files\JIRA-Enterprise-3.10.2\data\attachments

It will still prompt you error when restoring, but there will be a small link for you to choose to use default directory to move forward.

Hope this helps.

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,309 views 12 19
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