We have migrated a hobby site from the free one user plan that was depreciated to a small self-hosted instance. The instance has Frappe and ERPNext version 13 installed. Nothing else.
In our data backup we seem to have an app called “erpnext_support” installed still which prevents
bench migrate with the error message
Could not find app "erpnext_support".
The first idea was to just uninstall the app with the bench command but that didn’t work:
bench uninstall-app erpnext_support --no-backup --force. This just throws a bunch of errors.
The next idea was to remove the app from whatever database table has the information of the installed apps. I identified “tabInstalled Application” and deleted the record for erpnext_support. That didn’t fix the problem either.
So next I looked around “tabDocType” and found that there are some DocTypes that are from the module “ERPNext Support”. So I removed those records and deleted the corresponding tables also. That didn’t fix the problem.