I want to install erpnext latest version on ubuntu 14.04 - what is terminal command

i want to install erpnext latest version on ubuntu 14.04 - what is terminal command???

Please refer, Frappe Installation

if i upgrade from 4 version to new latest i.e 5.X . Please say me the proper terminal command in ubuntu 14.04.

if i upgrade from 4 version to new latest i.e 5.X . Please say me the proper terminal command in ubuntu 14.04. need terminal commoand & full guidline.

See ERPNext Upgrade to Version 5 · frappe/erpnext Wiki · GitHub

When i go for bench update --upgrade ----------->>following error found

root@ERPNEXT:/home/erpadmin/frappe-bench# bench update --upgrade
error: cannot open .git/FETCH_HEAD: Permission denied

Error: None
Traceback (most recent call last):
File “/usr/local/bin/bench”, line 9, in
load_entry_point(‘bench==0.1’, ‘console_scripts’, ‘bench’)()
File “/home/erpadmin/bench-repo/bench/cli.py”, line 56, in cli
bench()
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 610, in call
return self.main(*args, **kwargs)
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 590, in main
rv = self.invoke(ctx)
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 936, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 782, in invoke
return ctx.invoke(self.callback, **ctx.params)
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 416, in invoke
return callback(*args, **kwargs)
File “/home/erpadmin/bench-repo/bench/cli.py”, line 210, in update
update_bench()
File “/home/erpadmin/bench-repo/bench/utils.py”, line 188, in update_bench
exec_cmd(“git pull”, cwd=cwd)
File “/home/erpadmin/bench-repo/bench/utils.py”, line 80, in exec_cmd
subprocess.check_call(cmd, cwd=cwd, shell=True)
File “/usr/lib/python2.7/subprocess.py”, line 540, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command ‘git pull’ returned non-zero exit status 1
root@ERPNEXT:/home/erpadmin/frappe-bench# bench update–upgrade
Usage: bench [OPTIONS] COMMAND [ARGS]…

Error: No such command “update–upgrade”.
root@ERPNEXT:/home/erpadmin/frappe-bench# bench update --upgrade
error: cannot open .git/FETCH_HEAD: Permission denied

Error: None
Traceback (most recent call last):
File “/usr/local/bin/bench”, line 9, in
load_entry_point(‘bench==0.1’, ‘console_scripts’, ‘bench’)()
File “/home/erpadmin/bench-repo/bench/cli.py”, line 56, in cli
bench()
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 610, in call
return self.main(*args, **kwargs)
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 590, in main
rv = self.invoke(ctx)
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 936, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 782, in invoke
return ctx.invoke(self.callback, **ctx.params)
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 416, in invoke
return callback(*args, **kwargs)
File “/home/erpadmin/bench-repo/bench/cli.py”, line 210, in update
update_bench()
File “/home/erpadmin/bench-repo/bench/utils.py”, line 188, in update_bench
exec_cmd(“git pull”, cwd=cwd)
File “/home/erpadmin/bench-repo/bench/utils.py”, line 80, in exec_cmd
subprocess.check_call(cmd, cwd=cwd, shell=True)
File “/usr/lib/python2.7/subprocess.py”, line 540, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command ‘git pull’ returned non-zero exit status 1

Hi Anil,

I guess it is because you are using root user.

This is a bit tricky as we need to know how did you setup version 4?

Did you use the install script to install v4? Also, is there frappe in cat /etc/passwd

-Anand.

Currently i used on cloud ERPNEXT ver.5 , & previously i installed 4 version on my local host since long time it is not in use but now i want to live this on current version.

what u suggest this situation??? Please say upgrade command on ubuntu 14.04.