I get the following error when I do a bench update:
Updating DocTypes for erpnext : [============ ]
ImportError: Module import failed for Email Digest (erpnext.setup.doctype.email_digest.email_digest Error: cannot import name ‘get_link_to_report’)
My system is now in “Updating” mode and I can’t log in.
I had the same error when updating one server but not another, did you find a solution to this issue?
Sorry, I got no solution for you. I’m in “discovery” mode, working out what ERPNext can do for me, and how.
One thing that did seem to happen was that the installs of frappe and erpnext were on different branches. This caused some weird issues and it all got so out of shape I decided to start afresh with a new machine.
Cheers @fishter, I’ve been in “discovery” mode on and off for several months…
You are right regarding the problem, on the working server:
And on the server with the error above:
But I couldn’t switch to the
master branch using the command:
Branch master does not exist in Upstream for erpnext
So following this suggestion:
rm -rf apps/erpnext
bench get-app erpnext https://github.com/frappe/erpnext --branch master
bench update --patch