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 @@ class ApplicationInstaller(multi.Thread): #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 @@ class ApplicationInstaller(multi.Thread): 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: