RE: Where do I find db_upgrade.bat/.sh

Thomas Kellerer, modified 5 Years ago. Expert Posts: 490 Join Date: 6/9/08 Recent Posts
I am trying to upgrade 7.0 GA4 to 7.0 GA7, but I can't find the db_upgrade script that is mentioned in the Wiki
Neither liferay-ce-portal-tomcat-7.0-ga7-20180507111753223.zip nor liferay-ce-portal-tools-7.0-ga7-20180507111753223.zip from https://sourceforge.net/projects/lportal/files/Liferay%20Portal/7.0.6%20GA7/ contains that shell script (batch file).
Where can I find that file? Or is that simply a wrapper around
java -jar com.liferay.portal.tools.db.upgrade.client.jar
thumbnail
Christoph Rabel, modified 5 Years ago. Liferay Legend Posts: 1555 Join Date: 9/24/09 Recent Posts
It was introduced in some Liferay version (7.1?) and isn't there in older versions. And yes, it is just a convenience wrapper to execute the jar file. So, it you are fine with just executing java -jar ...
Thomas Kellerer, modified 5 Years ago. Expert Posts: 490 Join Date: 6/9/08 Recent Posts
OK, thanks.
If it's not available in 7.0.x, you should update the Wiki then, because it is mentioned there:
https://portal.liferay.dev/docs/7-0/deploy/-/knowledge_base/d/running-the-upgrade-process
thumbnail
Alberto Chaparro, modified 5 Years ago. Liferay Master Posts: 560 Join Date: 4/25/11 Recent Posts
Hi Thomas,
The script is only available for DXP in 7.0. Thanks for reporting it, I have created a ticket to change the documentation:
https://issues.liferay.com/browse/LRDOCS-7654