Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to migrate confluence to another server (with JIRA)

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
DPK J Community Leader Aug 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.

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)"

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.

DPK J Community Leader Aug 21, 2019

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

0 votes
Answer accepted

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

Thank you for your comment.

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

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Confluence Cloud

Please tell us how you use Confluence space settings

👋 Hi there, a few of us at Atlassian would love to learn about how you use "space settings" functionality in Confluence. A facelift to the space settings is long overdue and we want to start with im...

566 views 15 9
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you