Here you go the Mautic 3.0.2 installation document. Feel free to reach out for questions. Would love to answer them.
How to install Mautic 3.0 on AAPanel.
Step1. We need to download Mautic 3.0.2 from Mautic.org/download.
Step2. Prepare the domain/subdomain we are hosting it. (Ensure the A records are pointing and SSL is issued)
Step3. Minimum Requirements: https://www.mautic.org/blog/community/mautic-3-is-coming
Step4: Upload 3.0.2 zip on the website/subdomain we created.
Step5: Go to domain/subdomain on a browser and you should see the installer.
Step 6. Run the installer (Since, Itโs a new installation, I am not backing up the DB)
Step 7: After giving your DB info. There is a high chance to get a 500 server error. If you come across any such errors. Its solely due to the file permissions. Ensure you have the permissions correct.
An easy command that you can use on the terminal to fix it would be
Ensure you cd to the websitefolder wwwroot/domain.com first and then type.
chmod -R g+w app
chmod -R g+w media/files/ media/images/ translations/
Once you do that, it should work fine.
Step7: You should now be able to refresh and reach the next page.
You will need to give your Admin username and password.
Your first name and last name and email address and it should take you to the next page /3
Here you would be asked to configure your email SMTP. I use AWS SES here.
Then Hit NEXT> You should redirect to the login page and should be able to login.
Next is to setup php cron jobs for the Mautic to work properly.
Once you login go to the settings gear icon on the top right.
You will need to click on configuration and check the patch to the installation and cache directory.
You also have to note that with Mautic 3.0.2 you have to cron using bin/console and not app/console.
You will need to go ahead to cron on AApanel and set up shell crons
This will be the syntax for the same considering you are using PHP 7.3
/www/server/php/73/bin/php /www/wwwroot/domain.com/bin/console mautic:segments:update
/www/server/php/73/bin/php /www/wwwroot/domain.com/bin/console mautic:email:fetch
/www/server/php/73/bin/php /www/wwwroot/domain.com/bin/console mautic:campaigns:trigger
You should be ready to send out emails from campaigns now.
๐ Good luck!
Donโt Spam and Be Responsible.
(Once everything works fine, remove the 3.0.2.zip from your wwwroot folder.)
I have only tried it with AWS SES at the moment and it works fine. I have never used an AAPanel Mail server as I feel if my ip gets blacklisted, I will lose out on the SEO of my websites too. I stick to AWS SES (Cheap and reliable)
All the best! Feel free to ask questions if you come across errors.
@aaPanel_Jose : Please feel free to share your opinions on this if you can run a test installation of Mautic 3.0.2 on AAPanel.