Steps to clean drop Database and Fresh Install ERPNext for same site - jigneshpshah/greycube_helpmanual GitHub Wiki
let us assume the sitename is demo.example.com
- bench --site [demo.example.com] uninstall-app [custom_app_name]
- bench --site [demo.example.com] --force reinstall
- Run wizard
- bench --site [demo.example.com] install-app [custom_app_name]