Good Day Everyone.
I have previously successfully installed ERP Next on a Centos 7 x64 VM but since the install.py script has changed, the script fails pretty must in the early stages of the install process.
I have not seen any topics / posts regarding this since the script has been changed.
Guys, please assist with this as this is important to our organisation and most frustrating when installations fail.
I have attempted the same script on Ubuntu 16.04 and fails as well.
Details of VM are:
Virtualization: kvm
Operating System: CentOS Linux 7 (Core)
CPE OS Name: cpe:/o:centos:centos:7
Kernel: Linux 3.10.0-957.27.2.el7.x86_64
Architecture: x86-64
1 CPU, 4Gb Ram, 50Gb VHdd
Steps followed for install are as follows AS USER root:
- adduser erpnext
- passwd erpnext
- usermod -aG wheel erpnext
- yum update -y
- yum groupinstall -y “Development Tools”
- yum install -y nano wget htop net-tools
- curl -sL https://rpm.nodesource.com/setup_10.x | sudo bash -
- yum install -y nodejs
Steps followed for install are as follows AS USER: erpnext:
- wget https://raw.githubusercontent.com/frappe/bench/master/playbooks/install.py
- sudo python install.py --production --site erpn.local --user erpnext --bench-name erpnext --verbose
The error received is as follows:
File “install.py”, line 413, in
install_bench(args)
File “install.py”, line 105, in install_bench
run_playbook(‘create_user.yml’, extra_vars=extra_vars)
File “install.py”, line 327, in run_playbook
success = subprocess.check_call(args, cwd=os.path.join(cwd, ‘playbooks’))
File “/usr/lib64/python2.7/subprocess.py”, line 537, in check_call
retcode = call(*popenargs, **kwargs)
File “/usr/lib64/python2.7/subprocess.py”, line 524, in call
return Popen(*popenargs, **kwargs).wait()
File “/usr/lib64/python2.7/subprocess.py”, line 711, in init
errread, errwrite)
File “/usr/lib64/python2.7/subprocess.py”, line 1327, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
I would really appreciate some urgent assistance and attention to this topic as this is holding up my implementation of this system.
Kind Regards
Christo Boucher