Error Update Not Found
(Drupal 10)
When inspecting one of my client’s website, of “update manager” fails to check the pending update module/core. In my case at the time, Drupal core is 10.2.1 is already available, however, the website with Drupal core 10.2.0 does not show there’s this available update in the “update manager” panel.

(Drupal 11)
For some Drupal 11 clients I also got similar issue that can be fixed with the same method below, but the symptom is slightly different:

Resolution / Fix
While checking updates Drupal creates some rows inside the key_value table which should be deleted after checking is complete but looks like they doesn’t for some reason. So deleting the related rows manually solved my problem (reference):
| |
You can run this SQL query via this ↓↓ drush command ↓↓
| |
(For Drupal 11 websites you might also want try to uninstall then re-install the update status module before running the script)
After that the check update panel under report again, and the available updates should now appear normally:
