Hello all
I’m trying to install frappe by commend sudo python install.py --production
on a fresh server but got this error.
when “Add apt key for node repo”
TASK [Add apt key for node repo] ***********************************************
fatal: [localhost]: FAILED! => {"changed": false, "failed": true, "msg": "Unsupported proxy scheme: https. Currently ansible only supports HTTP proxies."}
Full Error log.
PLAY [localhost] ***************************************************************
TASK [setup] *******************************************************************
ok: [localhost]
TASK [install prequisites] *****************************************************
ok: [localhost] => (item=[u'build-essential', u'redis-server', u'software-properties-common', u'libxrender1', u'libxext6', u'xfonts-75dpi', u'xfonts-base', u'libjpeg8-dev', u'zlib1g-dev', u'libfreetype6-dev', u'liblcms2-dev', u'libwebp-dev', u'python-tk', u'apt-transport-https', u'libsasl2-dev', u'libldap2-dev'])
TASK [install pillow prerequisites for Ubuntu < 14.04] *************************
skipping: [localhost] => (item=[])
TASK [install pillow prerequisites for Ubuntu >= 14.04] ************************
ok: [localhost] => (item=[u'libtiff5-dev', u'tcl8.6-dev', u'tk8.6-dev'])
TASK [Add apt key for node repo] ***********************************************
fatal: [localhost]: FAILED! => {"changed": false, "failed": true, "msg": "Unsupported proxy scheme: https. Currently ansible only supports HTTP proxies."}
NO MORE HOSTS LEFT *************************************************************
to retry, use: --limit @production/install.retry
PLAY RECAP *********************************************************************
localhost : ok=6 changed=0 unreachable=0 failed=1
Traceback (most recent call last):
File "install.py", line 351, in <module>
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 541, 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