# Mautic 5 \[beta 1\] - two cron error messages?

**URL:** <https://forum.mautic.org/t/mautic-5-beta-1-two-cron-error-messages/29650>\
**Category:** Mautic 5 Install/Upgrade Support\
**Created:** [October 13, 2023, 7:06pm UTC](https://forum.mautic.org/t/mautic-5-beta-1-two-cron-error-messages/29650 "2023-10-13T19:06:37Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![dbbuda](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/dbbuda/32/10509_2.png) [@dbbuda](https://forum.mautic.org/u/dbbuda)\
**Post date:** [October 13, 2023, 7:06pm UTC](https://forum.mautic.org/t/mautic-5-beta-1-two-cron-error-messages/29650/1 "2023-10-13T19:06:37Z")

</div>

Hi everyone,

I just updated from Mautic 4.4.10 to Mautic 5 beta 1 using composer installation, and I must say MC is super fast!

However, I have a few issues regarding cron jobs. I’m not much into cron jobs myself, so if anyone can help me with these 2 things, I would appreciate it.

1. When I run:

`php /home/dbbuda/web/mc.example.com/public_html/bin/console messenger:consume email -vv`

I receive this message and I don’t know what it means.

```auto
 [OK] Consuming messages from transport "email".

 // The worker will automatically exit once it has been running for 3600s or received a stop signal via the
 // messenger:stop-workers command.

 // Quit the worker with CONTROL-C.

In SyncTransport.php line 37:

  [Symfony\Component\Messenger\Exception\InvalidArgumentException]
  You cannot receive messages from the Messenger SyncTransport.

Exception trace:
  at /home/dbbuda/web/mc.example.com/public_html/vendor/symfony/messenger/Transport/Sync/SyncTransport.php:37
 Symfony\Component\Messenger\Transport\Sync\SyncTransport->get() at /home/dbbuda/web/mc.example.com/public_html/vendor/symfony/messenger/Worker.php:101
 Symfony\Component\Messenger\Worker->run() at /home/dbbuda/web/mc.example.com/public_html/vendor/symfony/messenger/Command/ConsumeMessagesCommand.php:234
 Symfony\Component\Messenger\Command\ConsumeMessagesCommand->execute() at /home/dbbuda/web/mc.example.com/public_html/vendor/symfony/console/Command/Command.php:298
 Symfony\Component\Console\Command\Command->run() at /home/dbbuda/web/mc.example.com/public_html/vendor/symfony/console/Application.php:1058
 Symfony\Component\Console\Application->doRunCommand() at /home/dbbuda/web/mc.example.com/public_html/vendor/symfony/framework-bundle/Console/Application.php:96
 Symfony\Bundle\FrameworkBundle\Console\Application->doRunCommand() at /home/dbbuda/web/mc.example.com/public_html/vendor/symfony/console/Application.php:301
 Symfony\Component\Console\Application->doRun() at /home/dbbuda/web/mc.example.com/public_html/vendor/symfony/framework-bundle/Console/Application.php:82
 Symfony\Bundle\FrameworkBundle\Console\Application->doRun() at /home/dbbuda/web/mc.example.com/public_html/vendor/symfony/console/Application.php:171
 Symfony\Component\Console\Application->run() at /home/dbbuda/web/mc.example.com/public_html/bin/console:16

messenger:consume [-l|--limit LIMIT] [-f|--failure-limit FAILURE-LIMIT] [-m|--memory-limit MEMORY-LIMIT] [-t|--time-limit TIME-LIMIT] [--sleep SLEEP] [-b|--bus BUS] [--queues QUEUES] [--no-reset] [--] [<receivers>...]

```

I don’t know what this means?

1. Secondly, when I run:

`php /home/dbbuda/web/mc.example.com/public_html/bin/console mautic:email:fetch > /dev/null`

I receive this message:

`PHP Notice: PHP Request Shutdown: TLS/SSL failure for server.example.com: SSL negotiation failed (errflg=2) in Unknown on line 0`

My email server is secured with valid certs in Mautic settings my email DSN SMTP settings are also correct. When testing Mautic dns smtp, each time I receive _Mautic test email_ to my email with content “Hi! This is a test email from Mautic. Testing…testing…1…2…3!”.

However, I don’t know what to enter into setting “Monitored Inbox Settings → Default Mailbox (imap)”, because anything that I enter (correct imap settings) it’s not working. Just mentioning this because I’m not sure if this is related to this tls/ssl issue above.

Thank you!

---

<div class="post-metadata">

**Author:** ![silavapi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/silavapi/32/7424_2.png) [@silavapi](https://forum.mautic.org/u/silavapi)\
**Post date:** [October 13, 2023, 7:30pm UTC](https://forum.mautic.org/t/mautic-5-beta-1-two-cron-error-messages/29650/2 "2023-10-13T19:30:49Z")

</div>

Hi there,

Wow, you are very fast off the bat - we haven’t released yet! We haven’t actually looked at the upgrade path at all so it’s helpful to know that it did actually work upgrading on composer, but hopefully this is not a live system!

> [@dbbuda](#):
>
> 1. When I run:
> 
> `php /home/dbbuda/web/mc.example.com/public_html/bin/console messenger:consume email -vv`
> 
> I receive this message and I don’t know what it means.

Are you using the default transport or are you using a specific transport plugin? Are you queueing emails or sending immediately?

Here is the documentation specific to this version: [Cron jobs — Mautic Documentation 0.1 documentation](https://mautic-documentation.readthedocs.io/en/5.x/configuration/cron_jobs.html?highlight=consume)

We do have some documentation which is yet to be merged, so it’s entirely possible that some of this confusion is because it isn’t yet written, or it may be a bug, I’m not sure at this point but we can certainly test it a bit more.

[Pull requests · mautic/user-documentation · GitHub](https://github.com/mautic/user-documentation/pulls) here’s the pending docs PRs in case that helps.

I’m not sure about the IMAP settings, it could be related but I will ask the Mautic 5 folks to have a look and we can raise a bug if it is a bug.

Thanks for being willing to test so early! If you are not already please join us on [slack](https://mau.tc/slack-invite) and head over to the Product Team (#t-product) and the Mautic 5 (#mautic-5) channel!

---

<div class="post-metadata">

**Author:** ![dbbuda](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/dbbuda/32/10509_2.png) [@dbbuda](https://forum.mautic.org/u/dbbuda)\
**Post date:** [October 13, 2023, 7:47pm UTC](https://forum.mautic.org/t/mautic-5-beta-1-two-cron-error-messages/29650/3 "2023-10-13T19:47:03Z")

</div>

Thank you. I was very eager to test v5. Installation went very smooth. And don’t worry, it’s not on production site.

I might solve this on my own, and when I do I’ll post a solution in this thread.

I have one more issue to report, err 500 on Contacts page, but first I’ll see if I can solve it by myself. I joined Slack mautic-5 channel.

Thank you for prompt response

---

<div class="post-metadata">

**Author:** ![mzagmajster](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mzagmajster/32/687_2.png) [@mzagmajster](https://forum.mautic.org/u/mzagmajster)\
**Post date:** [October 13, 2023, 8:31pm UTC](https://forum.mautic.org/t/mautic-5-beta-1-two-cron-error-messages/29650/4 "2023-10-13T20:31:28Z")

</div>

You first have to configure messenger to use async transport (rabbitmq, redis, etc.).

How exactly to do that in Mautic 5, I am researching myself as well.

---

<div class="post-metadata">

**Author:** ![silavapi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/silavapi/32/7424_2.png) [@silavapi](https://forum.mautic.org/u/silavapi)\
**Post date:** [October 13, 2023, 9:03pm UTC](https://forum.mautic.org/t/mautic-5-beta-1-two-cron-error-messages/29650/5 "2023-10-13T21:03:15Z")

</div>

That’s one of the work in progress documentation PRs 🙂 it might give you a bit of a headstart!

---

<div class="post-metadata">

**Author:** ![mzagmajster](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mzagmajster/32/687_2.png) [@mzagmajster](https://forum.mautic.org/u/mzagmajster)\
**Post date:** [October 14, 2023, 6:54am UTC](https://forum.mautic.org/t/mautic-5-beta-1-two-cron-error-messages/29650/6 "2023-10-14T06:54:48Z")

</div>

Thanks will check it out

---

<div class="post-metadata">

**Author:** ![dbbuda](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/dbbuda/32/10509_2.png) [@dbbuda](https://forum.mautic.org/u/dbbuda)\
**Post date:** [January 9, 2024, 8:12pm UTC](https://forum.mautic.org/t/mautic-5-beta-1-two-cron-error-messages/29650/7 "2024-01-09T20:12:01Z")

</div>

Happy to see that v5 is live. However, I have to get back to this thread again. Did anyone have a nice tutorial on how to configure messenger to use async transport?

I already used “composer require symfony/messenger:^5.4” and yes, I’m aware of [this link](https://symfony.com/doc/5.x/messenger.html), but a bit simpler explanation would be appreciated.

Thanks everyone

---

<div class="post-metadata">

**Author:** ![silavapi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/silavapi/32/7424_2.png) [@silavapi](https://forum.mautic.org/u/silavapi)\
**Post date:** [January 9, 2024, 8:16pm UTC](https://forum.mautic.org/t/mautic-5-beta-1-two-cron-error-messages/29650/8 "2024-01-09T20:16:08Z")

</div>

I think maybe you are looking for this:

[https://docs.mautic.org/en/5.x/configuration/settings.html#email-transport-settings](https://docs.mautic.org/en/5.x/configuration/settings.html#email-transport-settings)

---

<div class="post-metadata">

**Author:** ![silavapi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/silavapi/32/7424_2.png) [@silavapi](https://forum.mautic.org/u/silavapi)\
**Post date:** [January 9, 2024, 8:17pm UTC](https://forum.mautic.org/t/mautic-5-beta-1-two-cron-error-messages/29650/9 "2024-01-09T20:17:29Z")

</div>

Note that I need to add a table here with links to the plugins which we support currently (SES, Sparkpost, Omnivery) but in the meantime you can find them on the blog post: [Mautic 5: Beyond Expectations, Beyond Limits - Mautic Community](https://www.mautic.org/blog/community/mautic-5-beyond-expectations-beyond-limits)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/1X/43c63600fe51440378769136903f1fa2a9a34102.png) [@system](https://forum.mautic.org/u/system)\
**Post date:** [January 11, 2024, 8:18am UTC](https://forum.mautic.org/t/mautic-5-beta-1-two-cron-error-messages/29650/10 "2024-01-11T08:18:04Z")

</div>

This topic was automatically closed 36 hours after the last reply. New replies are no longer allowed.
