how to start confluence after a migration
Asked by Kathy Plamann:

Hi

I have migrated Confluence to another server. I zipped the home and install directories an moved them and unzipped with 7-zip. Now how do I start Confluence? This is Confluence 5.5.6.

Thanks

Kathy


Answers:
author: Kathy Plamann
body: I'm still having problems trying to get confluence started. These are the steps I took.

1. 7zip the files--installation and home directories on the Windows Server 2008 OS
2. copied the 7zip files to the new server that has Windows Server 2012R2
3. on the original server the confluence was a windows service and I don't see anywhere that the JRE_HOME is defined as an environmental variable
4. so the state I am in on Windows Server 2012R2 is that Confluence is not setup as a Windows Service and even if I run start-confluence.bat on the command line the Tomcat displays the following --it seems to hang. See the attachment.
5. My goal is to be able to get confluence running on the Windows Server 2012R2 server and to have Confluence set up as a windows service  
   Thanks  
   Kathy  
   \*I'm only allowed to post on the Answer board once a day so I won't be able to respond to questions until tomorrow ( and only one at a day)

[](https://community.atlassian.com/t5/Confluence-questions/how-to-start-confluence-after-a-migration/qaq-p/383698?attachment-id=4765){#link_1187ef4e365910}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/64928/1/Tomcat.pdf){#display_1187ef4e365910_0}


author: Nic Brough -Adaptavist-
body: Possibly, the same way you started the old one. But we don't know what you've done with the database or what the differences between the servers are that you might have to make config changes for.


author: Rodrigo Girardi Adami
body: Hi Kathy, I've upvoted your question and answer so you should be able to answer sooner now.

As for the migration, I believe your best alternative in this case is to install Confluence from scratch in the new server and setup some external database ( would be good to use a bogus schema from the same database as Confluence is currently using)

After the installation is done, stop confluence service, copy over the attachments folder to the new home directory and open the Confluence.cfg.xml file inside the new home directory on the new server.

Locate the connection URL to the database and modify it to point the same database as production. ( In order for this to work, you must be using the exact same version of confluence). Also, change the username and password accordingly. Save the file and restart the instance. It should work.

For safety reasons, I recommend to perform a full backup from the database and all important confluence folders before proceeding.

Regards,

Rodrigo

comments: author: AmandaW
body: Thanks RodrigoI tried a fresh install and I still have the same problem trying to start Confluence that I had with the migration. I did create a ticket with Support.Thanks for your helpKathy


author: Rodrigo Girardi Adami
body: Hi Kathy,

We usually follow the steps[located in this documentation](https://confluence.atlassian.com/doc/migrating-confluence-between-servers-184150.html#MigratingConfluenceBetweenServers-TransferringConfluenceToAnotherServerUsingTheSameOperatingSystem). There are some points you must take when migrating to another server.

1) Is the same OS?

2) Do it contains the same user permission than the older server (this is very important, specially in Linux environments.)

3) Do the network changed when comparing to the old server (do the new server is in a new subnet?)

4) In case the network changed, can the new environment connect to the database without issues?

I usually ask myself these question in order to avoid some headache in the migration. I hope this give you some insights.

Cheers.

Rodrigo


author: William Zanchet [Atlassian]
body: Hi Kathy,  

If it's Windows you can open the start-confluence.bat that is located in the \<install-folder\>/bin and if it's Linux, it's the start-confluence.sh, both of them located in the same folder.  

Cheers,  
WZ


Tags: confluence-administration