Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

任务列表停止运行 #252

Closed
wtt502 opened this issue Mar 8, 2023 · 9 comments
Closed

任务列表停止运行 #252

wtt502 opened this issue Mar 8, 2023 · 9 comments
Assignees
Labels
bug Something isn't working

Comments

@wtt502
Copy link

wtt502 commented Mar 8, 2023

安装方式

Docker 安装

问题描述

请描述遇到的问题..
2023.3.6 13:51开始所有扫描都停止运行了,查看任务列队,是因为有一个任务一直在执行者,导致其他任务都没有执行
image

image

运行环境

请复制 php doctor.php 运行结果

centos7 docker

报错日志

日志目录:storage/logs

job-run-2023-03-06.log

@yoonper
Copy link
Collaborator

yoonper commented Mar 8, 2023

如果有 code6-*.logjob-add-*.log 也麻烦提供一下。

@wtt502
Copy link
Author

wtt502 commented Mar 8, 2023

已全部上传,辛苦帮忙看看,谢谢

notify-2023-03-06.log
code6-2023-03-06.log
job-add-2023-03-06.log
job-run-2023-03-06.log

@GallopYD GallopYD added the bug Something isn't working label Mar 8, 2023
@GallopYD
Copy link
Collaborator

GallopYD commented Mar 8, 2023

由于待执行队列中的,对应 https://open .work.weixin.qq.com/wwopen/sso/arConnect 这个任务配置被删,导致任务更新失败,阻塞了后面任务,临时解决方案:增加 https://open .work.weixin.qq.com/wwopen/sso/arConnect 这个任务,等待队列中这个任务执行完再删除该关键字。

会在下个版本修复此问题。

@wtt502
Copy link
Author

wtt502 commented Mar 8, 2023

10分钟前,重新添加了这个任务,看起来也是执行不起来的。
image

@GallopYD
Copy link
Collaborator

GallopYD commented Mar 8, 2023

可以将 queue_job 这张表清空,然后再试试是否正常执行。

@wtt502
Copy link
Author

wtt502 commented Mar 8, 2023

这表在哪?
把项目重启一下,能不能正常运行呢?

@GallopYD
Copy link
Collaborator

GallopYD commented Mar 8, 2023

将数据库中queue_job 这张表清空

项目重启还是不能正常运行,因为队列表中还有脏数据

@wtt502
Copy link
Author

wtt502 commented Mar 8, 2023

感谢大佬,删除了表中多余的数据就跑起来了

@yoonper
Copy link
Collaborator

yoonper commented Mar 10, 2023

v1.6.4 已修复此问题,可更新至此版本。

@yoonper yoonper closed this as completed Mar 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants