I found this problem when I’m trying to update…
Traceback (most recent call last):
File "/usr/lib/python3.9/runpy.py", line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib/python3.9/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/home/erpnext/frappe-bench/apps/frappe/frappe/utils/bench_helper.py", line 110, in <module>
main()
File "/home/erpnext/frappe-bench/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
click.Group(commands=commands)(prog_name="bench")
File "/home/erpnext/frappe-bench/env/lib/python3.9/site-packages/click/core.py", line 829, in __call__
return self.main(*args, **kwargs)
File "/home/erpnext/frappe-bench/env/lib/python3.9/site-packages/click/core.py", line 782, in main
rv = self.invoke(ctx)
File "/home/erpnext/frappe-bench/env/lib/python3.9/site-packages/click/core.py", line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/erpnext/frappe-bench/env/lib/python3.9/site-packages/click/core.py", line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/erpnext/frappe-bench/env/lib/python3.9/site-packages/click/core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/erpnext/frappe-bench/env/lib/python3.9/site-packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
File "/home/erpnext/frappe-bench/env/lib/python3.9/site-packages/click/decorators.py", line 21, in new_func
return f(get_current_context(), *args, **kwargs)
File "/home/erpnext/frappe-bench/apps/frappe/frappe/commands/__init__.py", line 31, in _func
ret = f(frappe._dict(ctx.obj), *args, **kwargs)
File "/home/erpnext/frappe-bench/apps/frappe/frappe/commands/site.py", line 407, in migrate
migrate(context.verbose, skip_failing=skip_failing, skip_search_index=skip_search_index)
File "/home/erpnext/frappe-bench/apps/frappe/frappe/migrate.py", line 84, in migrate
frappe.get_doc("Portal Settings", "Portal Settings").sync_menu()
File "/home/erpnext/frappe-bench/apps/frappe/frappe/website/doctype/portal_settings/portal_settings.py", line 40, in sync_menu
self.save()
File "/home/erpnext/frappe-bench/apps/frappe/frappe/model/document.py", line 310, in save
return self._save(*args, **kwargs)
File "/home/erpnext/frappe-bench/apps/frappe/frappe/model/document.py", line 346, in _save
self._validate_links()
File "/home/erpnext/frappe-bench/apps/frappe/frappe/model/document.py", line 908, in _validate_links
frappe.throw(_("Could not find {0}").format(msg), frappe.LinkValidationError)
File "/home/erpnext/frappe-bench/apps/frappe/frappe/__init__.py", line 504, in throw
msgprint(
File "/home/erpnext/frappe-bench/apps/frappe/frappe/__init__.py", line 479, in msgprint
_raise_exception()
File "/home/erpnext/frappe-bench/apps/frappe/frappe/__init__.py", line 434, in _raise_exception
raise raise_exception(msg)
frappe.exceptions.LinkValidationError: Could not find Row #2: Reference Document Type: Timesheet
List apps in my site:
erpnext@porsite-VirtualBox:~/frappe-bench$ bench --site haelthcare list-apps
frappe
healthcare
and my Operating System: Ubuntu 21.04
erpnext@porsite-VirtualBox:~/frappe-bench$ bench version
erpnext 13.36.2
frappe 13.36.3
healthcare 0.0.1
posawesome 3.4.0