
« Volver a Upgrade Instructions
Upgrade Instructions for Update Releases
Introduction#
Here are instructions for how to upgrade "Update Releases". When the release number changes by 0.0.1
Upgrading Liferay without customizations #
If you havent made any modifications to the Liferay core and are using Liferay out of the box, all you need to do is upgrade the database.
Starting with 4.3+, database upgrade scripts are automatically run when the code base is updated.
Let's say you are using the Liferay-tomcat bundle for 4.3.4 and you want to upgrade to Liferay Portal 4.3.5
- as with all upgrades.. backup your database
- make sure tomcat is shutdown (tomcat\bin\shutdown.sh)
- download unzip the new liferay-tomcat bundle (http://sourceforge.net/projects/lportal/ or http://www.liferay.com/web/guest/downloads)
- modify the tomcat bundle to point to your existing database (tomcat\conf\Catalina\localhost\ROOT.xml)
- startup the new tomcat bundle (watch the tomcat log and watch to see it run the upgrade scripts, it will only run this one time)
Upgrading Liferay with customizations #
If you have made any customizations, you should have an EXT environment. What you are basically doing is rebuilding the ext environment. The ant script is written in such a way that it will only overwrite the old core code, the code that needs to be updated.
- as with all upgrades.. backup your database
- make sure tomcat is shutdown (tomcat\bin\shutdown.sh)
- download and unzip the new Liferay Portal Source (http://sourceforge.net/projects/lportal/ or http://www.liferay.com/web/guest/downloads/additional)
- create a release.[Username].properties file to point to your existing EXT environment (or copy the one from your old portal source)
- from your new portal folder (which has the release.[Username].properties file, run "ant clean start build-ext". this will upgrade the code in your ext environment without touching your customizations
- from the upgraded ext folder, run "ant deploy"
- startup the new tomcat bundle (watch the tomcat log and watch to see it run the upgrade scripts, it will only run this one time)
38794 Accesos