From fab98610976ca45910855049939bb1e896980941 Mon Sep 17 00:00:00 2001 From: Ihor Aleksandrychiev Date: Mon, 28 Jul 2025 19:16:41 +0300 Subject: [PATCH] Added post install command to migrate CMDB configs Ticket: ENT-11117 ChangeLog: none Signed-off-by: Ihor Aleksandrychiev --- packaging/common/cfengine-hub/postinstall.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/packaging/common/cfengine-hub/postinstall.sh b/packaging/common/cfengine-hub/postinstall.sh index 4629232ac..272ac75b0 100644 --- a/packaging/common/cfengine-hub/postinstall.sh +++ b/packaging/common/cfengine-hub/postinstall.sh @@ -1035,6 +1035,7 @@ true "Updating MP password" true "Done updating password" su $MP_APACHE_USER -c "$PREFIX/httpd/php/bin/php $PREFIX/httpd/htdocs/public/index.php cli_tasks migrate_ldap_settings https://localhost/ldap" +su $MP_APACHE_USER -c "$PREFIX/httpd/php/bin/php $PREFIX/httpd/htdocs/public/index.php cli_tasks migrate_cmdb_configs" # Shut down Apache and Postgres again, because we may need them to start through # systemd later.