Updating error v 10 to v 11

I have below error when I try to update the bench

Traceback (most recent call last):
File “/opt/bitnami/apps/erpnext/htdocs/frappe-bench/apps/frappe/frappe/app.py”, line 52, in application
init_request(request)
File “/opt/bitnami/apps/erpnext/htdocs/frappe-bench/apps/frappe/frappe/app.py”, line 114, in init_request
frappe.local.http_request = frappe.auth.HTTPRequest()
File “/opt/bitnami/apps/erpnext/htdocs/frappe-bench/apps/frappe/frappe/auth.py”, line 51, in init
frappe.local.login_manager = LoginManager()
File “/opt/bitnami/apps/erpnext/htdocs/frappe-bench/apps/frappe/frappe/auth.py”, line 113, in init
self.make_session(resume=True)
File “/opt/bitnami/apps/erpnext/htdocs/frappe-bench/apps/frappe/frappe/auth.py”, line 182, in make_session
full_name=self.full_name, user_type=self.user_type)
File “/opt/bitnami/apps/erpnext/htdocs/frappe-bench/apps/frappe/frappe/sessions.py”, line 199, in init
self.resume()
File “/opt/bitnami/apps/erpnext/htdocs/frappe-bench/apps/frappe/frappe/sessions.py”, line 254, in resume
data = self.get_session_record()
File “/opt/bitnami/apps/erpnext/htdocs/frappe-bench/apps/frappe/frappe/sessions.py”, line 271, in get_session_record
r = self.get_session_data()
File “/opt/bitnami/apps/erpnext/htdocs/frappe-bench/apps/frappe/frappe/sessions.py”, line 287, in get_session_data
data = self.get_session_data_from_db()
File “/opt/bitnami/apps/erpnext/htdocs/frappe-bench/apps/frappe/frappe/sessions.py”, line 315, in get_session_data_from_db
“”“, (self.sid, get_expiry_period(self.device)))
File “/opt/bitnami/apps/erpnext/htdocs/frappe-bench/apps/frappe/frappe/sessions.py”, line 386, in get_expiry_period
exp_sec = frappe.defaults.get_global_default(key) or default
File “/opt/bitnami/apps/erpnext/htdocs/frappe-bench/apps/frappe/frappe/defaults.py”, line 99, in get_global_default
if not_in_user_permission(key, value):
File “/opt/bitnami/apps/erpnext/htdocs/frappe-bench/apps/frappe/frappe/defaults.py”, line 61, in not_in_user_permission
user_permission = get_user_permissions(user).get(frappe.unscrub(key))
File “/opt/bitnami/apps/erpnext/htdocs/frappe-bench/apps/frappe/frappe/defaults.py”, line 68, in get_user_permissions
return _get_user_permissions(user)
File “/opt/bitnami/apps/erpnext/htdocs/frappe-bench/apps/frappe/frappe/core/doctype/user_permission/user_permission.py”, line 49, in get_user_permissions
fields=[‘allow’, ‘for_value’, ‘skip_for_doctype’], filters=dict(user=user)):
File “/opt/bitnami/apps/erpnext/htdocs/frappe-bench/apps/frappe/frappe/init.py”, line 1262, in get_all
return get_list(doctype, *args, **kwargs)
File “/opt/bitnami/apps/erpnext/htdocs/frappe-bench/apps/frappe/frappe/init.py”, line 1235, in get_list
return frappe.model.db_query.DatabaseQuery(doctype).execute(None, *args, **kwargs)
File “/opt/bitnami/apps/erpnext/htdocs/frappe-bench/apps/frappe/frappe/model/db_query.py”, line 87, in execute
result = self.build_and_run()
File “/opt/bitnami/apps/erpnext/htdocs/frappe-bench/apps/frappe/frappe/model/db_query.py”, line 112, in build_and_run
return frappe.db.sql(query, as_dict=not self.as_list, debug=self.debug, update=self.update)
File “/opt/bitnami/apps/erpnext/htdocs/frappe-bench/apps/frappe/frappe/database/database.py”, line 165, in sql
self._cursor.execute(query)
File “/opt/bitnami/apps/erpnext/htdocs/frappe-bench/env/lib/python2.7/site-packages/pymysql/cursors.py”, line 170, in execute
result = self._query(query)
File “/opt/bitnami/apps/erpnext/htdocs/frappe-bench/env/lib/python2.7/site-packages/pymysql/cursors.py”, line 328, in _query
conn.query(q)
File “/opt/bitnami/apps/erpnext/htdocs/frappe-bench/env/lib/python2.7/site-packages/pymysql/connections.py”, line 516, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File “/opt/bitnami/apps/erpnext/htdocs/frappe-bench/env/lib/python2.7/site-packages/pymysql/connections.py”, line 727, in _read_query_result
result.read()
File “/opt/bitnami/apps/erpnext/htdocs/frappe-bench/env/lib/python2.7/site-packages/pymysql/connections.py”, line 1066, in read
first_packet = self.connection._read_packet()
File “/opt/bitnami/apps/erpnext/htdocs/frappe-bench/env/lib/python2.7/site-packages/pymysql/connections.py”, line 683, in _read_packet
packet.check_error()
File “/opt/bitnami/apps/erpnext/htdocs/frappe-bench/env/lib/python2.7/site-packages/pymysql/protocol.py”, line 220, in check_error
err.raise_mysql_exception(self._data)
File “/opt/bitnami/apps/erpnext/htdocs/frappe-bench/env/lib/python2.7/site-packages/pymysql/err.py”, line 109, in raise_mysql_exception
raise errorclass(errno, errval)
InternalError: (1054, u"Unknown column ‘skip_for_doctype’ in ‘field list’”)

I managed to resolve this error by restarting the machine.

Its likely something to do with memory filling up because of upgrade.