Upgrading to v5 creates multiple issue

Hi,

Upgraded v4 production system to v5 which resulted into - multiple issue.
Trying to restore but command not working.

bench swtich-to-v4

Can you pls help how to restore system in v4?

Sunil

What do you mean by “multiple issue”?

Lets start start form website (since our public facing website is also on erpnext)

  1. Google font is not working.
  2. Sidebar menu gone. Pls suggest how to bring back sidebar.
  3. Main menu url issue specially when you are on a page other than products , then click on products on main menu, url will come like this “/products/products”. And because of this “page not fond comes”.
  4. About us - journey & core team section has CSS issue. Alignment doesn’t look good.

Currently website is my first priority since its public facing. Other than website, I can see below error on many page.

Traceback (innermost last):
  File "/home/ubuntu/frappe-bench/apps/frappe/frappe/app.py", line 60, in application
    response = frappe.website.render.render(request.path)
  File "/home/ubuntu/frappe-bench/apps/frappe/frappe/website/render.py", line 38, in render
    data = render_page(path)
  File "/home/ubuntu/frappe-bench/apps/frappe/frappe/website/render.py", line 120, in render_page
    return build(path)
  File "/home/ubuntu/frappe-bench/apps/frappe/frappe/website/render.py", line 129, in build
    return build_method(path)
  File "/home/ubuntu/frappe-bench/apps/frappe/frappe/website/render.py", line 145, in build_page
    context = get_context(path)
  File "/home/ubuntu/frappe-bench/apps/frappe/frappe/website/context.py", line 29, in get_context
    context = build_context(context)
  File "/home/ubuntu/frappe-bench/apps/frappe/frappe/website/context.py", line 75, in build_context
    ret = module.get_context(context)
  File "/home/ubuntu/frappe-bench/apps/frappe/frappe/templates/pages/list.py", line 23, in get_context
    context.update(get(**frappe.local.form_dict))
  File "/home/ubuntu/frappe-bench/apps/frappe/frappe/templates/pages/list.py", line 67, in get
    rendered_row = frappe.render_template(row_template, new_context, is_path=True)
  File "/home/ubuntu/frappe-bench/apps/frappe/frappe/utils/jinja.py", line 27, in render_template
    return get_jenv().get_template(template).render(context)
  File "/home/ubuntu/frappe-bench/env/local/lib/python2.7/site-packages/jinja2/environment.py", line 969, in render
    return self.environment.handle_exception(exc_info, True)
  File "/home/ubuntu/frappe-bench/env/local/lib/python2.7/site-packages/jinja2/environment.py", line 742, in handle_exception
    reraise(exc_type, exc_value, tb)
  File "/home/ubuntu/frappe-bench/apps/frappe/frappe/./templates/includes/list/row_template.html", line 4, in top-level template code
    
 UndefinedError: 'erpnext.utilities.doctype.address.address.Address object' has no attribute 'get_route'

Please convert your urls to absolute URLs from Website Settings (Top Bar)

favicon is not getting updated in v5 website. Removed cache, refreshed but no luck.
Pls suggest.

Sunil