Error whil installing Payments and HRMS in ERPNext v14

Just updated from ERPNext v13 to v14. now facing problem while install payments and hrms apps.
I am getting bellow error.

Traceback (most recent call last):
  File "apps/frappe/frappe/commands/site.py", line 413, in install_app
    _install_app(app, verbose=context.verbose, force=force)
  File "apps/frappe/frappe/installer.py", line 288, in install_app
    add_module_defs(name, ignore_if_duplicate=force)
  File "apps/frappe/frappe/installer.py", line 608, in add_module_defs
    d.insert(ignore_permissions=True, ignore_if_duplicate=ignore_if_duplicate)
  File "apps/frappe/frappe/model/document.py", line 268, in insert
    self.db_insert(ignore_if_duplicate=ignore_if_duplicate)
  File "apps/frappe/frappe/model/base_document.py", line 526, in db_insert
    raise frappe.DuplicateEntryError(self.doctype, self.name, e)
frappe.exceptions.DuplicateEntryError: ('Module Def', 'Payments', IntegrityError(1062, "Duplicate entry 'Payments' for key 'PRIMARY'"))

Any idea why is it giving this error while installing payments app?

Remove Payments from tabModule Def in your site database.

Thanks for the reply but the solution was to do

  1. bench update --reset
  2. bench install-app payments
  3. bench install-app hrms