Issue when update from ERPNext v12.1.0 to ERPNext v12.11.0

I am trying to update ERPNext from current version v12.1.0 to v12.11.0 by run bench update command.

$ bench update

after update and restart my VM getting below error when I try to login to ERPNext

Server Error

Close Report

pymysql.err.ProgrammingError: (‘DocType’, ‘Server Script’)

also when i try to Logout getting below error

Server Error
Traceback (most recent call last):
File “/home/frappe/frappe-bench/apps/frappe/frappe/”, line 61, in application
response = frappe.handler.handle()
File “/home/frappe/frappe-bench/apps/frappe/frappe/”, line 24, in handle
data = execute_cmd(cmd)
File “/home/frappe/frappe-bench/apps/frappe/frappe/”, line 45, in execute_cmd
if run_server_script_api(cmd):
File “/home/frappe/frappe-bench/apps/frappe/frappe/core/doctype/server_script/”, line 23, in run_server_script_api
script_name = get_server_script_map().get(‘_api’, {}).get(method)
File “/home/frappe/frappe-bench/apps/frappe/frappe/core/doctype/server_script/”, line 63, in get_server_script_map
filters={‘disabled’: 0})
File “/home/frappe/frappe-bench/apps/frappe/frappe/”, line 1318, in get_all
return get_list(doctype, *args, **kwargs)
File “/home/frappe/frappe-bench/apps/frappe/frappe/”, line 1291, in get_list
return frappe.model.db_query.DatabaseQuery(doctype).execute(None, *args, **kwargs)
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/”, line 96, in execute
result = self.build_and_run()
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/”, line 110, in build_and_run
args = self.prepare_args()
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/”, line 136, in prepare_args
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/”, line 302, in set_optional_columns
columns = get_table_columns(self.doctype)
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/”, line 49, in get_table_columns
return frappe.db.get_table_columns(doctype)
File “/home/frappe/frappe-bench/apps/frappe/frappe/database/”, line 865, in get_table_columns
raise self.TableMissingError(‘DocType’, doctype)
pymysql.err.ProgrammingError: (‘DocType’, ‘Server Script’)
Status: 500

Your email address…

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.