I have been trying to log in into this new instance. I’ve tried bench update
and bench update --patch
.
After I try to login, this traceback appears in my Chrome console
Traceback (most recent call last):
File "/home/jatin/erp/frappe-bench/apps/frappe/frappe/app.py", line 59, in application
init_request(request)
File "/home/jatin/erp/frappe-bench/apps/frappe/frappe/app.py", line 121, in init_request
frappe.local.http_request = frappe.auth.HTTPRequest()
File "/home/jatin/erp/frappe-bench/apps/frappe/frappe/auth.py", line 53, in __init__
frappe.local.login_manager = LoginManager()
File "/home/jatin/erp/frappe-bench/apps/frappe/frappe/auth.py", line 107, in __init__
if self.login()==False: return
File "/home/jatin/erp/frappe-bench/apps/frappe/frappe/auth.py", line 126, in login
self.authenticate(user=user, pwd=pwd)
File "/home/jatin/erp/frappe-bench/apps/frappe/frappe/auth.py", line 206, in authenticate
self.user = self.check_password(user, pwd)
File "/home/jatin/erp/frappe-bench/apps/frappe/frappe/auth.py", line 218, in check_password
return check_password(user, pwd)
File "/home/jatin/erp/frappe-bench/apps/frappe/frappe/utils/password.py", line 35, in check_password
)""",{ 'doctype': doctype, 'name': user, 'fieldname': fieldname, 'pwd': pwd }, as_dict=True)
File "/home/jatin/erp/frappe-bench/apps/frappe/frappe/database.py", line 166, in sql
self._cursor.execute(query, values)
File "/home/jatin/erp/frappe-bench/env/local/lib/python2.7/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/home/jatin/erp/frappe-bench/env/local/lib/python2.7/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/home/jatin/erp/frappe-bench/env/local/lib/python2.7/site-packages/pymysql/connections.py", line 893, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/home/jatin/erp/frappe-bench/env/local/lib/python2.7/site-packages/pymysql/connections.py", line 1103, in _read_query_result
result.read()
File "/home/jatin/erp/frappe-bench/env/local/lib/python2.7/site-packages/pymysql/connections.py", line 1396, in read
first_packet = self.connection._read_packet()
File "/home/jatin/erp/frappe-bench/env/local/lib/python2.7/site-packages/pymysql/connections.py", line 1059, in _read_packet
packet.check_error()
File "/home/jatin/erp/frappe-bench/env/local/lib/python2.7/site-packages/pymysql/connections.py", line 384, in check_error
err.raise_mysql_exception(self._data)
File "/home/jatin/erp/frappe-bench/env/local/lib/python2.7/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
InternalError: (1054, u"Unknown column 'salt' in 'field list'")
Also, this was seen in bench start
trace -
11:25:23 watch.1 | SyntaxError: Unexpected end of JSON input
11:25:23 watch.1 | at JSON.parse (<anonymous>)
11:25:23 watch.1 | at make_build_map (/home/jatin/erp/frappe-bench/apps/frappe/frappe/build.js:193:22)
11:25:23 watch.1 | at Object.<anonymous> (/home/jatin/erp/frappe-bench/apps/frappe/frappe/build.js:22:17)
11:25:23 watch.1 | at Module._compile (module.js:641:30)
11:25:23 watch.1 | at Object.Module._extensions..js (module.js:652:10)
11:25:23 watch.1 | at Module.load (module.js:560:32)
11:25:23 watch.1 | at tryModuleLoad (module.js:503:12)
11:25:23 watch.1 | at Function.Module._load (module.js:495:3)
11:25:23 watch.1 | at Function.Module.runMain (module.js:682:10)
11:25:23 watch.1 | at startup (bootstrap_node.js:191:16)
I have been also facing chromedriver
install issue in update.