Mautic 6.0.7 on Hostinger: Campaign Trigger & Core Segment Filters Failing After Clean Install

Your software
My Mautic version is: 6.0.7
My PHP version is: 8.2
My Database type and version is: the latest MariaDB version (Hostinger)

Subject: Mautic 6.0.7 on Hostinger: Campaign Trigger & Core Segment Filters Failing After Clean Install

Category: Installation / Troubleshooting

Hello everyone,

I’m encountering a critical issue where backend automation and core frontend segment filters are failing, even after a complete clean install. I am using Mautic 6.0.7 on a Hostinger shared hosting environment (first attempt was Mautic 6.0.6).

The Core Problem (TL;DR): After a form submission successfully saves a contact (Name, Email, Country), the Mautic Campaign fails to execute the subsequent actions (Add to Segment and Send Email), and core Segment Builder filters are missing. Manual execution via SSH also fails to run the actions.


Backstory & Diagnosis

The goal is a simple signup workflow: Form Submission → Add to Segment → Send Welcome Email.

  1. Form Builder Failure: Initially, the Form Actions UI was broken (e.g., selecting “Modify contact’s segments” prompted for a name/description instead of showing configuration options). This led to a full reset.

  2. Clean Installation: To resolve deep file/asset corruption, I deleted the entire Mautic directory and the associated MySQL database, and performed a clean installation of Mautic 6.0.7.

  3. Campaign Builder Fix: The Campaign Builder UI is now functional, and the campaign was built using the Campaign Builder (not the broken Form Actions).

Concise List of Troubleshooting Steps Taken:

  • Full Reset: Deleted database and files, installed Mautic 6.0.7 from scratch.

  • Form Field Mapping Fixed: Confirmed and corrected the Name field mapping (set to Contact Field: First Name). Contact data (Name, Email) is now successfully saved in the database immediately upon submission.

  • Segment Filter Failure: Confirmed that key Segment Builder filters are missing (cannot find Forms or Last activity). This prevents the creation of a reliable segment-based campaign trigger.

  • Queue Settings Verified: Email/hit processing scheme is set to sync (synchronous), meaning actions should execute immediately without waiting for a separate queue cron job.

  • Manual Cron Job Execution Failure: The Campaign actions do not execute even when manually forced via SSH (run from the Mautic root directory /mautic/):

    • /opt/alt/php82/usr/bin/php bin/console mautic:campaigns:update --env=prod

    • /opt/alt/php82/usr/bin/php bin/console mautic:campaigns:trigger --env=prod

    • Result: Commands execute without error messages, but the contact is not added to the segment, and the email is not sent.

**
Expected Functionality that is Failing:**

  1. The Campaign must execute the “Modify contact’s segments” and “Send Email” actions after submission.

  2. The Segment Builder should include fundamental filters like Forms and Last activity.

Request: Has anyone experienced similar silent failures on Hostinger or encountered a scenario where the console commands (and thus the cron jobs) fail to execute backend writes (like segment addition) or external actions (like email sending) without reporting an error?

Thank you for your insights!

I am not familiar with Hostinger: do you happen to use docker-mautic?

Send the cronjobs output to a log file and see it from there?

How to send the cronjob output to a log file;
* * * * * ~/bin/myscript.sh >> ~/myscript.log 2>&1

I am pretty new to Mautic, and I am using a combination of ChatGPT plus Gemini. For the most part I am lost but I learn quickly. I am not a developer, I am more of a UX Designer and generalist. So I guess I am not using docker-mastic, but let me know if there is something I could look up or learn to help me get this setup up.

Thank you so much for responding and helping out!

I will give this a try and post here, thank you!

Rebuilding contacts for segment 1

0 total contact(s) to be added in batches of 300

0 total contact(s) to be removed in batches of 300

0 contact(s) affected

Triggering events for campaign 1

Triggering events for newly added contacts

1 total events(s) to be processed in batches of 100 contacts

0/1 [>---------------------------] 0%

1/1 [============================] 100%

2 total events were executed

0 total events were scheduled

Triggering scheduled events

0 total events(s) to be processed in batches of 100 contacts

0 total events were executed

0 total events were scheduled

Triggering events for inactive contacts

0 total events were executed

0 total events were scheduled

[u327697563@us-phx-web1838 mautic]$

I am sharing what Gemini tells me this means (not sure If you will agree :grinning_face:). Thank you for helping out!
Gemini’s Answer
Analysis

  1. Segment Failure Confirmed: The mautic:segments:update command reports 0 contact(s) affected. This is still failing to identify the new contact for the segment, which likely relates back to the missing Segment Builder filters (e.g., Forms and Last activity).

  2. Silent Campaign Execution Failure: The mautic:campaigns:trigger command reports 2 total events were executed (the two campaign nodes). It reached 100% completion and reported success.

    • Despite this reported success, the contact was NOT added to the segment, and the welcome email was NOT sent.

Conclusion: Since the Mautic console is executing its internal logic and reporting success without logging any errors, I suspect a deeper server-side I/O failure, PHP environment issue, or database permissions limitation (specifically preventing writes/external requests) that Mautic’s internal logging cannot capture.

Do these zero-error/zero-result logs confirm a potential server environment issue that requires Hostinger support intervention, or is there another Mautic log file I should check?