-
-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[DEPRECATED] Comunity.docker #45
Comments
Hi, I’ve had this same issue today when trying to install the gateway. Unsure if this is something that can be solved with configuration or a different version of something? Could anyone help confirm or if it needs changes elsewhere? thanks! |
Hi all |
Same error here. |
The better solution would be to upgrade the project to use docker_compose_v2 from the community.docker collection. That said, for now, I managed to get it working by pinning the community.docker collection at an earlier version in requirements.yaml: ---
collections:
- ansible.posix
- name: community.docker
version: "==3.13.4"
- community.general
|
Even with the branch docker-compose-v2 instruction I'm getting the same error regarding docker compose v1. Ansible version is ansible [core 2.18.1] Any help? |
Hi @ruifilipefsilva, I hope to deal with it EOD. But you could try docker-compose-v2 branch. there is updated README section about installation ansible from pip. As of now, you have to run ./webinstall with sudo for installation of docker and docker compose and one more time without sudo when it fails to build Open-VPN Server :) I'll try to fix it today and port everything to main branch, so it will work with docker-compose-v2 on all the RPI boards with the latest Raspbian installed. Cheers. |
With the latest commit, it should works without the issue. philipp@d3vpi:~/raspberry-gateway $ git switch docker-compose-v2
M templates/samba_server-docker-compose.yml.j2
M webinstall.log
Already on 'docker-compose-v2'
Your branch is up to date with 'origin/docker-compose-v2'.
philipp@d3vpi:~/raspberry-gateway $ ./webinstall
2025/01/13 21:13:11 Welcome! The web interface will guide you on installation process.
Installation logs: webinstall.log
2025/01/13 21:13:11 Starting web server on http://192.168.88.66:8088
RUNNING HANDLER [Restart Samba] ************************************************
changed: [raspberry_gateway]
PLAY RECAP *********************************************************************
raspberry_gateway : ok=49 changed=16 unreachable=0 failed=0 skipped=84 rescued=0 ignored=0 On RPI4 with following versions: philipp@d3vpi:~/raspberry-gateway $ uname -a
Linux d3vpi 6.6.62+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.6.62-1+rpt1 (2024-11-25) aarch64 GNU/Linux
philipp@d3vpi:~/raspberry-gateway $ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 12 (bookworm)
Release: 12
Codename: bookworm
philipp@d3vpi:~/raspberry-gateway $ cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
philipp@d3vpi:~/raspberry-gateway $ cat /etc/rpi-issue
Raspberry Pi reference 2024-03-15
Generated using pi-gen, https://github.com/RPi-Distro/pi-gen, f19ee211ddafcae300827f953d143de92a5c6624, stage2
philipp@d3vpi:~ $ ansible-doc -t module -l | grep docker_compose_v2
community.docker.docker_compose_v2 Manage multi-container Docker applications with ...
community.docker.docker_compose_v2_exec Run command in a conta...
community.docker.docker_compose_v2_pull Pull...
community.docker.docker_compose_v2_run Run command in a new conta...
philipp@d3vpi:~ $
philipp@d3vpi:~ $ ansible-galaxy collection list | grep community.docker
community.docker 4.3.0
community.docker 4.1.0
philipp@d3vpi:~ $ ansible --version
ansible [core 2.18.1]
config file = None
configured module search path = ['/home/philipp/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
ansible python module location = /usr/local/lib/python3.11/dist-packages/ansible
ansible collection location = /home/philipp/.ansible/collections:/usr/share/ansible/collections
executable location = /home/philipp/.local/bin/ansible
python version = 3.11.2 (main, Nov 30 2024, 21:22:50) [GCC 12.2.0] (/usr/bin/python3)
jinja version = 3.1.5
libyaml = True
philipp@d3vpi:~ $ |
Hi friends.
I have tried to install the gateway on a raspberry pi 5, everything is correct until the ansible-playbook main.yml is executed, at which point it gives this error and I don't know how to solve it.
[DEPRECATED]: comunity.docker.docker_compose has been removed. This module uses docker-compose v1, wich is End of Life since July 2022. Please migrate to community.docker.docker_compose_v2. This feature was removed from comumunity.docker in version 4.0.0. Please update your playbooks
Can you help me if you are so kind?
thank you so much.
The text was updated successfully, but these errors were encountered: