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

ERROR scheduler Skipped queueing #1531

Open
crelocks opened this issue Dec 21, 2024 · 3 comments
Open

ERROR scheduler Skipped queueing #1531

crelocks opened this issue Dec 21, 2024 · 3 comments
Labels

Comments

@crelocks
Copy link

Description of the issue

Seeing multiple ERROR scheduler Skipped queueing on a daily basis.

Steps to reproduce the issue

  1. I am running a Docker setup with multiple projects and multiple sites on a single server. I am using https://github.com/frappe/frappe_docker/blob/main/docs/single-server-example.md. Nothing Fancy or very custom, just standard example in that document.

Observed result

Every day, I see these messages in my schedules.log file in the sites folder, and my custom scheduler functions are not working properly. They ran the first time and stopped running afterward.

Expected result

Stacktrace / full error message if available

2024-12-21 11:18:29,549 ERROR scheduler Skipped queueing frappe.email.queue.flush because it was found in queue for example.com
2024-12-21 11:18:29,549 ERROR scheduler Skipped queueing frappe.core.doctype.log_settings.log_settings.run_log_clean_up because it was found in queue for example.com
2024-12-21 11:18:29,549 ERROR scheduler Skipped queueing frappe.core.doctype.prepared_report.prepared_report.expire_stalled_report because it was found in queue for example.com
2024-12-21 11:18:29,550 ERROR scheduler Skipped queueing frappe.email.doctype.email_account.email_account.pull because it was found in queue for example.com
2024-12-21 11:18:29,550 ERROR scheduler Skipped queueing frappe.deferred_insert.save_to_db because it was found in queue for example.com
2024-12-21 11:18:29,550 ERROR scheduler Skipped queueing frappe.utils.global_search.sync_global_search because it was found in queue for example.com
2024-12-21 11:18:29,551 ERROR scheduler Skipped queueing frappe.email.doctype.email_account.email_account.notify_unreplied because it was found in queue for example.com
2024-12-21 11:18:29,551 ERROR scheduler Skipped queueing frappe.twofactor.delete_all_barcodes_for_users because it was found in queue for example.com
2024-12-21 11:18:29,551 ERROR scheduler Skipped queueing frappe.website.doctype.web_page.web_page.check_publish_status because it was found in queue for example.com
2024-12-21 11:18:29,552 ERROR scheduler Skipped queueing frappe.oauth.delete_oauth2_data because it was found in queue for example.com
@crelocks crelocks added the bug label Dec 21, 2024
@revant
Copy link
Collaborator

revant commented Dec 22, 2024

@crelocks
Copy link
Author

Yeah, but I'm not sure why it is happening. Why aren't they flushed out automatically?

@revant
Copy link
Collaborator

revant commented Dec 23, 2024

Are they in pending state or failing? Check RQ Job doctype or try using rq command from any pod. You can even use bench --site ... console and use functions from frappe/utils/background_jobs.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants