Hi;
im beginner on ERPNext, i want to know how to install ERPNext on ubuntu 16.04.1 server?
i tried many times before to following instruction from GitHub - frappe/bench: CLI to manage Multi-tenant deployments for Frappe apps but i steel have an error msg when i was run sudo python install.py --production , the error is:
install.py
did not download correctly!
Make sure you are root
sudo su - root
and then make sure you download the install file right. Best to use wget
wget https://raw.githubusercontent.com/frappe/bench/master/playbooks/install.py
then still as root
python ./install.py --production
There’s something with 16.04 causes such services does not start at boot
login page showing, something went wrong, it is not you, it is us, back soon
OK think you
when this wrong will be corrected, can you tell me plz??
Wooo! this just worked after a million tries of other guides
Thanks James, I tried a million other guides before
Glad it worked for you.
Thanks. I’m having some trouble executing my bench commands:
Root says use non root user (frappe)
Frappe says permission denied:
- frappe@ip-172-31-22-170:/root$ bench get-app erpnext GitHub - frappe/erpnext: Free and Open Source Enterprise Resource Planning (ERP)
- INFO:bench.app:getting app erpnext
- Traceback (most recent call last):
- File “/usr/local/bin/bench”, line 11, in
-
load_entry_point('bench', 'console_scripts', 'bench')()
- File “/home/frappe/.bench/bench/cli.py”, line 40, in cli
-
bench_command()
- File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 722, in call
-
return self.main(*args, **kwargs)
- File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 697, in main
-
rv = self.invoke(ctx)
- File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 1066, in invoke
-
return _process_result(sub_ctx.command.invoke(sub_ctx))
- File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 895, in invoke
-
return ctx.invoke(self.callback, **ctx.params)
- File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 535, in invoke
-
return callback(*args, **kwargs)
- File “/home/frappe/.bench/bench/commands/make.py”, line 30, in get_app
-
get_app(git_url, branch=branch)
- File “/home/frappe/.bench/bench/app.py”, line 55, in get_app
-
shallow_clone = '--depth 1' if check_git_for_shallow_clone() else ''
- File “/home/frappe/.bench/bench/utils.py”, line 314, in check_git_for_shallow_clone
-
git_version = get_git_version()
- File “/home/frappe/.bench/bench/utils.py”, line 305, in get_git_version
-
version = get_cmd_output("git --version").strip().split()[2]
- File “/home/frappe/.bench/bench/utils.py”, line 321, 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 567, in check_output
-
process = Popen(stdout=PIPE, *popenargs, **kwargs)
- File “/usr/lib/python2.7/subprocess.py”, line 711, in init
-
errread, errwrite)
- File “/usr/lib/python2.7/subprocess.py”, line 1343, in _execute_child
-
raise child_exception
- OSError: [Errno 13] Permission denied: ‘.’
Any ideas how to proceed?
got it
cd into frappe-bench to setup the site
This will explain a bit for you:
Thanks