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 “install.py”, line 351, in
install_bench(args)
File “install.py”, line 111, in install_bench
run_playbook(‘production/install.yml’, sudo=True, extra_vars=extra_vars)
File “install.py”, line 301, in run_playbook
success = subprocess.check_call(args, cwd=os.path.join(cwd, ‘playbooks’))
File “/usr/lib/python2.7/subprocess.py”, 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 install.py --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 install.py --production --user frappe --verbose

1 Like

Indeed!
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!

Now!
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/app.py”, line 55, in application
response = frappe.handler.handle()
File “/home/frappe/frappe-bench/apps/frappe/frappe/handler.py”, line 19, in handle
execute_cmd(cmd)
File “/home/frappe/frappe-bench/apps/frappe/frappe/handler.py”, line 36, in execute_cmd
ret = frappe.call(method, **frappe.form_dict)
File “/home/frappe/frappe-bench/apps/frappe/frappe/init.py”, line 890, in call
return fn(*args, **newargs)
File “/home/frappe/frappe-bench/apps/frappe/frappe/desk/page/setup_wizard/setup_wizard.py”, line 36, in setup_complete
frappe.get_attr(method)(args)
File “/home/frappe/frappe-bench/apps/erpnext/erpnext/setup/setup_wizard/setup_wizard.py”, line 27, in setup_complete
create_sales_tax(args)
File “/home/frappe/frappe-bench/apps/erpnext/erpnext/setup/setup_wizard/setup_wizard.py”, 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?!