Your software
My Mautic version is: 5.0.2
My PHP version is: 8.1.27
My Database type and version is: mariadb-server 1:10.11.6-0+deb12u1
Your problem
My problem is: Plugin is not shown in the backend unter plugins
These errors are showing in the log:
Steps I have tried to fix the problem:
I bought the new version of the plugin, uploaded it in to mautic/plugins directory. Logged into Mautic and looked for the plugins. All the other ones are there, but not this one.
I tried it with GrapesJBuilder activated and also without it. No difference.
I did it. And since than the site is not available any more:
The site is currently offline due to encountering an error. If the problem persists, please contact the system administrator.
Then I tried a
php bin/console mautic:update:find
which tells me that there are no updates, which is correct.
Then I did a
composer update mautic/core-lib --with-dependencies
which ran through and ended with the following error:
sh: 1: npm: not found
Script npm ci --prefer-offline --no-audit handling the npm-ci event returned with error code 127
Script @npm-ci was called via post-update-cmd
Well do I really need npm? I don’t want to install a bunch of packages that are not really needed.
It get’s annoying. Such a mess because of a plugin for which I have to pay also money!
Many thanks for your quick answer.
I have no problems with software depending on other software. But npm scared me a little bit with the vast majority of packages it wants to install.
Yes, my first choice is also this, that I have a developing system which I’m applying updates on and if tested, transferring them via rsync to the production server.
After testing, installing, changing and upgrading I finally got it all together.
Thanks to Joey’s Install Guide: Setup From Scratch.
I also got it managed to migrate all data from 4.4.11 to 5.0.2 using this:
Now my question is: Which folders do I need to transfer to the production environment? Is it the whole mautic folder with mautic/docroot? I guess, yes. Because the local.php file is unter mautic/config.