About migration from MySQL to PostgreSQL

Hi!

How i can migrate from jira 4.4 with MySql to jira 6.4 with PostgreSql?

Thank you!

5 answers

1 accepted

Accepted Answer
2 votes

This seems a known issue. Try the resolution at https://confluence.atlassian.com/pages/viewpage.action?pageId=389285646

1 vote

First, think of this as a two step process:

  1.  Upgrading JIRA (no change of database) - see https://confluence.atlassian.com/display/JIRA/Upgrading+JIRA
  2. Changing the database - see the database parts of https://confluence.atlassian.com/display/JIRA/Migrating+JIRA+to+Another+Server (it's basically down to "export data, point JIRA at new empty database, import data", but you need to check over all the steps in there)

You may well do both at the same time, but I'd recommend a logical split so that you can complete one safely before starting on the other.

0 votes

Check out https://confluence.atlassian.com/display/JIRA/Switching+Databases

Make sure the DB versions are supported.

Ok. I followed this instruction but i constantly have error: (ERROR: invalid byte sequence for encoding "UTF8": 0x00).

1) I backup my data (xml file) from JIRA 4.4 with MySQL DB. — OK

2) Install JIRA 6.4 with MySQL. — OK

3) Restore data from xml backup. — OK

4) Backup data (xml file) from new JIRA 6.4 with MySQL DB. — OK

5) Install PostgreSQL 9.3 (supported by jira). — OK

6) Stop JIRA 6.4. Delete dbconfig.xml. Start JIRA 6.4.

7) Configure connection with PostgreSQL DB. — OK

8) On next configuring step i choose "Import data". — OK

9) Type backup file name. Insert license code. Start restore. — OK

10) I see parsing process. After few seconds i getting error message.

 

Any ideas?

Hey!!! Anybody can answer to me?

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 18, 2018 in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

21,494 views 2 7
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