Bench update error - need help

Hi Experts ,

Just chose ERPNEXT as found this forum too responsive . First of all thank you so much for developing this awesome software , I installed 6.27 development setup and had issues so I migrated to v7 , now if I do bench update I am getting this error , Could someone help me on this ?
bench update
INFO:bench.utils:updating bench

*** Please tell me who you are.


git config --global ""
git config --global "Your Name"

to set your account's default identity.
Omit --global to set the identity only in this repository.

fatal: empty ident name (for frappe@localhost.localdomain) not allowed
Traceback (most recent call last):
File "/usr/bin/bench", line 9, in 
load_entry_point('bench==4.0.0-beta', 'console_scripts', 'bench')()
File "/home/frappe/bench-repo/bench/", line 40, in cli
File "/usr/lib/python2.7/site-packages/click/", line 716, in call
return self.main(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/click/", line 696, in main
rv = self.invoke(ctx)
File "/usr/lib/python2.7/site-packages/click/", line 1060, in invoke
return processresult(sub_ctx.command.invoke(sub_ctx))
File "/usr/lib/python2.7/site-packages/click/", line 889, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/lib/python2.7/site-packages/click/", line 534, in invoke
return callback(*args, **kwargs)
File "/home/frappe/bench-repo/bench/commands/", line 34, in update
File "/home/frappe/bench-repo/bench/", line 200, in update_bench
exec_cmd("git pull", cwd=cwd)
File "/home/frappe/bench-repo/bench/", line 100, in exec_cmd
raise CommandFailedError(cmd)
bench.utils.CommandFailedError: git pull

This might solve your issue ,

git fetch origin
git reset --hard origin/develop

Please try

1 Like

Yes solved . Thanks

1 Like