Hybris 30 days license expired

JuanDroid picture JuanDroid · Feb 12, 2019 · Viewed 10k times · Source

Im running my developer Hybris instance and I got a message the my license has expired.

Acoording to the wiki it saids I have to reinitialize database to continue my work

*** LICENSE VERIFICATION HAS FAILED! *** 

************************************************************* 
Your demo/develop license has expired, it is valid only for 30 days. If you're using develop licence you need to reinitialize database to continue your work. ************************************************************* 
Hybris licence [licence.advancedsecurity.true;licence.clustering.true;licence.date.2013.03.27;[email protected];licence.endcustomer=hybris AG;licence.eulaversion=2.0;licence.expiration.;licence.highperformance.true;licence.id=000001-001;licence.name=hybris Demo Licence;licence.version=5.0;]
Shutting down hybris registry.. 
archiving 1 old GC log files to log\solr\instances\default\archived 
archiving 1 console log files to \log\solr\instances\default\archived 
Rotating solr logs, keeping a max of 9 generations
Waiting up to 30 to see Solr running on port 8983 
Started Solr server on port 8983. Happy searching! 
error notifying tenant listener : ListableBeanFactory must not be null java.lang.IllegalArgumentException: ListableBeanFactory must not be null 
at org.springframework.util.Assert.notNull(Assert.java:134) 
at org.springframework.beans.factory.BeanFactoryUtils.beansOfTypeIncludingAncestors (BeanFactoryUtils.java:308) 
at de.hybris.olatform..mx.MBeanRe•isterUtilities.refreshMBeans MBeanRe•isterUtilities..ava:157 

This is the regular message.

This Hybris licence is only for demo or develop usage and is valid for 30 days. INFO After this time you have to reinitialize database to continue your work. INFO Remaining days ====> 26

How do I continue my work without reinitializing ?

Answer

mkysoft picture mkysoft · Feb 13, 2019

You can install temp license.

./license.sh -temp CPS_MYS

You will get 90 day temp license with above command. You need to remove existing temp license before installing new one with below command.

./license.sh -delete SystemID HardwareKey SoftwareProducts

You can get parameters which are used in above command with below command.

./license.sh -get

Sample commands given for MySQL on Linux/Mac,you need to use bat extension for windows.

Other license option is updating users create date with SQL:

UPDATE users set createdTS = NOW()

Source: http://gunce.mkysoft.com/install-hybris-temp-license/