Skip to content

Instantly share code, notes, and snippets.

@david-truong
Last active April 27, 2016 20:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save david-truong/a314ae8f99d19ab41fe111ad2c981c52 to your computer and use it in GitHub Desktop.
Save david-truong/a314ae8f99d19ab41fe111ad2c981c52 to your computer and use it in GitHub Desktop.
For portal-tools-upgrade-db-client

Portal Tools - DB Upgrade Client

The DB Upgrade Client is a to upgrade your Liferay database.

Usage

  • Liferay deployed to an application server.
  • Download the latest version of the tool.
  • Unzip (We recommend: ${liferayHome}/tools/portal-tools-db-upgrade-client)
  • Run java -jar com.liferay.portal.tools.db.upgrade.client.jar

Alternative method:

  • install jpm
  • Run jpm install com.liferay.portal.tools.db.upgrade.client
  • Run liferay-upgrade-db

The first time you run the tool it will configure properties for your installation of Liferay. You may chose to do this manually by configuring app-server.properties, portal-upgrade-database.properties, and portal-upgrade-ext.properties.

The tool will also automatically connect to GoGo shell after the upgrade. This will allow you to check the status of any module upgrades.

Options

--jvmOpts - set any jvm options for the upgrade process --logFile - use a custom name for your log file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment