Skip to content

Commit fdcb782

Browse files
committed
bug fix: mautic install
1 parent a6a4889 commit fdcb782

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

plogical/applicationInstaller.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,11 +108,12 @@ def InstallNodeJS(self):
108108
#command = 'curl -fsSL <https://deb.nodesource.com/setup_20.x> | sudo -E bash -'
109109
#ProcessUtilities.executioner(command, 'root', True)
110110

111-
command = 'DEBIAN_FRONTEND=noninteractive nodejs npm -y'
111+
command = 'DEBIAN_FRONTEND=noninteractive apt-get install nodejs npm -y'
112112
ProcessUtilities.executioner(command, 'root', True)
113113

114114
return 1
115115

116+
116117
def installMautic(self):
117118
try:
118119

@@ -263,6 +264,10 @@ def installMautic(self):
263264
raise BaseException(result)
264265

265266

267+
command = f'{phpPath} -d memory_limit=256M bin/console mautic:assets:generate'
268+
ProcessUtilities.outputExecutioner(command, externalApp, None, finalPath)
269+
270+
266271
ExistingDocRoot = ACLManager.FindDocRootOfSite(None, domainName)
267272

268273
if ExistingDocRoot.find('docroot') > -1:

0 commit comments

Comments
 (0)