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

Cannot proceed with update: You have local changes in app "frappe" that are not committed


#1

Cannot proceed with update: You have local changes in app “frappe” that are not committed.

Here are your choices:

  1. Merge the frappe app manually with “git pull” / “git pull --rebase” and fix conflicts.
  2. Temporarily remove your changes with “git stash” or discard them completely
    with “bench update --reset” or for individual repositries “git reset --hard”
  3. If your changes are helpful for others, send in a pull request via GitHub and
    wait for them to be merged in the core.

Bench update --reset error
Not able to update bench
Question about editing files then updating using bench update
#2

go to apps/frappe
and type command : git stash

This should stash any changes you made and try bench update again


#3

Cannot proceed with update: You have local changes in app “erpnext” that are not committed.

Here are your choices:

  1. Merge the erpnext app manually with “git pull” / “git pull --rebase” and fix conflicts.
  2. Temporarily remove your changes with “git stash” or discard them completely
    with “bench update --reset” or for individual repositries “git reset --hard”
  3. If your changes are helpful for others, send in a pull request via GitHub and
    wait for them to be merged in the core.

same error


#4

repeat again but this time for erpnext.

go to apps/erpnext
and type command : git stash


#5

Thanks it works


#6

This doesn’t work for me. I am sure, that I don’t have any local changes.

Even when I do git reset --hard on the next try, it will tell me

Cannot proceed with update: You have local changes in app “frappe” that are not committed.

Here are your choices:

1. Merge the frappe app manually with "git pull" / "git pull --rebase" and fix conflicts.
1. Temporarily remove your changes with "git stash" or discard them completely
	with "bench update --reset" or for individual repositries "git reset --hard"
2. If your changes are helpful for others, send in a pull request via GitHub and
	wait for them to be merged in the core.

Any ideas?


#7

Similar issue here ,ERPNext: v7.2.29, trying to upgrade to v8. tried all the commands below

  1. Merge the erpnext app manually with “git pull” / “git pull --rebase” and fix conflicts.
  2. Temporarily remove your changes with “git stash” or discard them completely
    with “bench update --reset” or for individual repositries “git reset --hard”

Strange thing is it worked (with combinations of above commands) on my OSX local server but not Ubuntu Remote Server.


#8

Turns out server needs to be rebooted , and its now updated to v8.0.9


#9

try it on app ‘erpnext’ even though the error shows ‘frappe’ , mine was the other way round. And similarly i never touch frappe/erpnext codes. Try…

in apps/frappe

git stash (it will says No local changes to save)
git reset --hard
git pull --rebase

in frappe-bench

bench update --upgrade


#10

I’ve already tried it both ways. It still doesn’t work.


#11

Try this
in apps/frappe

git stash (it will says No local changes to save)
git reset --hard
git pull --rebase

in frappe-bench

bench update --reset


#12

With bench update --reset it works every time, but without the reset the error occurs on the next try of bench update.


#13

same situation here,
bench update --reset ist working.

but without --reset no success.


#14

Hello is happening again.
I run the code as before, but this time it’s not working.

The code

Then i do bench update

I have a few issues in my version that was fixed and I need to update urgent. Any help please.


#15

It’s not updating am getting this error


#16

Am not able to save anything.


#17

Try this

in apps/frappe

git stash (it will says No local changes to save)
git reset --hard
git pull --rebase
git stash
git add . (Including point)

in frappe-bench

bench update

this work for me …


Bench update errors(line 11)
#18

This work for me 2 thank you.


#19

Thank you. I expected this to work, but unfortunately it still doesn’t. Maybe anyone can confirm that.


#20

This is how it should work:

cd /home/frappe/frappe-bench/apps/frappe
git stash

cd /home/frappe/frappe-bench/apps/erpnext
git stash

cd /home/frappe/frappe-bench
bench update --reset

That should work.