DocTypes reset and deleted on Migrate

Hello Guys,

I made some DocTypes on EPRnext, after done with the modifications, i have done bench migrate from SSH thinking this will commit the changes.

After the migrate finished, all the changes i made was deleted and all doctype shortcuts in the Desk says:

  • Not Found: The resource you are looking for is not available

What did I do wrong? anyway to get the docs back?

any comment would be much appreciated… :frowning:

Before ‘bench migrate’ did you not run ‘bench update’?

The update lists your file changes as an error, where you have the opportunity to save them. Otherwise migrate overwrites them…this may list what you are after -

frappe@erpnext:~/frappe-bench$ cd apps/erpnext
frappe@erpnext:~/frappe-bench/apps/erpnext$ git status

@clarkej thanks for the explanation, the bench update did not notify on any errors though.

I have re-done the doctypes, but now there is something happening :confused:

I did not work on the system for 2 days, but the some of the doctypes that I modified earlier got back to their initial status.

I did not update/migrate and already clicked on Custom in the doctype.

the docs that I am modifying are sales order, and issue, and sales invoice.

Maybe this is running and affecting your changes?

./sites/common_site_config.json: “auto_update”: false,