KeyError when visiting Outdated Queries page

Issue Summary

When I visit the Outdated Queries section, I see an error as below

It seems like we encountered an error. Try refreshing this page or contact your administrator.

https://{my-domain}/admin/queries/outdated

error in logs:

2020-11-09 14:07:09,649][PID:50][ERROR][redash.app] Exception on /api/admin/queries/outdated [GET]
Traceback (most recent call last):
File “/usr/local/lib/python3.7/site-packages/flask/app.py”, line 2446, in wsgi_app
response = self.full_dispatch_request()
File “/usr/local/lib/python3.7/site-packages/flask/app.py”, line 1951, in full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/local/lib/python3.7/site-packages/flask_restful/init.py”, line 269, in error_router
return original_handler(e)
File “/usr/local/lib/python3.7/site-packages/flask/app.py”, line 1820, in handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/local/lib/python3.7/site-packages/flask/_compat.py”, line 39, in reraise
raise value
File “/usr/local/lib/python3.7/site-packages/flask/app.py”, line 1949, in full_dispatch_request
rv = self.dispatch_request()
File “/usr/local/lib/python3.7/site-packages/flask/app.py”, line 1935, in dispatch_request
return self.view_functionsrule.endpoint
File “/app/redash/permissions.py”, line 71, in decorated
return fn(*args, **kwargs)
File “/usr/local/lib/python3.7/site-packages/flask_login/utils.py”, line 261, in decorated_view
return func(*args, **kwargs)
File “/app/redash/handlers/admin.py”, line 39, in outdated_queries
“updated_at”: manager_status[“last_refresh_at”],
KeyError: ‘last_refresh_at’

KeyError: 'last_refresh_at'

Can you point me to any possible solution for this error?

Technical details:

  • Redash Version: 9.0.0-beta.b42121
  • Browser/OS: Chrome:macOS
  • How did you install Redash: docker containers in AWS ECS