I accidentally deleted the core Role Doctype we use to manage roles, so now I’m getting an error when I try to start my bench.
Try below commands
bench --site site_name migrate
or
bench update
i tried already but not resolved.
Try
- Pull Latest Frappe app
- Create new site
- Install your app on new site
I tired this also but their I am facing another error in that I am not getting the doctypes that I had created in that app before.
Have you created doctypes in your custom app? If you haven’t exported/created them in the custom app and don’t have a backup, then you will not be able to retrieve your custom doctypes.