Install hybris temp/trial license

You can reset developer license with initializing. In initialize process all data deleted. You can install temp license without initialize. Use license.bat/ for generating temp license. You can find this script at bin/platform. You need to create temp license by db. We have these options:

  • CPS_MYS = mysql
  • CPS_HDB = hana
  • CPS_ORA = oracle
  • CPS_MSS = mssql
  • CPS_POS = postgres
  • CPS_SQL = ?

For example we create temp license for mysql:
./ -temp CPS_MYS

You will get temp license for 90 day.

You need remove old license after 90 day for new one. You can delete it with below command:
./ -delete SystemID HardwareKey SoftwareProducts

You can get above parameters with below command:
./ -get

— thanks to Yusuf for above information.

Also you can reset trial license with updating user creation time.

UPDATE users set createdTS = NOW()

NOTE: NOW() command for MySql, you must chose relevant command for your database. There is no option running update command on UI, you can develop groovy script for running this command over jdbc.

9 Responses to “Install hybris temp/trial license”

  1. Mustafa Kerim Yılmaz

    I think you are trying shell script (sh) file on Windows operating system. You need to use “license.bat” file, instead of “./”.

  2. I am using right command “./license.bat ” its still showing the same error “. is not recognized as internal or external command, operable program or batch file”

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.