英文:
Shopware 6.5: Failed scheduled tasks, output missing
问题
我已将Shopware升级至版本6.5,并注意到enqueue和因此DB表dead_messages
不再可用。
我的定时任务在运行时状态显示为failed
。现在我该在哪里查看任务失败的原因?
文件config/packages/messenger.yaml
没有进行除默认配置以外的配置。在我的观点中,Symfony文档没有解释如何正确记录和分析失败的定时任务。在6.5版本中是如何工作的?
英文:
I have updated Shopware to version 6.5 and noticed that enqueue and therefore the DB table dead_messages
is not available anymore.
My scheduled task got the status failed
when it ran. Where can I see why the task fails now?
The file config/packages/messenger.yaml
is not configured other than the default. The Symfony docs, in my opinion, does not explain if and how I can log and analyze failing scheduled tasks properly. How does this work in 6.5?
答案1
得分: 1
你应该能够在使用默认队列设置时在 messenger_messages
表中找到这些消息。
在 Shopware 6.5 中,许多自定义队列处理已被移除,所以现在使用默认的 Symfony 队列以及失败和重试处理。因此,查找更多信息的最佳地点可能是 Symfony 文档。
英文:
You should be able to find the messages in the messenger_messages
table if you use the default queue settings.
As in shopware 6.5 a lot of custom queue handling was removed, so the default symfony queue and also failure and retry handling is used now. So the best place to search for more info probably is the symfony docs.
is
1: https://symfony.com/doc/current/messenger.html#retries-failures
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论