I'm moving Confluence off an old server onto a new QA and a new production server. I also need to upgrade. I began by creating a backup of the database, installing the current version of Confluence (4.0.3) and pointing the new instance to the database backup. That gave me a working version identical to my current production version, minus the attachments. I followed these steps on both the new QA and production instances.
So, I had two working instances on two separate servers using Confluence 4.0.3. I then upgraded QA to 5.4 and it worked fine. The problem came when I copied over the original data directory to get the attachments, and in the process overwrote confluence.cfg.xml, and whatever other vital file was in that directory structure.
What would be the best strategy to fix this? I corrected the database connection and license information in the XML file from the working production version, but I'm getting an Apache error. Should I just go back and reinstall, or is there an easier way to repair this?
Overwriting the confluence cfg file is certain to broke the application since this file contains many configuration parameters including the database connection.
I heavily recommend to restore this file and the rest of the data directory from a backup if you have one and just overwrite the attachments folder next time to retrieve the attachments.
Hello Community, Jessica here from the Confluence product marketing team! Today I wanted to get your takes on project planning –– what works, what doesn’t, how do you know if you’re doing it r...
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!
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