Bench update error in v15

Hi @Manal_Al-Subaei,

Please apply it.

bench update --reset

check it.

Thank You!

this will remove all change in erpnext?

Yeah, but I recommend you, if you need to change or overrid certain methods and concept, create a custom app.

the change is still there?!

i will try to uninstall the erpnext then remove it the download it again

Do you want to remove the changes?

yes i do

Please apply it.

git restore .

Thank You!

still there?

Oh, it’s created a new folder. so please apply it.

git clean -fd

Thank You!

worked thanks

bench update --reset

when update the bench and get that error
i must to enter the app and write

git clean -fd

If you’ve made changes to a doctype or something similar, you can use the command bench update --reset to apply those changes. However, if you’ve created a new standard report and want to remove it from the app, you can use git clean -fd. Remember, if you need to modify or override specific methods and concepts, it’s best to create a custom app. But be cautious, because using git clean -fd will remove all changes from the app.

Thank You!

okey thanks
for be sure
bench update --reset update the app with keep me changes in erpnext

Hi @Manal_Al-Subaei,

Please explore the Bench Commands Cheatsheet.

I hope this helps.

Thank You!

1 Like

okey thanks