After copying full application-data from old windows installation to linux installation's application-data, failed to open confluence web site.
Before copying, I have finished the database setup for linux installation. The error is as below:
One of the common causes of Confluence does not start due to Spring Application context has not been set is unexpected formatting in the confluence.cfg.xml file. According to Migrating Confluence Between Servers, since you moved from Windows to Linux:
"... you'll need to replace the backslashes with forward slashes in the following lines in confluence.cfg.xml:"
I look forward to hearing whether Confluence starts after the confluence.cfg.xml is edited.
You mentioned that you completed the setup step for the Linux database. In order for the application data directory ("Confluence Home") to work with the database, the database will need to have been restored from a backup of the old database. The Confluence setup wizard sets up the schema but does not restore the data from your old Windows database.
One strategy would be to use the XML backup and restore to change the OS. You would just install Confluence out of the box on Linux with no data, then import an XML site backup from the Windows instance. If you don't have much data it can be an easy way to go. You will not need to copy over the home directory if you include attachments in the backup.
Please keep me posted on your progress, I will be happy to help out.
Thanks for your reply. The windows installation has been shutdown and removed, I only kept its application data directory. So I can't use the xml import solution.
I confirmed that the confluence.cfg.xml is correct. So I started the linux installation again, and I want to set up the clean linux installation firstly and then check how to import old data. But this time, after mysql database is set up successfully, I am directed to a blank page, seems not successful. I have attached the screen as below, any thought?
It seems that the database setup information(connection string, username, pass) are not saved into the confluence.cfg.xml successfully. as below:
More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...
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