Getting DuplicateEntryError when trying to install Custom App on remote server

Please apply it in bench console

frappe.delete_doc('Module Def', 'My Mfg')
frappe.db.commit()

Then

bench migrate
bench clear-cache
bench --site [your_site_name] install-app mymfg
bench build
bench update --patch
bench migrate
bench clear-cache

Hope you help it.

Thank You!

3 Likes