Hi there,
got another error on bench update on both VM ERPNext-Production and Dev :
bench update
Traceback (most recent call last):
File "/usr/local/bin/bench", line 9, in <module>
load_entry_point('bench', 'console_scripts', 'bench')()
File "/home/frappe/bench-repo/bench/cli.py", line 40, in cli
bench_command()
File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 716, in __call__
return self.main(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 696, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 1060, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 889, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 534, in invoke
return callback(*args, **kwargs)
File "/home/frappe/bench-repo/bench/commands/update.py", line 30, in update
patches.run(bench_path='.')
File "/home/frappe/bench-repo/bench/patches/__init__.py", line 21, in run
result = execute(bench_path)
File "/home/frappe/bench-repo/bench/patches/v3/celery_to_rq.py", line 7, in execute
frappe_branch = get_current_branch('frappe', bench_path)
File "/home/frappe/bench-repo/bench/app.py", line 179, in get_current_branch
return get_cmd_output("basename $(git symbolic-ref -q HEAD)", cwd=repo_dir)
File "/home/frappe/bench-repo/bench/utils.py", line 284, in get_cmd_output
return subprocess.check_output(cmd, cwd=cwd, shell=True, stderr=open(os.devnull, 'wb')).strip()
File "/usr/lib/python2.7/subprocess.py", line 566, in check_output
process = Popen(stdout=PIPE, *popenargs, **kwargs)
File "/usr/lib/python2.7/subprocess.py", line 710, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1327, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory: './apps/frappe'
frappe@erpnext:~/frappe-bench/apps/erpnext/erpnext$ cd ..
frappe@erpnext:~/frappe-bench/apps/erpnext$ cd..
cd..: command not found
frappe@erpnext:~/frappe-bench/apps/erpnext$ cd ..
frappe@erpnext:~/frappe-bench/apps$ cd ..
frappe@erpnext:~/frappe-bench$ bench update
No node executable was found on your machine.
Please install node 5.x before
running "bench update".
Installation instructions for CentOS and Ubuntu can be found on
the following link,
"https://www.metachris.com/2015/10/how-to-install-nodejs-5-on-centos-and-ubuntu/"
Can you please have a look?
Thx