Can't migrate ERPNEXT 13 to ERPNEXT 14

Hello, I tried, migrating my production server into 14
But i ran into lots of problem,
I’m having this problem
how can i fix this thanks

Traceback (most recent call last):
  File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/ubuntu/frappe-bench/apps/frappe/frappe/utils/bench_helper.py", line 109, in <module>
    main()
  File "/home/ubuntu/frappe-bench/apps/frappe/frappe/utils/bench_helper.py", line 18, in main
    click.Group(commands=commands)(prog_name="bench")
  File "/home/ubuntu/frappe-bench/env/lib/python3.10/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/home/ubuntu/frappe-bench/env/lib/python3.10/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/home/ubuntu/frappe-bench/env/lib/python3.10/site-packages/click/core.py", line 1259, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/ubuntu/frappe-bench/env/lib/python3.10/site-packages/click/core.py", line 1259, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/ubuntu/frappe-bench/env/lib/python3.10/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/ubuntu/frappe-bench/env/lib/python3.10/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/home/ubuntu/frappe-bench/env/lib/python3.10/site-packages/click/decorators.py", line 21, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "/home/ubuntu/frappe-bench/apps/frappe/frappe/commands/__init__.py", line 29, in _func
    ret = f(frappe._dict(ctx.obj), *args, **kwargs)
  File "/home/ubuntu/frappe-bench/apps/frappe/frappe/commands/site.py", line 549, in migrate
    SiteMigration(
  File "/home/ubuntu/frappe-bench/apps/frappe/frappe/migrate.py", line 174, in run
    self.post_schema_updates()
  File "/home/ubuntu/frappe-bench/apps/frappe/frappe/migrate.py", line 40, in wrapper
    ret = method(*args, **kwargs)
  File "/home/ubuntu/frappe-bench/apps/frappe/frappe/migrate.py", line 136, in post_schema_updates
    frappe.get_single("Portal Settings").sync_menu()
  File "/home/ubuntu/frappe-bench/apps/frappe/frappe/website/doctype/portal_settings/portal_settings.py", line 37, in sync_menu
    self.save()
  File "/home/ubuntu/frappe-bench/apps/frappe/frappe/model/document.py", line 301, in save
    return self._save(*args, **kwargs)
  File "/home/ubuntu/frappe-bench/apps/frappe/frappe/model/document.py", line 334, in _save
    self._validate_links()
  File "/home/ubuntu/frappe-bench/apps/frappe/frappe/model/document.py", line 896, in _validate_links
    frappe.throw(_("Could not find {0}").format(msg), frappe.LinkValidationError)
  File "/home/ubuntu/frappe-bench/apps/frappe/frappe/__init__.py", line 524, in throw
    msgprint(
  File "/home/ubuntu/frappe-bench/apps/frappe/frappe/__init__.py", line 492, in msgprint
    _raise_exception()
  File "/home/ubuntu/frappe-bench/apps/frappe/frappe/__init__.py", line 444, in _raise_exception
    raise raise_exception(msg)
frappe.exceptions.LinkValidationError: Could not find Row #20: Reference Document Type: Certification Application

Hello,

You have a Doctype Certification Application and one of your records (somewhere) link to an unexistant Certification Application.

Witch Doctype are linked to Certification Application ?

Take care LMS and School are now separate App, you’ll have to install in your site them before launch bench migrate

Thanks Henry, It was more of a problem of the way I installed frappe and ERPnext, I reinstalled everything, I migrated node, pip to all new version, and it work.
But after many pros and cons, erpnext14 with my old database was too unstable, I will try again maybe later.
But thanks for the comment !

Please check frappe.exceptions.LinkValidationError: row #1 could not be found: UOM: Nos - #2 by Tufan_Kaynak2