Ok I’ll try again. The last time I tried I had the following w error:
fatal: [localhost]: FAILED! => {"changed": false, "failed": true, "msg": "get_service_tools not implemented on target platform"}
to retry, use: --limit @develop/install.retry
Ok I’ll try again. The last time I tried I had the following w error:
fatal: [localhost]: FAILED! => {"changed": false, "failed": true, "msg": "get_service_tools not implemented on target platform"}
to retry, use: --limit @develop/install.retry
Hmm… Run this
cd /usr/local/frappe/bench-repo
git fetch --unshallow
git checkout master
and try running install again
Hi @anand,
Sadly, exact same error…
I notice there’s an issue logged on the ansible git repository that’s similar. Is it possible that this issue is linked with the version of ansible used in your script? I’m using Mac OS X 10.11.4
https://github.com/ansible/ansible/issues/10412
Regards,
cksgb
Strange. I installed it on a mac 2 days back and it worked for me after I solved this problem.
I tried this installer on a Debian 8, but apparently links to repos in playbooks are wrong.
get-pip.py 100%[=====================>] 1.45M 963KB/s in 1.5s
2016-04-12 00:15:08 (963 KB/s) - ‘get-pip.py’ saved [1522812/1522812]
Requirement already up-to-date: pip in /usr/local/lib/python2.7/dist-packages
Requirement already satisfied (use --upgrade to upgrade): ansible in /usr/local/lib/python2.7/dist-packages
Requirement already satisfied (use --upgrade to upgrade): paramiko in /usr/local/lib/python2.7/dist-packages (from ansible)
Requirement already satisfied (use --upgrade to upgrade): setuptools in /usr/lib/python2.7/dist-packages (from ansible)
Requirement already satisfied (use --upgrade to upgrade): PyYAML in /usr/local/lib/python2.7/dist-packages (from ansible)
Requirement already satisfied (use --upgrade to upgrade): pycrypto>=2.6 in /usr/local/lib/python2.7/dist-packages (from ansible)
Requirement already satisfied (use --upgrade to upgrade): jinja2 in /usr/local/lib/python2.7/dist-packages (from ansible)
Requirement already satisfied (use --upgrade to upgrade): ecdsa>=0.11 in /usr/local/lib/python2.7/dist-packages (from paramiko->ansible)
Requirement already satisfied (use --upgrade to upgrade): MarkupSafe in /usr/local/lib/python2.7/dist-packages (from jinja2->ansible)
SUDO password:
[WARNING]: provided hosts list is empty, only localhost is available
MySQL Root Password:
PLAY ***************************************************************************
TASK [setup] *******************************************************************
ok: [localhost]
PLAY ***************************************************************************
TASK [setup] *******************************************************************
ok: [localhost]
TASK [install prequisites] *****************************************************
skipping: [localhost] => (item=cmake)
skipping: [localhost] => (item=redis)
skipping: [localhost] => (item=mariadb)
skipping: [localhost] => (item=nodejs)
TASK [cask installs] ***********************************************************
skipping: [localhost] => (item=wkhtmltopdf)
TASK [include] *****************************************************************
skipping: [localhost]
TASK [include] *****************************************************************
skipping: [localhost]
PLAY ***************************************************************************
TASK [setup] *******************************************************************
ok: [localhost]
TASK [install prequisites] *****************************************************
skipping: [localhost] => (item=[])
TASK [install pillow prerequisites for Ubuntu < 14.04] *************************
skipping: [localhost] => (item=[])
TASK [install pillow prerequisites for Ubuntu > 14.04] *************************
skipping: [localhost] => (item=[])
TASK [include] *****************************************************************
skipping: [localhost]
TASK [include] *****************************************************************
skipping: [localhost]
TASK [include] *****************************************************************
skipping: [localhost]
TASK [include] *****************************************************************
skipping: [localhost]
PLAY ***************************************************************************
TASK [setup] *******************************************************************
ok: [localhost]
TASK [add epel repo] ***********************************************************
skipping: [localhost]
TASK [development tools package] ***********************************************
skipping: [localhost]
TASK [install prequisites] *****************************************************
skipping: [localhost] => (item=[])
TASK [include] *****************************************************************
skipping: [localhost]
TASK [include] *****************************************************************
skipping: [localhost]
TASK [include] *****************************************************************
skipping: [localhost]
TASK [include] *****************************************************************
skipping: [localhost]
PLAY RECAP *********************************************************************
localhost : ok=4 changed=0 unreachable=0 failed=0
Managed to install it in Ubuntu 16.04, the main problem I faced was with the following errors:
creating build/temp.linux-x86_64-2.7 creating build/temp.linux-x86_64-2.7/c x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DUSE__THREAD -I/usr/include/ffi -I/usr/include/libffi -I/usr/include/python2.7 -c c/_cffi_backend.c -o build/temp.linux-x86_64-2.7/c/_cffi_backend.o c/_cffi_backend.c:15:17: fatal error: ffi.h: No such file or directory compilation terminated. error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
----------------------------------------
Command "/usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-secOss/cffi/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-hHJKFM-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-secOss/cffi/
Fixed it by doing:
apt-get install python-cffi
Then i had problems with a ssl library:
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/python2.7 -c build/temp.linux-x86_64-2.7/_openssl.c -o build/temp.linux-x86_64-2.7/build/temp.linux-x86_64-2.7/_openssl.o build/temp.linux-x86_64-2.7/_openssl.c:423:30: fatal error: openssl/opensslv.h: No such file or directory compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
----------------------------------------
Command "/usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-TMqQsh/cryptography/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-D08y6W-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-TMqQsh/cryptography/
Fixed it by doing:
apt-get install libssl-dev
Then had problems with MariaDB. At the moment of writing this, there seems to be a problem with the public key signed on the repository of the package, so I manually installed the packages:
apt-get install mariadb-server
apt-get install mariadb-client
apt-get install libmariadbclient-dev
After that I executed the installation script and it took care of the rest of the setup.
Hope it helps!
Hi, thanks for taking the time to find the fixes and let us know! We have made the made changes to the installer to fix these issues.