Try ERPNext Buy Support Partners Foundation

ERPNext installation error debian 9 using easy script

fatal: [localhost]: FAILED! => {
“changed”: false,
“cmd”: [
“/usr/local/bin/pip3”,
“install”,
“pyOpenSSL==16.2.0”
],
“invocation”: {
“module_args”: {
“chdir”: null,
“editable”: false,
“executable”: null,
“extra_args”: null,
“name”: [
“pyOpenSSL”
],
“requirements”: null,
“state”: “present”,
“umask”: null,
“use_mirrors”: true,
“version”: “16.2.0”,
“virtualenv”: null,
“virtualenv_command”: “virtualenv”,
“virtualenv_python”: null,
“virtualenv_site_packages”: false
}
},
“msg”: “\n:stderr: WARNING: Retrying (Retry(total=4, connect=None, read=None , redirect=None, status=None)) after connection broken by ‘NewConnectionError(’< pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7fd0610b8710> : Failed to establish a new connection: [Errno -3] Temporary failure in name res olution’,)’: /simple/pyopenssl/\nWARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘NewConnecti onError(’<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7fd 05e26a5f8>: Failed to establish a new connection: [Errno -3] Temporary failure i n name resolution’,)’: /simple/pyopenssl/\nWARNING: Retrying (Retry(total=2, con nect=None, read=None, redirect=None, status=None)) after connection broken by ‘N ewConnectionError(’<pip._vendor.urllib3.connection.VerifiedHTTPSConnection objec t at 0x7fd05e26a908>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution’,)’: /simple/pyopenssl/\nWARNING: Retrying (Retry(to tal=1, connect=None, read=None, redirect=None, status=None)) after connection br oken by ‘NewConnectionError(’<pip._vendor.urllib3.connection.VerifiedHTTPSConnec tion object at 0x7fd05e26a780>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution’,)’: /simple/pyopenssl/\nWARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after con nection broken by ‘NewConnectionError(’<pip._vendor.urllib3.connection.VerifiedH TTPSConnection object at 0x7fd05e26a198>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution’,)’: /simple/pyopenssl/\nERROR: Could not find a version that satisfies the requirement pyOpenSSL==16.2.0 (from versions: none)\nERROR: No matching distribution found for pyOpenSSL==16.2.0\n”
}

PLAY RECAP *********************************************************************
localhost : ok=4 changed=1 unreachable=0 failed=1 s kipped=0 rescued=0 ignored=0

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

this seems like a network error @Sanath_Udayawansa2

I experienced the above shown error and I have no clue why it happens, it shouldn’t
however, it has been solved after pointing to OpenDNS instead of Google.
nano /etc/resolvconf/resolv.conf.d/base and change nameserver values
from,

nameserver 8.8.8.8
nameserver 8.8.4.4

to,

nameserver 208.67.222.222
nameserver 208.67.220.220

restart network and run the install script again.

this file is empty

I use contabo vps

check out resolv.conf file somewhere
sorry not sure about contabo but Debian image is the same anyway.

Add nameserver values if the file already there not created by you.

Hassan_Youssef

Thank you for fixing this error

sudo apt install dirmngr -y