Error on leave application (but recovered normal after restart)

Traceback (innermost last):
File “/home/altan/frappe-bench/apps/frappe/frappe/”, line 69, in application
response = frappe.handler.handle()
File “/home/altan/frappe-bench/apps/frappe/frappe/”, line 77, in handle
File “/home/altan/frappe-bench/apps/frappe/frappe/”, line 94, in execute_cmd
ret =, **frappe.form_dict)
File “/home/altan/frappe-bench/apps/frappe/frappe/”, line 788, in call
return fn(*args, **newargs)
File “/home/altan/frappe-bench/apps/frappe/frappe/desk/”, line 14, in get
return compress(execute(**get_form_params()))
File “/home/altan/frappe-bench/apps/frappe/frappe/desk/”, line 17, in execute
return DatabaseQuery(doctype).execute(*args, **kwargs)
File “/home/altan/frappe-bench/apps/frappe/frappe/model/”, line 50, in execute
result = self.build_and_run()
File “/home/altan/frappe-bench/apps/frappe/frappe/model/”, line 67, in build_and_run
return frappe.db.sql(query, as_dict=not self.as_list, debug=self.debug)
File “/home/altan/frappe-bench/apps/frappe/frappe/”, line 146, in sql
File “/home/altan/frappe-bench/env/local/lib/python2.7/site-packages/MySQLdb/”, line 205, in execute
self.errorhandler(self, exc, value)
File “/home/altan/frappe-bench/env/local/lib/python2.7/site-packages/MySQLdb/”, line 36, in defaulterrorhandler
raise errorclass, errorvalue
OperationalError: (1054, “Unknown column ‘tabLeave Application._starred_by’ in ‘field list’”)

Had the same issue after updating to version 6.17.3 — odd little bug fixed itself after running bench update again.

Would have gone on “refresh”. Unfortunately we don’t have a mechanism to force the user to refresh after an update.