ERPNext Foundation ERPNext Cloud User Manual Blog Discuss Frappé* Donate

Unknown column 'production_order' in 'field list'



I have update my system to the version 11.
Then I tried to add new site, install erpnext to this site. And when I run bench migrate I received Unknown column 'production_order' in 'field list' if I remove this patch then other patch’s error will appear.
Can someone please help me?


Hi @NMyshuk,
I had exactly the same issue in an upgrade from v10 to v11. There were many patches that failed, at some point I reverted to using

$ bench reinstall

which clears the database and will set it up with the correct structure. Use with care and make sure to backup your data before!


Thank you very much for your answer, I’ll try