Install V7 production error

Hello

I’am trying to install frappe and erpnext in production mode
by executing install.py
sudo python install.py --production

I got this error
amiko->ansible==2.0.2.0)
Traceback (most recent call last):
File “install.py”, line 342, in
install_bench(args)
File “install.py”, line 98, in install_bench
run_playbook(‘develop/create_user.yml’, extra_vars=extra_vars)
File “install.py”, line 292, in run_playbook
success = subprocess.check_call(args, cwd=os.path.join(cwd, ‘playbooks’))
File “/usr/lib/python2.7/subprocess.py”, line 535, in check_call
retcode = call(*popenargs, **kwargs)
File “/usr/lib/python2.7/subprocess.py”, line 522, in call
return Popen(*popenargs, **kwargs).wait()
File “/usr/lib/python2.7/subprocess.py”, line 710, in init
errread, errwrite)
File “/usr/lib/python2.7/subprocess.py”, line 1335, in _execute_child
raise child_exception
OSError: [Errno 13] Permission denied

any help ?

thanks

What OS and version did you install it?

Ubuntu 15.10 (GNU/Linux 4.2.0-27-generic x86_64)

Does your user that you’re running the script from have sudo rights?

Actually i was on root

Then you should specify a user in the installer.

python install.py --production --user frappe

This will create a new user named “frappe” and setup everything in frappe.

the same problem
I had frappe production previously but I removed it and deleted frappe user
then this problem occur

I’ve tried on Ubuntu 16 and the same error
It seems generic problem

I’m not getting this issue. Are you doing something before installing this script?

problem solved, memory is not enough I’ve created swap file