After updating node when trying to login i get this error:
raceback (most recent call last):
File “/home/crmmanager/erpnext/apps/frappe/frappe/app.py”, line 53, in application
init_request(request)
File “/home/crmmanager/erpnext/apps/frappe/frappe/app.py”, line 120, in init_request
frappe.local.http_request = frappe.auth.HTTPRequest()
File “/home/crmmanager/erpnext/apps/frappe/frappe/auth.py”, line 51, in init
frappe.local.login_manager = LoginManager()
File “/home/crmmanager/erpnext/apps/frappe/frappe/auth.py”, line 105, in init
if self.login()==False: return
File “/home/crmmanager/erpnext/apps/frappe/frappe/auth.py”, line 137, in login
self.post_login()
File “/home/crmmanager/erpnext/apps/frappe/frappe/auth.py”, line 141, in post_login
validate_ip_address(self.user)
File “/home/crmmanager/erpnext/apps/frappe/frappe/auth.py”, line 414, in validate_ip_address
ip_list = user.get_restricted_ip_list()
AttributeError: ‘User’ object has no attribute ‘get_restricted_ip_list’
Traceback (most recent call last):
File “/home/crmmanager/erpnext/apps/frappe/frappe/app.py”, line 59, in application
response = frappe.handler.handle()
File “/home/crmmanager/erpnext/apps/frappe/frappe/handler.py”, line 30, in handle
data = execute_cmd(cmd)
File “/home/crmmanager/erpnext/apps/frappe/frappe/handler.py”, line 69, in execute_cmd
return frappe.call(method, **frappe.form_dict)
File “/home/crmmanager/erpnext/apps/frappe/frappe/init.py”, line 1086, in call
return fn(*args, **newargs)
File “/home/crmmanager/erpnext/apps/frappe/frappe/core/doctype/user/user.py”, line 785, in sign_up
user.add_roles(default_role)
AttributeError: ‘User’ object has no attribute ‘add_roles’
Okay, looks like you’re using the develop branch.
Either way, we haven’t encountered any such issues with vanilla frappe and erpnext. Have you made any customizations?
you can run git reset --hard <upstream-branch-name>/develop to reset any changes locally