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.
Wherever you are in your team’s journey , our goal is to support your big ambitions. We’re a cloud-first company with the mission of unleashing the potential of every team, and to address the range ...
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