Startup error: default_ageing_range missing

After an update last week, when I log in to our self-hosted (Docker) ErpNext, the page navigates to the account settings. From there I try to go the “desk”, but there’s an error:

Traceback (most recent call last):File “apps/frappe/frappe/www/app.py”, line 30, in get_contextboot = frappe.sessions.get()^^^^^^^^^^^^^^^^^^^^^File “apps/frappe/frappe/sessions.py”, line 144, in getbootinfo = get_bootinfo()^^^^^^^^^^^^^^File “apps/frappe/frappe/boot.py”, line 96, in get_bootinfofrappe.get_attr(method)(bootinfo)File “apps/erpnext/erpnext/startup/boot.py”, line 67, in boot_sessionbootinfo.sysdefaults.default_ageing_range = frappe.db.get_single_value(^^^^^^^^^^^^^^^^^^^^^^^^^^^File “apps/frappe/frappe/database/database.py”, line 842, in get_single_valuefrappe.throw(File “apps/frappe/frappe/init.py”, line 609, in throwmsgprint(File “apps/frappe/frappe/init.py”, line 574, in msgprint_raise_exception()File “apps/frappe/frappe/init.py”, line 525, in _raise_exceptionraise excfrappe.exceptions.ValidationError: Das Feld default_ageing_range existiert nicht auf Accounts Settings
The above exception was the direct cause of the following exception:
Traceback (most recent call last):File “apps/frappe/frappe/website/serve.py”, line 20, in get_responsereturn renderer_instance.render()^^^^^^^^^^^^^^^^^^^^^^^^^^File “apps/frappe/frappe/website/page_renderers/template_page.py”, line 84, in renderhtml = self.get_html()^^^^^^^^^^^^^^^File “apps/frappe/frappe/website/utils.py”, line 534, in cache_html_decoratorhtml = func(*args, **kwargs)^^^^^^^^^^^^^^^^^^^^^File “apps/frappe/frappe/website/page_renderers/template_page.py”, line 95, in get_htmlself.update_context()File “apps/frappe/frappe/website/page_renderers/template_page.py”, line 163, in update_contextdata = self.run_pymodule_method(“get_context”)^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^File “apps/frappe/frappe/website/page_renderers/template_page.py”, line 223, in run_pymodule_methodreturn method(self.context)^^^^^^^^^^^^^^^^^^^^File “apps/frappe/frappe/www/app.py”, line 32, in get_contextraise frappe.SessionBootFailed from efrappe.exceptions.SessionBootFailed

I don’t know why, but the issue I posted at Github (Startup error: default_ageing_range missing · Issue #52289 · frappe/erpnext · GitHub) was closed without any comment.

Any idea how to solve this?

Thanks
Jeff

I had hoped it will work again with version 16, but update to 16.5.0 gives a server error without any message: