How to migrate confluence to another server (with JIRA)

Takahiro Kawasaki August 20, 2019

Old environment :

  • OS : Ubuntu 14.04.1 LTS
  • Confluence (Server) : 6.14.0
  • JIRA (Server) : 7.13.0
  • Both uses embedded database

New environment :

  • OS (Host) : Ubuntu 18.04.3 LTS
  • OS (Client ) : Ubuntu 18.04.2 LTS (on docker)
  • Confluence (Server) : 6.14.0
  • JIRA (Server) : 7.13.0
  • MySQL is used instead of the embedded database

Confluence refers JIRA to get auth information (used at login).

The problem is that the new confluence cannot get auth information from old/new JIRA.

I exported the data of the old confluence, and imported it to the new confluence. The imported data includes connection information to JIRA. So, the new confluence tries to refer old JIRA server in the same server, as a result, I can't login to the new confluence.

I installed an empty confluence and set it up to refer JIRA. It went well. I could logged in.

But after I imported the data of the old confluence, It didn't work.

So, how can I migrate confluence/JIRA to the new server?

2 answers

2 accepted

0 votes
Answer accepted
Slava
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 20, 2019

Hi Takahiro,

 

If the previous answer didn't help, feel free to try the db admin password reset step.

You will have to update the 'credential' field for your admin user in the 'cwd_user' table. For more details please see:

https://confluence.atlassian.com/conf64/restore-passwords-to-recover-admin-user-rights-936511358.html#RestorePasswordsToRecoverAdminUserRights-nolocal

 

Cheers,

Sveatoslav

Takahiro Kawasaki August 21, 2019

Thank you for your comment.

I could logged in by the way in the previous answer.

0 votes
Answer accepted
DPKJ
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 20, 2019

You are right on track for migration,

Once you migrate both your Jira and Confluence data to new servers.

You need to login to Confluence to change Auth settings and for this to happen you first need recover you admin account password,

Follow this guide - https://confluence.atlassian.com/doc/restore-passwords-to-recover-admin-user-rights-158390.html

Once you are done with this, you can login with admin account in confluence and you can change login details and point them to new Jira instance.

Takahiro Kawasaki August 21, 2019

It worked, thank you for your advice.

After that, I tried to set User Directory.

  • create Jira user server on JIRA (set application name and PW)
  • create user directory on Confluence

But I got following error.

"com.atlassian.crowd.exception.ApplicationPermissionException: Forbidden (403)"

Takahiro Kawasaki August 21, 2019

After I changed IP address of the User Directory setting, it worked.

127.0.0.1 worked, but 192.168.x.x (IP of the server confluence and Jira are installed) didn't.

DPKJ
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 21, 2019

Can be a simple IP error or external port not open on server kind of issue.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events