I have another post about a similar failure on CentOS 7, however now this same failure is happening on ALL linux server setups. All 3 of the recommended Linux OS distributions and the recommended versions all have the same error now. It appears to be related to ownership issues encountered during the install.py script running. Here is the dump from my Ubuntu 14.04 test a few min ago:
TASK [Check if /tmp/.bench exists] *****************************************************************************
ok: [localhost]
TASK [Check if bench_repo_path exists] *************************************************************************
ok: [localhost]
TASK [move /tmp/.bench if it exists] ***************************************************************************
fatal: [localhost]: FAILED! => {âfailedâ: true, âmsgâ: âFailed to change ownership of the temporary files Ansibl
e needs to create despite connecting as root. Unprivileged become user would be unable to read the file.â}
to retry, use: --limit @/tmp/.bench/playbooks/production/install.retry
PLAY RECAP *****************************************************************************************************
localhost : ok=63 changed=40 unreachable=0 failed=1
Traceback (most recent call last):
File âinstall.pyâ, line 388, in
install_bench(args)
File âinstall.pyâ, line 114, in install_bench
run_playbook(âproduction/install.ymlâ, sudo=True, extra_vars=extra_vars)
File âinstall.pyâ, line 326, 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â, â@/t
mp/extra_vars.jsonâ, ââbecomeâ, ââbecome-user=erp_jmiâ]â returned non-zero exit status 2
erp_jmi@ubu1404-erp10-install-test:~$
.
.
It is now impossible to install ERPNext on any of the recommended linux server configurations.
I am sure I am not the only one stuck here. Less than 48hrs ago at least 2 of these server types would install and only CentOS 7 had the issue. Now none of the work,
You can see the error on Debian 8 here:
And see the error on CentOS 7 here:
And now here is the same error from Ubuntu 16.04:
TASK [Check if /tmp/.bench exists] *****************************************************************************
ok: [localhost]
TASK [Check if bench_repo_path exists] *************************************************************************
ok: [localhost]
TASK [move /tmp/.bench if it exists] ***************************************************************************
fatal: [localhost]: FAILED! => {âfailedâ: true, âmsgâ: âFailed to change ownership of the temporary files Ansibl
e needs to create despite connecting as root. Unprivileged become user would be unable to read the file.â}
to retry, use: --limit @/tmp/.bench/playbooks/production/install.retry
PLAY RECAP *****************************************************************************************************
localhost : ok=63 changed=41 unreachable=0 failed=1
Traceback (most recent call last):
File âinstall.pyâ, line 388, in
install_bench(args)
File âinstall.pyâ, line 114, in install_bench
run_playbook(âproduction/install.ymlâ, sudo=True, extra_vars=extra_vars)
File âinstall.pyâ, line 326, in run_playbook
success = subprocess.check_call(args, cwd=os.path.join(cwd, âplaybooksâ))
File â/usr/lib/python2.7/subprocess.pyâ, line 541, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command â[âansible-playbookâ, â-câ, âlocalâ, âproduction/install.ymlâ, â-eâ, â@/t
mp/extra_vars.jsonâ, ââbecomeâ, ââbecome-user=erp_jmiâ]â returned non-zero exit status 2
erp_jmi@ubu16-erp10-installtest:~$
So even when I now go through the patch to correct the install error with mysql on Ubuntu 16.04 the above error has started popping up.
At this point I am not able to install ERPNext on any linux server using the install.py script.
BKM