Suddenly the ERPNext is showing “Internal Server Error”. We’ve done the “bench update”, also with reset option.
The web error log shows this among others:
ModuleNotFoundError: No module named ‘erpnext.healthcare_healthcare’
Traceback (most recent call last):
File “/home/xxxx/frappe-bench/env/lib/python3.6/site-packages/rq/worker.py”, line 793, in perform_job
rv = job.perform()
File “/home/xxxxx/frappe-bench/env/lib/python3.6/site-packages/rq/job.py”, line 599, in perform
self._result = self._execute()
File “/home/xxxx/frappe-bench/env/lib/python3.6/site-packages/rq/job.py”, line 605, in _execute
return self.func(*self.args, **self.kwargs)
File “/home/xxxx/frappe-bench/apps/frappe/frappe/utils/background_jobs.py”, line 96, in execute_job
method = frappe.get_attr(method)
File “/home/xxxxx/frappe-bench/apps/frappe/frappe/init.py”, line 1046, in get_attr
return getattr(get_module(modulename), methodname)
File “/home/xxxx/frappe-bench/apps/frappe/frappe/init.py”, line 827, in get_module
return importlib.import_module(modulename)
File “/home/xxxx/frappe-bench/env/lib/python3.6/importlib/init.py”, line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File “”, line 994, in _gcd_import
File “”, line 971, in _find_and_load
File “”, line 941, in _find_and_load_unlocked
File “”, line 219, in _call_with_frames_removed
File “”, line 994, in _gcd_import
File “”, line 971, in _find_and_load
File “”, line 941, in _find_and_load_unlocked
File “”, line 219, in _call_with_frames_removed
File “”, line 994, in _gcd_import
File “”, line 971, in _find_and_load
File “”, line 941, in _find_and_load_unlocked
File “”, line 219, in _call_with_frames_removed
File “”, line 994, in _gcd_import
File “”, line 971, in _find_and_load
File “”, line 953, in _find_and_load_unlocked
ModuleNotFoundError: No module named ‘erpnext.healthcare_healthcare’
How could we find what has gone wrong?
Git status shows version 12 for both frappe and erpnext and all ok.