I installed frappe in a remote server and when I tried accessing it in the browser I am getting this error. Is there anyone had encountered and solved this issue?
When I run bench --site all list-apps erpnext doesn appear but when I run bench --site mynewsite.local install-app erpnext it says “App erpnext already installed”.
When I tried bench migrate the erpnext app appears already when I run bench list-apps. The problem is that ModuleNotFoundError: No module named 'erpnext' still appears when I’m trying to access it in the browser.
It is been a year to this post, but I don’t see a clear answer except creating new site… I have the same situation… I could get back my erpnext but still the webshop module is not found even if it is installed. Strange thing, I could access it once from my erpnext app. but after a while again shows me “webshop” not found. Any suggestion would be appreciated, who have solved this problem. Thank you very much !!
I ran into Simillar issues, i found removing the locks from sites/frontend/locks and then sites/apps.txt remove the erpnext from the list. you should be able to run
“bench --site frontend install-app erpnext” (if it doesn’t let you do this check if its in the /apps directory) if its not run “bench get erpnext” and retry.
“bench --site frontend migrate”
“bench restart”
**if its still a problem if this is a fresh install you can do “bench --site frontend reinstall” this will erase everything in the database and rebuild it.
if this is from the standard docker compose with frappe_docker erpnext should be in every container by default.
if you are using docker you have to make sure all your relevant containers have the bench get App-name or github http address here --branch “version thats needed”
that needs to be ran on each of the 5 containers.