Skip to content

Commit

Permalink
bug fix: mautic install
Browse files Browse the repository at this point in the history
  • Loading branch information
usmannasir committed Jan 31, 2024
1 parent a6a4889 commit fdcb782
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion plogical/applicationInstaller.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,11 +108,12 @@ def InstallNodeJS(self):
#command = 'curl -fsSL <https://deb.nodesource.com/setup_20.x> | 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:

Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit fdcb782

Please sign in to comment.