Mautic Community Forums

Segments not being created

Your software
My Mautic version is: 2.16.2
My PHP version is: 7.3.27
My Database type and version is: Mysql

Your problem
My problem is:
Hi Everyone,

I started my mautic instance using mautic provided docker image mautic/mautic:v3.

Here is my docker compose entry for the mautic instance.

    image: mautic/mautic:v3

    container_name: mautic


      - mautic_data:/var/www/html


      - MAUTIC_DB_HOST=lolcalhost

      - MYSQL_PORT_3306_TCP=3306

      - MAUTIC_DB_USER=root


      - MAUTIC_DB_NAME=mautic


As you can see, I’ve added a flag MAUTIC_RUN_CRON_JOBS with idea that cron jobs should automatically run in the container itself.

After I’ve imported the contacts, I created two segments. First one to select male and second one to select female users, but after that nothing is happening and my segments are still having 0 contacts. Any idea what I’m doing wrong here.

After recreating everything and using explicitly the mautic/mautic:v3 (I previously used :latest) image, everything works as expected. Thank you for your support!