Scope
Apply to 2.10.3 or above, for EAR/WAR Edition ONLY. Tested up to 5.0.2.
Upgrade steps
Shutdown Tomcat (using tomcat.sh).
1. Backup database, mysqldump or shutting down mysql and backup /var/lib/mysql
2. Backup confluence.home folder (/opt/wiki/data), as well as the installation folder (/opt/confluence)
3. Backup the old version
mv /opt/confluence /opt/confluence-5.0.1
4. Extract the tarball
tar zxvf confluence-5.0.2.tar.gz
5. Rename the 5.0.2 to confluence to avoid changing the Tomcat context descriptor context.xml
mv /opt/confluence-5.0.2 /opt/confluence
6. edit /opt/confluence/confluence/WEB-INF/classes/confluence-init.properties
confluence.home=/opt/wiki/data confluence.backup.path.set.allowed=true
7. Start Tomcat
Reference:
http://confluence.atlassian.com/display/DOC/Upgrading+Confluence+EAR-WAR+Distribution