Confluence upgrade - some questions

Hi All

I am trying to upgrade from confluence 3.0.2 to 4.2.6.

So first upgrading to 3.5.17 and then to 4.2.6

Per my understanding:

  • I am making a copy of my production setup in test system. Created a zip of confluence install directory and data directory and copied to my test system.
  • Downloaded the zip of 3.5.17 of confluence installer (i did not find windows installer) and extracted to test system.

Questions:

  1. How do I upgrade my old version. If I run startup.bat of 3.5.17 it just brings up 3.5.17 of confluence. (In 4.2.6 instaler it had option of upgrade) Is there a installer that I need to start in 3.5.17
  2. I modified conflue-init.properties under C:\conflu3-5-17\confluence-3.5.17-std\confluence\WEB-INF\classes setting confluence.home=c:/confluence/data. When I start server it throws an error saying it cannot find f:/confluence/data (which is what I have on production)
  3. I could not get the whole data directory ( as it is too large for my test system), so just copied files in top level only like confluence.cfg.xml, is there a better approach.

Please let me know.

Abraham.

1 answer

0 vote
Colin Goudie Community Champion Jun 30, 2012

1 and 2 are related. The general upgrade procedure is to point the new confluence installation and your existing data directory and existing database. If you are pointing at your existing data directory correctly then its confluence.cfg.xml will also point at the old database so it should all get auto upgraded. (obviously backup first or as you are doing, do this on a copy)

So it sounds like for some reason it is still finding your old confluence.home. Now that could be the case if it is definied as an environmental variable possibly, which would override your setting in confluence-init.properties. So check that first.

3. If this is a test system then you'll mainly be missing attachments if you do that, which might be ok for what you are doing but then you really aren't testing the full upgrade ;)

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

2,925 views 27 12
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