Segment not working - tags help!

Your software
My Mautic version is: 3.0
My PHP version is: 7.4.3
My Database type and version is:

My problem is: Hi guys I have been searching google and the forum for several hours for a solution.
I don’t understand why when I create a segment it doesn’t find any tags.
It seems to be a cron problem.
But the cron is set as your guide.
Can I ask for some help?

Hi, there are many setup guides, I created this one:

Make sure you are using /bin/ instead of /app/ if you are on 3.0+

1 Like

joey thank you for your reply.
I have installed mautic with version 7.4 of php.
I don’t have cpanel on this server.
I have run the configuration but nothing, my segments are empty=(

Hi,
Great we are getting closer.

  • When you manually enter the command in SSH, what is the response? (remove the dev/null part from the end)
  • Is your Mautic installed into /var/www/html/mautic ?

Thx,
J

1 Like

Hi Joeyk,

  • List item yes I put manually enter the command in SSH in /etc/crontab

  • List item is correct man =)

is correct php /var… I have directory php7.4 :slight_smile:

Hi - The following may help. I resolved a cron issue posted in another thread. Read extract below.


Hi Joey,

I’m checking the crons but noticed that on your webpage you use singular terms for segment and broadcast:

/bin/console mautic:segment:update

/bin/console mautic:broadcast:send

Mautic Documentation shows plural terms for segment and broadcast:

/bin/console mautic:segments:update

/bin/console mautic:broadcasts:send

Which set are correct?

UPDATE

I ran the cron with the settings suggested on your webpage

/bin/console mautic:segment:update

/bin/console mautic:broadcast:send

Campaign and Segment emails are being received now. I think that Mautic Doc may need to be updated to reflect the correct cron settings.

Also I think that the memory errors have stopped. I’ll monitor and can update later. All good for now.

Thanks for your all your help with this.

Hi Martinkiely , update this .
but not working segment


can you help me?

Hi,
What is the output of this command?

php /var/www/html/mautic/bin/console mautic:segment:update

Plz run it in ssh as a command.

?

This is the result o.o

update the crontab =)

Sorry man my installer in /var/www/mautic

So your segment is not being rebuilt, because you have a general SQL error…

1 Like