mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-15 09:46:11 +01:00
bug fix: mautic install
This commit is contained in:
@@ -108,11 +108,12 @@ class ApplicationInstaller(multi.Thread):
|
||||
#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:
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user