Search code examples
sap-commerce-cloud

How to unlock hybris in the DB?


To refresh data in a non production environment (from production) I'm sent a DB dump that I need to import, update the admin password and 'unlock' hybris - the deploy would be a lot easier if this new environment is unlocked before the deployment happens so I can do an 'update running system'. Is it possible to unlock Hybris by making changes in the database, before Hybris is started up?


Solution

  • update props set valuestring1='0' where name='system.locked';
    

    or

    delete from props where name='system.locked';