MrRaphTW / docker-itop

iTop Docker image
2 stars 1 forks source link

Unable to deploy new container with iTop version 2.5.0 #1

Open bigfoot90 opened 6 years ago

bigfoot90 commented 6 years ago

I'm trying to deploy a new container with iTop version 2.5.0, but got this error:

 Error: The current PHP Version (5.5.9-1ubuntu4.17) is lower than the minimum version required to run iTop, which is (5.6.0)

And this from container logs:

TASK [Download new ToolKit] ****************************************************
fatal: [localhost]: FAILED! => {"changed": false, "failed": true, "msg": "Failed to validate the SSL certificate for www.combodo.com:443. Make sure your managed systems have a valid CA certificate installed. If the website serving the url uses SNI you need python >= 2.7.9 on your managed machine or you can install the `urllib3`, `pyopenssl`, `ndg-httpsclient`, and `pyasn1` python modules to perform SNI verification in python >= 2.6. You can use validate_certs=False if you do not need to confirm the servers identity but this is unsafe and not recommended. Paths checked for this platform: /etc/ssl/certs, /etc/pki/ca-trust/extracted/pem, /etc/pki/tls/certs, /usr/share/ca-certificates/cacert.org, /etc/ansible"}
bigfoot90 commented 6 years ago

Fixed running the following commands from container

apt update
apt upgrade
add-apt-repository ppa:ondrej/php
apt-get update
apt-get install php5.6-fpm php5.6 php5.6-dev php5.6-mcrypt php5.6-mbstring php5.6-mysql php5.6-zip php5.6-gd php5.6-xml php5.6-curl  php5.6-soap
a2dismod php5
a2enmod proxy_fcgi setenvif
a2enmod php5.6
a2enconf php5.6-fpm
service apache2 restart

But on every new container instance I need to do this manually