Installer Errors

ERPNext installer has been aborted with failed status displaying the below output,
NO MORE HOSTS LEFT *************************************************************
to retry, use: --limit @production/install.retry

PLAY RECAP *********************************************************************
localhost : ok=48 changed=26 unreachable=0 failed=1

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

Installation environment on fresh Ubuntu 14.04 using sudo python --production --user frappe
Please debug!

Run this command and post the trace:
ansible-playbook -c local production/install.yml -e @/tmp/extra_vars.json --become --become-user=frappe

1 Like

The above command results in,
ERROR! the playbook: production/install.yml could not be found

Try this and post the trace:
sudo python --production --user frappe --verbose

1 Like

The above command has been ended with Frappe/ERPNext has been successfully installed!
Hint: dkms package update were available today and done before running the installer; Is it possible that it was the reason behind yesterday errors?! I doubt; Thanks anyway!

Setup wizard has been ended with the following and DOES NOT respond to “Report this issue” button.
Traceback (most recent call last):
File “/home/frappe/frappe-bench/apps/frappe/frappe/”, line 55, in application
response = frappe.handler.handle()
File “/home/frappe/frappe-bench/apps/frappe/frappe/”, line 19, in handle
File “/home/frappe/frappe-bench/apps/frappe/frappe/”, line 36, in execute_cmd
ret =, **frappe.form_dict)
File “/home/frappe/frappe-bench/apps/frappe/frappe/”, line 890, in call
return fn(*args, **newargs)
File “/home/frappe/frappe-bench/apps/frappe/frappe/desk/page/setup_wizard/”, line 36, in setup_complete
File “/home/frappe/frappe-bench/apps/erpnext/erpnext/setup/setup_wizard/”, line 27, in setup_complete
File “/home/frappe/frappe-bench/apps/erpnext/erpnext/setup/setup_wizard/”, line 250, in create_sales_tax
if len(country_wise_tax)>0:
TypeError: object of type ‘NoneType’ has no len()
Why ERPNext developers are keep destroying our dream in stable upgraded ERP system?!