Hello to all,
Thanks for this great community.
I’m in my first serious try to install Mautic 5
I’m familiar with the old Mautic 3 and 4 installs, I manage nearly 20 installs today in 4.x, hosting, domain, DNS, SSL certificates, Mautic, campaigns, etc.
Your software
My Mautic version is: 5.0.4
My PHP version is: 8.3.7
My Database type and version is: MariaDB Ver 15.1 Distrib 10.11.6-MariaDB
My steps:
Debian 12 host on Clouding.io
Webmin already working
Virtualmin already working
Created virtualhost for mautic 5 instance
Configured SSL with Let’s Encrypt, all OK
Apache works, PHP works, PHPINFO show and works. OK
Installed composer from getcomposer.org latest 4 commands OK.
Moved composer to /usr/local/bin for PATH OK
composer command works both executing from ROOT and from mautic user (virtualmin)
composer -V shows version 2.7.6
logged in
created dir mautic in /public_html/
changed working directory to: /public_html/mautic
1st command try:
composer create-project mautic/recommended-project:^5.0 mautic --no-interaction
SHOWED errors on missing PHP modules: IMAP and BCMATH…
installed both under ROOT with:
apt install php8.3-imap OK
apt install php8.3-bcmath OK
Your problem
My problem is:
2nd command try:
composer create-project mautic/recommended-project:^5.0 mautic --no-interaction
These errors are showing in the log:
ERRORs on INSTALLATION LOG:
YELLOW ERROR
Package sensio/framework-extra-bundle is abandoned, you should avoid using it. U se Symfony instead.
Package theofidry/psysh-bundle is abandoned, you should avoid using it. No repla cement was suggested.
Package tightenco/collect is abandoned, you should avoid using it. Use illuminat e/collections instead.
Generating autoload files
115 packages you are using are looking for funding.
Use the composer fund
command to find out more!
YELLOW ERROR
Deprecation Notice: Return type of Mautic\Composer\Plugin\Scaffold\Operations\Sc affoldFileCollection::getIterator() should either be compatible with IteratorAgg regate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute sh ould be used to temporarily suppress the notice in /home/mautic/public_html/maut ic/vendor/mautic/core-composer-scaffold/Operations/ScaffoldFileCollection.php:11 8
RED ERRORS
npm ci --prefer-offline --no-audit
sh: 1: npm: not found
Script npm ci --prefer-offline --no-audit handling the npm-ci event returned wit h error code 127
Script @npm-ci was called via post-update-cmd
Steps I have tried to fix the problem:
No idea!
I tried browsing to :
https:// domain name /mautic/docroot/index.php
and says “Forbidden”
THANKS