Hi,
I have a number of rules that until 2-3 days ago have been working fine but none of the apps in the Basic rules are working.
To test it I created a brand-new basic rule app, which was to turn off a light at a specific time, and even that failed. I have rebooted and rebuilt the database, I have done a soft-reset, but none of those seem to have worked.
In the hub events, I do see a Scheduler failure -- could this be it?
This feels like one for HE support, but might be worth just confirming one or two things...
Check the timezone is configured correctly on the Hub Details page under Settings. Don't worry about a screenshot of the Hub Details, as long as you are happy it is right, that should be enough.
Looking at the Hub Events it appears the scheduler errors starting appearing out of the blue on the 4th of January at 9:18pm while running 2.3.7.140.
Can you check the regular Past Logs page around this time to see if any logs are recorded to indicate what may have happened?
Beyond that I can't see any other troubleshooting we (the Community) could assist with, but hopefully I am wrong and someone else jumps in.
@bobbyD and @gopher.ny , given the time difference I thought it was worth tagging you early in case there is anything else may be able to recommend before @bahree potentially comes back online.
Click on the gear icon of the basic rule you created with a “certain time” trigger. See if a scheduled job is there and scheduled in the future.
Check the scheduled jobs tab of the logs page. All jobs you see listed there should be scheduled in the future. You can press reload to make sure you’re not looking at stale data.
I am curious if there are any suggestions? @bobbyD or @gopher.ny you both were tagged earlier; any pointers on how do we get this resolved? Right now, I have to manually trigger these rules with none of the time-based ones working.
I think you are on the right track with your assessment of the logs. From @bobbyD 's post on the topic you linked talking about updates to logging of scheduler errors and the notes in the Release 2.3.7 topic, I expect what you are looking at is the update they made to make this troubleshooting easier, i.e. the Past Logs where you saw an error for App 302.
I suspect simply disabling the app, however you did that, was not enough to result in the scheduled job to not be impacting the scheduler. I don't have any Z-Wave devices, so am not familiar with the Z-Wave Poller built-in app, but from what I can see you must setup a scheduled poll of devices. Could you temporarily uninstall this App and see if that corrects the scheduler issue? Then re-install the App?
Replace the 302 with the Job ID of the stuck job. In my case if you see this thread you can see it was app302.
In terms of identifying this, see the Hub events, and if you see a schedulerError, then in the logs, filter on error and see which one is stuck - use that JobID. However before navigating to this deleteAppJobs endpoint, make sure you delete the app and then go about this.
This stuck schedules are very rare and should not be reoccurring. Please reach out if you have apps or devices routinely getting stuck so we can further investigate the root cause.