Details
-
Bug
-
Status: Closed
-
Resolution: Fixed
-
7.0.X EE, Master
-
7.0.x
-
Committed
-
1.25
-
Database Upgrade
Description
Steps to reproduce:
- Set up properties for db upgrade client(There are two ways to do this, and both of them should be tested)
- cd into a directory which doesn't contain the client's jar
For example, if the client is in /liferay-home/tools/portal-tools-db-upgrade-client, just cd into /liferay-home - run the client using java -jar /path/to/client.jar
For example in 1), run "java -jar tools/portal-tools-db-upgrade-client/com.liferay.portal.tools.db.upgrade.client.jar"
Expected:
The upgrade runs well
Actual:
The upgrade can't run due to class not found
Two ways to set up properties for DB Upgrade Client:
1) Set properties on console
a. Execute com.liferay.portal.tools.db.upgrade.client.jar directly, and follow the prompt to set up properties
2) Modify *.properties to set properties
a. Modify *.properties files in same folder as com.liferay.portal.tools.db.upgrade.client.jar
b. "dir" in app-server.properties and "liferay.home" in portal-upgrade-ext.properties are relative path to where current folder is, you can also set absolute path to these two properties.
Attachments
Issue Links
- causes
-
LPS-121345 Review how to configure paths for the upgrade tool
- Verified
-
LRDOCS-8044 Update database upgrade tool configuration instructions regarding file paths
-
- Closed
-