ERPNext Easy Installation on ubuntu 18.04 , Install ERPNext to default site

Hello all,

I have been trying for 3 days ,Stucked in this line,
Can anyone here help me with this ?

` TASK [bench : Install ERPNext to default site] *************************************************************************************************************************************************************
fatal: [localhost]: FAILED! => {“changed”: true, “cmd”: [“bench”, “–site”, “site1.local”, “install-app”, “erpnext”], “delta”: “0:00:02.576363”, “end”: “2019-02-12 11:33:47.311120”, “msg”: “non-zero return code”, “rc”: 1, “start”: “2019-02-12 11:33:44.734757”, “stderr”: “”, “stderr_lines”: [], “stdout”: “site1.local does not exist”, “stdout_lines”: [“site1.local does not exist”]}
to retry, use: --limit @/tmp/.bench/playbooks/site.retry

PLAY RECAP *************************************************************************************************************************************************************************************************
localhost : ok=76 changed=15 unreachable=0 failed=1

Traceback (most recent call last):
File “”, line 425, in
File “”, line 122, in install_bench
run_playbook(‘site.yml’, sudo=True, extra_vars=extra_vars)
File “”, line 338, in run_playbook
success = subprocess.check_call(args, cwd=os.path.join(cwd, ‘playbooks’))
File “/usr/lib/python2.7/”, line 190, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command ‘[‘ansible-playbook’, ‘-c’, ‘local’, ‘site.yml’, ‘-e’, ‘@/tmp/extra_vars.json’, ‘–become’, ‘–become-user=frappe’]’ returned non-zero exit status 2

maybe you didnt run the command usermod -aG sudo [user]

Is ansible installed?

If it is, run this on the command line and see what the issue with starting ansible might be.

ansible-playbook -c local site.yml -e /tmp/extra_vars.json –become –become-user=frappe

This issue is really annoying, i’ve tested “Easy Install Script” on CentOS 6, CentOS 7, Ubuntu 16, Ubuntu 18, Debian 9.9 all the same

Just use the default instructions. It works most of the time.