How to move my confluence installation to a new machine?

My confluence's mysql database is installed on a separate machine, and I want to move my confluence website to a new machine, how can I make it?


1 answer




I have done as the link to migrate, install the windows confluence installer, copy confluence home folder to the new server, copy the server.xml, copy the mysql jar. And then startup the service, and run start-confluence.bat, the error in the following screen shows up. I set the jre path in the setclasspath.bat set JRE_HOME=C:\Program Files\Atlassian\Confluence\jre, and then run again, it shows up as the second screen. And I try to open confluence in the IE with localhost:8090, it can't open. What can I do ?screen1.png


What you see in the application logs ? Can you provide the application logs here ?

Which version of mysql you are using ?

Thanks, this issue has been figured out, the reason is that the new server can't reach the mysql server.

but we found the other issue, with the latest installer, I can't edit the confluence document, it will show up the error as below:can not edit the document.png

If I'm translating that correctly, it means it can't get a connection to Synchrony.

To test this theory, try going to Admin -> collaborative editing, and turning it off.  Can you create/edit a page with that turned off?

Yes, after I turned off collaborative editing, the doc can be edited and saved. Btw the error words in the screen shot are "It is loading slowly, please get help from administrator". And Just after I log in the confluence, there will be a warning message: The collation health check has failed. Maybe there does have one error for collation? how can we fix it?

I am sorry, I did not explain this in detail because I have seen it a lot, and forget that other people have not.

There are many problems that might give you that error message.  The test I asked you to do on collaborative editing rules out a lot of possible problems, and in a good way - if you'd still not been able to edit, we would be in a worse place.

You should fix the collation error, just in case your users try to write pages with content that won't save properly, but it is not the cause of the problem with collaborative editing.

The issue you have with editing is because Confluence cannot talk to the Synchrony service.  Synchrony is installed alongside Confluence, not as part of it, so it looks a bit odd when it doesn't work.  Could you have a look at the Confluence and Synchrony logs generated at a time that you tried to edit and failed?

I will check the log to attach here. btw, where is the confluence and synchrony log?

And the other question, confluence is keeping my machine's CPU almost 100%, is there anything i can do ? my machine is windows server

For the logs check home directory/logs . Home directory is the one where the confluence.cfg.xml file resides.

Regarding high CPU, I remember I had raised the bug for high CPU usuage.

It seems people are still facing it and it is not resolved correctly.

However, you should check the thread dumps (Generated when you are facing 100 CPU usage) and raise this with Atlassian.

does confluence have the same 100% CPU problem in linux installation?

It can do.

You will not know whether a Linux/Unix/Other install might have the same problem until you have worked out what the problem is.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Dec 18, 2018 in Confluence Cloud

Happy holidays from our team to yours!

Hi Community!  2018 was filled with changes for our team, both big and small, and we've taken a lot of time to both celebrate our wins and recognize areas of improvement. One thing that we're a...

459 views 3 18
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