I'm getting /version failed

Hi everyone,

Since i installed ERPNext, i’m having an error log that describes as follows:

/version failed

  File "apps/frappe/frappe/website/serve.py", line 18, in get_response
    response = renderer_instance.render()
      path = '/version'
      http_status_code = 200
      response = None
      endpoint = 'version'
      path_resolver = <frappe.website.path_resolver.PathResolver object at 0x7f1792b48a30>
      renderer_instance = <frappe.website.page_renderers.list_page.ListPage object at 0x7f1794326830>
      e = DoesNotExistError('DocType version not found')
  File "apps/frappe/frappe/website/page_renderers/list_page.py", line 12, in render
    return super().render()
      self = <frappe.website.page_renderers.list_page.ListPage object at 0x7f1794326830>
      __class__ = <class 'frappe.website.page_renderers.list_page.ListPage'>
  File "apps/frappe/frappe/website/page_renderers/template_page.py", line 84, in render
    html = self.get_html()
      self = <frappe.website.page_renderers.list_page.ListPage object at 0x7f1794326830>
  File "apps/frappe/frappe/website/utils.py", line 510, in cache_html_decorator
    html = func(*args, **kwargs)
      args = (<frappe.website.page_renderers.list_page.ListPage object at 0x7f1794326830>,)
      kwargs = {}
      html = None
      page_cache = None
      func = <function TemplatePage.get_html at 0x7f17962b3f40>
  File "apps/frappe/frappe/website/page_renderers/template_page.py", line 95, in get_html
    self.update_context()
      self = <frappe.website.page_renderers.list_page.ListPage object at 0x7f1794326830>
  File "apps/frappe/frappe/website/page_renderers/template_page.py", line 163, in update_context
    data = self.run_pymodule_method("get_context")
      self = <frappe.website.page_renderers.list_page.ListPage object at 0x7f1794326830>
  File "apps/frappe/frappe/website/page_renderers/template_page.py", line 225, in run_pymodule_method
    return method(self.context)
      self = <frappe.website.page_renderers.list_page.ListPage object at 0x7f1794326830>
      method_name = 'get_context'
      inspect = <module 'inspect' from '/usr/lib/python3.10/inspect.py'>
      method = <function get_context at 0x7f179593add0>
  File "apps/frappe/frappe/www/list.py", line 22, in get_context
    context.update(get_list_context(context, doctype) or {})
      context = {'top_bar_items': [<TopBarItem: 0d8db095ce parent=Website Settings>, <TopBarItem: 082dfaabb5 parent=Website Settings>, <TopBarItem: 28e55ff9c5 parent=Website Settings>], 'footer_items': [], 'post_login': [{'label': 'Mi Cuenta', 'url': '/me'}, {'label': 'Log out', 'url': '/?cmd=web_logout'}], 'brand_html': 'Reparación Flexible', 'copyright': 'Reparación Flexible', 'disable_signup': 1, 'facebook_share': 0, 'google_plus_one': 0, 'twitter_share': 0, 'linked_in_share': 0, 'url': 'https://212.227.169.186', 'encoded_title': '', 'web_include_js': ['website_script.js', 'erpnext-web.bundle.js'], 'web_include_css': ['erpnext-web.bundle.css'], 'favicon': '/assets/erpnext/images/erpnext-favicon.svg', 'splash_image': '/assets/erpnext/images/erpnext-logo.svg', 'theme': <WebsiteTheme: Standard>, 'hide_login': 0, 'read_only_mode': False, 'boot': {'sysdefaults': {'float_precision': 3, 'date_format': 'dd-mm-yyyy', 'time_format': 'HH:mm:ss'}, 'time_zone': {'system': 'Europe/Madrid', 'user': 'Asia/Kolkata'...
      dict_params = {}
      doctype = 'version'
  File "apps/frappe/frappe/www/list.py", line 183, in get_list_context
    module = load_doctype_module(doctype)
      context = {'top_bar_items': [<TopBarItem: 0d8db095ce parent=Website Settings>, <TopBarItem: 082dfaabb5 parent=Website Settings>, <TopBarItem: 28e55ff9c5 parent=Website Settings>], 'footer_items': [], 'post_login': [{'label': 'Mi Cuenta', 'url': '/me'}, {'label': 'Log out', 'url': '/?cmd=web_logout'}], 'brand_html': 'Reparación Flexible', 'copyright': 'Reparación Flexible', 'disable_signup': 1, 'facebook_share': 0, 'google_plus_one': 0, 'twitter_share': 0, 'linked_in_share': 0, 'url': 'https://212.227.169.186', 'encoded_title': '', 'web_include_js': ['website_script.js', 'erpnext-web.bundle.js'], 'web_include_css': ['erpnext-web.bundle.css'], 'favicon': '/assets/erpnext/images/erpnext-favicon.svg', 'splash_image': '/assets/erpnext/images/erpnext-logo.svg', 'theme': <WebsiteTheme: Standard>, 'hide_login': 0, 'read_only_mode': False, 'boot': {'sysdefaults': {'float_precision': 3, 'date_format': 'dd-mm-yyyy', 'time_format': 'HH:mm:ss'}, 'time_zone': {'system': 'Europe/Madrid', 'user': 'Asia/Kolkata'...
      doctype = 'version'
      web_form_name = None
      load_doctype_module = <function load_doctype_module at 0x7f17982dbd90>
      get_web_form_module = <function get_web_form_module at 0x7f1793fcf910>
      list_context = {'top_bar_items': [<TopBarItem: 0d8db095ce parent=Website Settings>, <TopBarItem: 082dfaabb5 parent=Website Settings>, <TopBarItem: 28e55ff9c5 parent=Website Settings>], 'footer_items': [], 'post_login': [{'label': 'Mi Cuenta', 'url': '/me'}, {'label': 'Log out', 'url': '/?cmd=web_logout'}], 'brand_html': 'Reparación Flexible', 'copyright': 'Reparación Flexible', 'disable_signup': 1, 'facebook_share': 0, 'google_plus_one': 0, 'twitter_share': 0, 'linked_in_share': 0, 'url': 'https://212.227.169.186', 'encoded_title': '', 'web_include_js': ['website_script.js', 'erpnext-web.bundle.js'], 'web_include_css': ['erpnext-web.bundle.css'], 'favicon': '/assets/erpnext/images/erpnext-favicon.svg', 'splash_image': '/assets/erpnext/images/erpnext-logo.svg', 'theme': <WebsiteTheme: Standard>, 'hide_login': 0, 'read_only_mode': False, 'boot': {'sysdefaults': {'float_precision': 3, 'date_format': 'dd-mm-yyyy', 'time_format': 'HH:mm:ss'}, 'time_zone': {'system': 'Europe/Madrid', 'user': 'Asia/Kolkata'...
      meta = <Meta: Version>
      update_context_from_module = <function get_list_context.<locals>.update_context_from_module at 0x7f1793f22d40>
  File "apps/frappe/frappe/modules/utils.py", line 235, in load_doctype_module
    module = get_doctype_module(doctype)
      doctype = 'version'
      module = None
      prefix = ''
      suffix = ''
  File "apps/frappe/frappe/modules/utils.py", line 226, in get_doctype_module
    frappe.throw(_("DocType {} not found").format(doctype), exc=frappe.DoesNotExistError)
      doctype = 'version'
      make_modules_dict = <function get_doctype_module.<locals>.make_modules_dict at 0x7f1793f208b0>
      doctype_module_map = {'Account': 'Accounts', 'Accounting Dimension': 'Accounts', 'Accounting Dimension Detail': 'Accounts', 'Accounting Dimension Filter': 'Accounts', 'Accounting Period': 'Accounts', 'Accounts Settings': 'Accounts', 'Advance Tax': 'Accounts', 'Advance Taxes and Charges': 'Accounts', 'Allowed Dimension': 'Accounts', 'Allowed To Transact With': 'Accounts', 'Applicable On Account': 'Accounts', 'Bank': 'Accounts', 'Bank Account': 'Accounts', 'Bank Account Subtype': 'Accounts', 'Bank Account Type': 'Accounts', 'Bank Clearance': 'Accounts', 'Bank Clearance Detail': 'Accounts', 'Bank Guarantee': 'Accounts', 'Bank Reconciliation Tool': 'Accounts', 'Bank Statement Import': 'Accounts', 'Bank Transaction': 'Accounts', 'Bank Transaction Mapping': 'Accounts', 'Bank Transaction Payments': 'Accounts', 'Budget': 'Accounts', 'Budget Account': 'Accounts', 'Campaign Item': 'Accounts', 'Cash Flow Mapper': 'Accounts', 'Cash Flow Mapping': 'Accounts', 'Cash Flow Mapping Accounts': 'Accounts', 'Cash Flow Mapping...
      module_name = None
  File "apps/frappe/frappe/__init__.py", line 525, in throw
    msgprint(
      msg = 'DocType version not found'
      exc = <class 'frappe.exceptions.DoesNotExistError'>
      title = None
      is_minimizable = False
      wide = False
      as_list = False
  File "apps/frappe/frappe/__init__.py", line 493, in msgprint
    _raise_exception()
      title = None
      as_table = False
      as_list = False
      indicator = 'red'
      alert = False
      primary_action = None
      is_minimizable = False
      wide = False
      sys = <module 'sys' (built-in)>
      out = {'message': 'DocType version not found', 'title': 'Mensaje', 'indicator': 'red', 'raise_exception': 1}
      _raise_exception = <function msgprint.<locals>._raise_exception at 0x7f1793f22f80>
      _strip_html_tags = <functools._lru_cache_wrapper object at 0x7f1795582980>
      inspect = <module 'inspect' from '/usr/lib/python3.10/inspect.py'>
      msg = 'DocType version not found'
      raise_exception = <class 'frappe.exceptions.DoesNotExistError'>
      strip_html_tags = <function strip_html_tags at 0x7f1799420670>
  File "apps/frappe/frappe/__init__.py", line 442, in _raise_exception
    raise raise_exception(msg)
      inspect = <module 'inspect' from '/usr/lib/python3.10/inspect.py'>
      msg = 'DocType version not found'
      raise_exception = <class 'frappe.exceptions.DoesNotExistError'>
frappe.exceptions.DoesNotExistError: DocType version not found

As i can see, here says there has to be a DocType called “Version” but non has found,

I have search over the web and i can’t find any information of why this happens, it doesn’t affect me at my procedures and i feel the system acting very well,

Can someone explain: ¿Why this is appearing? ¿Does it affect at some point about functionality? ¿Should i rebuid my doctype DDBB?

Thats some questions that i have before moving on to patch this,

Thank you!

where you able to get this sorted?

Not really, upgrading the version to a higher one did solve this issue