Installation of plugins is broken in Mautic package
-
@micmc said in Installation of plugins is broken in Mautic package:
And, is it just me or it seems like since Mautic 5 and Cloudron 8.x it is incredibly slooow to save things in configuration sometimes it takes up to a minute?
Can you maybe open a separate thread about this? Are you able to reproduce this with the demo instance?
@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.