Here is a thread I did on this quite some time ago. I was using v10 ERPNext at the time, but some of it should still be relevant. If nothing else, it is a good starting point.
For a week i have using this tutorial, i have not got any success. Can you help me sir
Which os to install, i wan to do it from very beginning
I am using hostinger Vps server, ubuntu 18 with webmin/virtualmin/LAMP
sudo su -a -G sudo frappe Doesnt work
Instead i tried Tried sudo usermod -aG sudo frappe
It worked
Again i got this error
[WARNING]: No inventory was parsed, only implicit localhost is available
[WARNING]: provided hosts list is empty, only localhost is available. Note that the
implicit localhost does not match âallâ
[WARNING]: Updating cache and auto-installing missing dependency: python3-apt
[WARNING]: Could not find aptitude. Using apt-get instead
Traceback (most recent call last):
File âinstall.pyâ, line 437, in
install_bench(args)
File âinstall.pyâ, line 241, in install_bench
run_playbook(âsite.ymlâ, sudo=True, extra_vars=extra_vars)
File âinstall.pyâ, line 362, in run_playbook
success = subprocess.check_call(args, cwd=os.path.join(cwd, âplaybooksâ), stdout=log_stream, stderr=sys.stderr)
File â/usr/lib/python2.7/subprocess.pyâ, line 190, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command â[âansible-playbookâ, â-câ, âlocalâ, âsite.ymlâ, â-vvvvâ, â-eâ, â@/tmp/extra_vars.jsonâ, ââbecomeâ, ââbecome-user=frappeâ]â returned non-zero exit status 2
sudo python install.py -âproduction âuser Frappe
I got this error again
[WARNING]: No inventory was parsed, only implicit localhost is available
[WARNING]: provided hosts list is empty, only localhost is available. Note that the
implicit localhost does not match âallâ
[WARNING]: Updating cache and auto-installing missing dependency: python3-apt
[WARNING]: Could not find aptitude. Using apt-get instead
Traceback (most recent call last):
File âinstall.pyâ, line 437, in
install_bench(args)
File âinstall.pyâ, line 241, in install_bench
run_playbook(âsite.ymlâ, sudo=True, extra_vars=extra_vars)
File âinstall.pyâ, line 362, in run_playbook
success = subprocess.check_call(args, cwd=os.path.join(cwd, âplaybooksâ), stdout=log_stream, stderr=sys.stderr)
File â/usr/lib/python2.7/subprocess.pyâ, line 190, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command â[âansible-playbookâ, â-câ, âlocalâ, âsite.ymlâ, â-vvvvâ, â-eâ, â@/tmp/extra_vars.jsonâ, ââbecomeâ, ââbecome-user=frappeâ]â returned non-zero exit status 2