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.

Run

git config --global user.email "you@example.com"
git config --global user.name "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/cli.py", line 40, in cli
bench_command()
File "/usr/lib/python2.7/site-packages/click/core.py", line 716, in call
return self.main(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/click/core.py", line 696, in main
rv = self.invoke(ctx)
File "/usr/lib/python2.7/site-packages/click/core.py", line 1060, in invoke
return processresult(sub_ctx.command.invoke(sub_ctx))
File "/usr/lib/python2.7/site-packages/click/core.py", line 889, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/lib/python2.7/site-packages/click/core.py", line 534, in invoke
return callback(*args, **kwargs)
File "/home/frappe/bench-repo/bench/commands/update.py", line 34, in update
update_bench()
File "/home/frappe/bench-repo/bench/utils.py", line 200, in update_bench
exec_cmd("git pull", cwd=cwd)
File "/home/frappe/bench-repo/bench/utils.py", 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