Migrating from 32bit VM (Frappe 7.1) to 64bit VM (Frappe 11)

I was able to get the old database copied and restored to the new VM by creating a site that mimics the old site name. I did the restore, then bench migrate, then bench update --patch, then bench update, then bench restart. Refresh the site and get this:

Traceback (most recent call last):
File “/home/frappe/frappe-bench/apps/frappe/frappe/website/render.py”, line 45, in render
data = render_page_by_language(path)
File “/home/frappe/frappe-bench/apps/frappe/frappe/website/render.py”, line 142, in render_page_by_language
return render_page(path)
File “/home/frappe/frappe-bench/apps/frappe/frappe/website/render.py”, line 158, in render_page
return build(path)
File “/home/frappe/frappe-bench/apps/frappe/frappe/website/render.py”, line 165, in build
return build_page(path)
File “/home/frappe/frappe-bench/apps/frappe/frappe/website/render.py”, line 181, in build_page
html = frappe.render_template(context.source, context)
File “/home/frappe/frappe-bench/apps/frappe/frappe/utils/jinja.py”, line 75, in render_template
return get_jenv().from_string(template).render(context)
File “/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/jinja2/environment.py”, line 1008, in render
return self.environment.handle_exception(exc_info, True)
File “/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/jinja2/environment.py”, line 780, in handle_exception
reraise(exc_type, exc_value, tb)
File “”, line 1, in top-level template code
File “/home/frappe/frappe-bench/apps/frappe/frappe/./templates/web.html”, line 6, in top-level template code
{%- if page_or_generator==“Generator” %}source-type=“Generator” data-doctype=“{{ doctype }}”{% endif %}
File “/home/frappe/frappe-bench/apps/frappe/frappe/./templates/base.html”, line 38, in top-level template code
{% block body %}
File “/home/frappe/frappe-bench/apps/frappe/frappe/./templates/base.html”, line 64, in block “body”
{% block content %}{% endblock %}
File “/home/frappe/frappe-bench/apps/frappe/frappe/./templates/web.html”, line 49, in block “content”
{%- block page_content -%}{%- endblock -%}
File “”, line 29, in block “page_content”
File “/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/jinja2/environment.py”, line 430, in getattr
return getattr(obj, attribute)
UndefinedError: ‘ldap_settings’ is undefined

Any ideas?

Nevermind, got past the above issue by clearing cache and another bench update. So now when trying to log in with either user or admin I get this:

[ERROR] 2019-02-12 22:06:18,693 | /home/frappe/frappe-bench/apps/frappe/frappe/app.py:
Site: site1.local
Form Dict: {
“cmd”: “login”,
“device”: “desktop”,
“pwd”: “admin”,
“usr”: “administrator”
}
Request Error
Traceback (most recent call last):
File “/home/frappe/frappe-bench/apps/frappe/frappe/app.py”, line 58, in application
init_request(request)
File “/home/frappe/frappe-bench/apps/frappe/frappe/app.py”, line 120, in init_request
frappe.local.http_request = frappe.auth.HTTPRequest()
File “/home/frappe/frappe-bench/apps/frappe/frappe/auth.py”, line 51, in init
frappe.local.login_manager = LoginManager()
File “/home/frappe/frappe-bench/apps/frappe/frappe/auth.py”, line 105, in init
if self.login()==False: return
File “/home/frappe/frappe-bench/apps/frappe/frappe/auth.py”, line 126, in login
self.authenticate(user=user, pwd=pwd)
File “/home/frappe/frappe-bench/apps/frappe/frappe/auth.py”, line 209, in authenticate
self.check_if_enabled(user)
File “/home/frappe/frappe-bench/apps/frappe/frappe/auth.py”, line 215, in check_if_enabled
if cint(doc.allow_consecutive_login_attempts) > 0:
AttributeError: ‘SystemSettings’ object has no attribute ‘allow_consecutive_login_attempts’
[ERROR] 2019-02-12 22:06:18,702 | /home/frappe/frappe-bench/apps/frappe/frappe/utils/error.py:
New Exception collected with id: 2019-02-12 22:06:18.694281-10.0.2.2-853