Skip to content

Mautic

Everything about Mautic, from installation to configuration to creating campaigns and sending emails.

toolBelt: Mautic scripts, config files and automations.

After several years running Mautic for clients, this is the way I have come up to facilitate most things and make my work easier, faster and above all, more secure, since it allows me to minimize human error.
I used to host these files on a file server, but over time it has become an interesting collection, so I have now moved it to GitHub instead.

toolBelt is a new repo with lots of little goodies:

https://github.com/Martech-WorkShop/toolBelt

Read More »toolBelt: Mautic scripts, config files and automations.

Mautic 4.4.13 Installation Tutorial: Ubuntu 22.04, PHP 8.0, MariaDB 10.6

Why install Mautic 4 when Mautic 5 is already available?
Don’t get fooled by the new and sparkly Mautic 5, it is too soon to use it, go for the stable and reliable Mautic 4 instead.

  • Well tested, very stable, no known major bugs.
  • Existing bugs in M4 are already fixed, and security patches were added in Mautic 4.4.13.
  • Uses older, stabler versions of the entire stack (Ubuntu, MariaDB, PHP, etc…)
  • Stack will not vary over time as it is very mature.

4 Simple Steps to Install Mautic 4

  1. Install the packages required to run Mautic 4.
  2. Install Mautic 4.4.13
  3. Run the Mautic 4 configuration wizard.
  4. Install the Mautic 4 Cron Jobs.
Read More »Mautic 4.4.13 Installation Tutorial: Ubuntu 22.04, PHP 8.0, MariaDB 10.6

Upgrade from Mautic 5.1.0 to Mautic 5.1.1

First, let’s get into position.
cd /var/www/html

Then download the upgrade package.
wget https://github.com/mautic/mautic/releases/download/5.1.1/5.1.1-update.zip

We unzip the file to deploy its contents.
unzip 5.1.1-update.zip
When asked: replace .all-contributorsrc? [y]es, [n]o, [A]ll, [N]one, [r]ename:
REPLY: A or All

Let’s give specific permissions to the files we just added
chmod 755 -R /var/www/html && chown -R www-data:www-data /var/www/html

Give Apache a good’ ol restart…
service apache2 restart

Round everything up by clearing the Mautic cache
sudo -u www-data php /var/www/html/bin/console cache:clear

— >> Done! << —

Read More »Upgrade from Mautic 5.1.0 to Mautic 5.1.1

Secure, production-ready Mautic installation in 2024

Securing your Mautic Installation

UPDATED on FEB 9 2024, for Mautic 4.4.11

This is a basic but production-ready Mautic installation tutorial, that you can run in a SMALL production environment with real data from your customers. This tutorial keeps everything as simple as possible but will require some basic understanding of the Linux command line.

This is a slightly more advanced installation process than the rest of tutorials I usually provide.
It is meant for a basic, but secure and production-ready Mautic sewtup, allowing for a more secure install of Mautic 4.4.12 on a Virtual Private Server (VPS) with PHP 8.1 on top of Ubuntu 22.04 LTS.

This tutorial should take you between 10 and 20 minutes depending on your level of expertise with Mautic and Linux.

If you are new to Mautic or the Linux command line, first try this much simpler Mautic tutorial: Mautic 4.4.12 installation on Ubuntu 22.04 with PHP8.0 and MariaDB 10.6, it’s the simplest way to get started and the probability of anything going sideways is minimal.

Read More »Secure, production-ready Mautic installation in 2024