openwisp / docker-openwisp

OpenWISP in docker (in-alpha). For production checkout ansible-openwisp2.
BSD 3-Clause "New" or "Revised" License
146 stars 73 forks source link

[bug] Auto install fail #299

Open abplayzGH opened 1 month ago

abplayzGH commented 1 month ago

I tried to install on a Ubuntu 22.04 fresh install with the auto-install I got this error:

Traceback (most recent call last): File "/usr/local/bin/docker-compose", line 8, in <module> sys.exit(main()) File "/usr/local/lib/python3.10/dist-packages/compose/cli/main.py", line 81, in main command_func() File "/usr/local/lib/python3.10/dist-packages/compose/cli/main.py", line 200, in perform_command project = project_from_options('.', options) File "/usr/local/lib/python3.10/dist-packages/compose/cli/command.py", line 60, in project_from_options return get_project( File "/usr/local/lib/python3.10/dist-packages/compose/cli/command.py", line 152, in get_project client = get_client( File "/usr/local/lib/python3.10/dist-packages/compose/cli/docker_client.py", line 41, in get_client client = docker_client( File "/usr/local/lib/python3.10/dist-packages/compose/cli/docker_client.py", line 124, in docker_client kwargs = kwargs_from_env(environment=environment, ssl_version=tls_version) TypeError: kwargs_from_env() got an unexpected keyword argument 'ssl_version' make: *** [Makefile:79: start] Error 1 make: Leaving directory '/opt/openwisp/docker-openwisp'

Also, how should I install OpenWisp? I tried the auto install, ansible, make file, and docker-compose and got none of them to work.

nemesifier commented 1 month ago

@abplayzGH At the moment I recommend deploying with ansible-openwisp2 on Debian 11. Please use the other support channels like general chat or mailing list if you have other questions that are not relevant to bug reports.

nemesifier commented 1 month ago

I haven't used this script much latelly, I think we need to add some automated tests for it or we'll never know whenever it breaks for some reason.

sango74 commented 1 month ago

Good morning Same error for me on a newly installed Debian 11.9

Starting Services...
Traceback (most recent call last):
File "/usr/local/bin/docker-compose", line 8, in <module>
sys.exit(main())
File "/usr/local/lib/python3.9/dist-packages/compose/cli/[main.py](http://main.py/)", line 81, in main
command_func()
File "/usr/local/lib/python3.9/dist-packages/compose/cli/[main.py](http://main.py/)", line 200, in perform_command
project = project_from_options('.', options)
File "/usr/local/lib/python3.9/dist-packages/compose/cli/[command.py](http://command.py/)", line 60, in project_from_options
return get_project(
File "/usr/local/lib/python3.9/dist-packages/compose/cli/[command.py](http://command.py/)", line 152, in get_project
client = get_client(

… escamotage de 1 ligne
client = docker_client(
File "/usr/local/lib/python3.9/dist-packages/compose/cli/docker_[client.py](http://client.py/)", line 124, in docker_client
kwargs = kwargs_from_env(environment=environment, ssl_version=tls_version)
TypeError: kwargs_from_env() got an unexpected keyword argument 'ssl_version'
make: *** [Makefile:79 : start] Erreur 1
make : on quitte le répertoire « /opt/openwisp/docker-openwisp »

Thank

MrCoolLV commented 5 days ago

getting the same error