nextcloud_on_docker
nextcloud_on_docker copied to clipboard
Playbook fails to complete. Fails on create traefik network
Awesome project!
I got this while running it.
TASK [docker_container : Create traefik network] ****************************************************************************************************************************************************************************************************************************** Wednesday 11 November 2020 23:17:21 -0500 (0:00:00.058) 0:00:23.674 **** fatal: [localhost]: FAILED! => changed=false msg: Failed to import docker or docker-py - No module named ssl_match_hostname. Try
pip install dockeror
pip install docker-py (Python 2.6)
I installed both modules with no luck on moving forward.
Hi, may I ask what Linux distro you are using? As far as I remember this error is about the python version used.
Hmmmm I'm assuming it's looking for python2.6? I'm running debian10. I have 2.6 and 3.1 installed.
If you run Debian 10 the package python3-docker should be installed.
https://github.com/ReinerNippes/nextcloud_on_docker/blob/a0c91eff87c44c5598156ff22ed6e1d35e10685f/roles/prep_docker/tasks/Debian.yml#L39
Anyhow python 2.6 and 3.1 are rather old. I think Python 3.6 or 3.7 is included in Debian 10.