A customer site that uses ERPNext extensively and intensively is having the following issue:
I ran bench update and I see that it’s stuck at this for many hours now:
Updating node packages…
yarn install v1.5.1
[1/4] Resolving packages…
success Already up-to-date.
Done in 0.70s.
Updating DocTypes for frappe : [========================================]
Updating DocTypes for erpnext : [========================================]
Updating DocTypes for nhance : [========================================]
Executing frappe.patches.v11_0.make_all_prepared_report_attachments_private #2019-11-26 in abcd (a81126be1d0839c7)
I aborted the update, went in to patches.txt in the frappe folder and tried to comment this out, and then did a git pull from the frappe and erpnext folders and tried bench --site abcd migrate, but it wouldn’t work.
I am certain that this client has a bunch of prepared reports and I really haven’t done any housekeeping by purging the prepared reports, so is that the reason its taking this kind of time?
Any suggestions as to how to get the instance working again and I can run the specific update over the weekend?