Installation of plugins is broken in Mautic package
-
@joseph Yeah, I'll open a new thread about this, right.
Thanks and I tried with the DEMO as you suggested, and on the demo it's quite fast as it should be however since I'm referring to the saving in configuration section which can take up to a minute, I do not think in the DEMO version changes made really save whatever to the database, hence likely why it is fast. -
Here is the tweak, to use composer with NPM in the LAMP stack (@girish might be interesting for other apps in the LAMP stack as well, if someone with knowledge can confirm this approach):
export NPM_CONFIG_CACHE=/tmp/npm_cache export NPM_CONFIG_USERCONFIG=/tmp/.npmrc
then
mkdir -p /tmp/npm_cache touch /tmp/.npmrc npm ci --prefer-offline --no-audit
probably better prefix it with
sudo -E -u www-data ...
otherwise new created directories have the wrong ownership and need to be adjusted with
chown www-data:www-data MailjetBundle/ -R
"MailjetBundle" was the example I used it for.