Error in migrating backup ( Could not find app "erpnext_support )

Hello everyone

When I am Installing a backup taken From you’re hosting I have problem when I make migrate I have this error:

`root@ErpNext:/home/frappe/frappe-bench#  bench —site erpnext.site.com migrate`
`Migrating erpnext.site.com `
`Could not find app "erpnext_support"`

Can anyone please help me
thank you advance

It looks like that you have uninstalled app erpnext_support.

The app is in the backup database, but it is not on my server. So when I do migrate it sends an error message not having this application.

I tried installing the erpnext-support application but it is not in the repositories.

Is there a way to run a backup copy loaded from ErpNext servers on an external server, without having a migrating problem?

try running bench --site [sitename] remove-from-installed-apps erpnext_support to remove the app references

8 Likes

Thank you very much
It’s work successfully with me

Greetings

1 Like

I am getting this error while doing this

nt_consumers = frappe.get_all(‘Event Consumer’)
File “/opt/erpnext/erpnext/apps/frappe/frappe/init.py”, line 1337, in get_all return get_list(doctype, *args, **kwargs)
File “/opt/erpnext/erpnext/apps/frappe/frappe/init.py”, line 1310, in get_list
return frappe.model.db_query.DatabaseQuery(doctype).execute(None, *args, **kwargs)
File “/opt/erpnext/erpnext/apps/frappe/frappe/model/db_query.py”, line 96, in execute
result = self.build_and_run()
File “/opt/erpnext/erpnext/apps/frappe/frappe/model/db_query.py”, line 110, in build_and_run
args = self.prepare_args()
File “/opt/erpnext/erpnext/apps/frappe/frappe/model/db_query.py”, line 136, in prepare_args
self.set_optional_columns()
File “/opt/erpnext/erpnext/apps/frappe/frappe/model/db_query.py”, line 298, in set_optional_columns
columns = get_table_columns(self.doctype)
File “/opt/erpnext/erpnext/apps/frappe/frappe/model/meta.py”, line 49, in get_table_columns
return frappe.db.get_table_columns(doctype)
File “/opt/erpnext/erpnext/apps/frappe/frappe/database/database.py”, line 865, in get_table_columns
raise self.TableMissingError(‘DocType’, doctype)
pymysql.err.ProgrammingError: (‘DocType’, ‘Event Consumer’)

Life saver

1 Like

When I clone the redroad_hrms_erpnext and particular and doing bench setup it’s showing could not find redroad_hrms_erpnext

@Raghavendra_D_L try to add it in the apps.txt file inside sites