From fdcb7822d26713aad5b853145839eedd69000aa4 Mon Sep 17 00:00:00 2001 From: usmannasir Date: Wed, 31 Jan 2024 12:47:56 +0500 Subject: [PATCH] bug fix: mautic install --- plogical/applicationInstaller.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/plogical/applicationInstaller.py b/plogical/applicationInstaller.py index c228293d7..142df634b 100755 --- a/plogical/applicationInstaller.py +++ b/plogical/applicationInstaller.py @@ -108,11 +108,12 @@ def InstallNodeJS(self): #command = 'curl -fsSL | sudo -E bash -' #ProcessUtilities.executioner(command, 'root', True) - command = 'DEBIAN_FRONTEND=noninteractive nodejs npm -y' + command = 'DEBIAN_FRONTEND=noninteractive apt-get install nodejs npm -y' ProcessUtilities.executioner(command, 'root', True) return 1 + def installMautic(self): try: @@ -263,6 +264,10 @@ def installMautic(self): raise BaseException(result) + command = f'{phpPath} -d memory_limit=256M bin/console mautic:assets:generate' + ProcessUtilities.outputExecutioner(command, externalApp, None, finalPath) + + ExistingDocRoot = ACLManager.FindDocRootOfSite(None, domainName) if ExistingDocRoot.find('docroot') > -1: