Comments (11)
I just test the new playbook (v1.2.0) on a fresh install on a raspberry pi4 with ubuntu 22.04 64 bit and no more issue with docker, thanks !
from lemmy-ansible.
I try to install ansible-galaxy collection install community.docker
but nothing change
from lemmy-ansible.
I've never tested this playbook on arm, so you might have to install docker manually on that machine, then skip the docker install steps in the playbook.
from lemmy-ansible.
Thanks for your return. Indeed, the playbook only work for x86_64:
- name: Install or upgrade docker-compose
get_url:
url : "https://github.com/docker/compose/releases/download/1.25.5/docker-compose-Linux-x86_64"
As raspberry pi is officialy supported in the documentation (Supports arm64 / Raspberry Pi
), would you accept a pull request to modify this playbook according to official docker documentation?
Thanks
from lemmy-ansible.
I think this Pull Request should also solve this issue : #62
from lemmy-ansible.
Sure.
#62 didn't work when I used a fresh ubuntu install, and no docker installation recommends you use the docker from the ubuntu repos.
from lemmy-ansible.
I am also seeing this same issue on a new Ubuntu 22.04 server that is not arm64, just regular x86_64.
from lemmy-ansible.
Hrm... I'm wondering if the script successfully installed docker on that machine. What does sudo docker info
say there?
from lemmy-ansible.
Can't check right now, but Docker was installed and docker-compose was correctly located in /usr/local/bin.
All I had to do was run pip install docker-compose
manually as Ansible suggested to get this working. Not sure why the compose install didn't work since it was downloaded?
from lemmy-ansible.
My best guess is that it couldn't complete, because you already had docker installed, through your system repos, and not via the official docker install method.
from lemmy-ansible.
Probably not, Hetzner Cloud images don't come with Docker installed. I think your process for installing docker-compose
is outdated, what it looks like is Ansible is expecting to use docker-compose 2.x on lemmy.yml#L167 (which gets installed to /usr/libexec/docker/cli-plugins/
) and you're installing the old 1.x version to /usr/local/bin
instead.
# docker info
Client: Docker Engine - Community
Version: 24.0.2
Context: default
Debug Mode: false
Plugins:
buildx: Docker Buildx (Docker Inc.)
Version: v0.10.5
Path: /usr/libexec/docker/cli-plugins/docker-buildx
compose: Docker Compose (Docker Inc.)
Version: v2.18.1
Path: /usr/libexec/docker/cli-plugins/docker-compose
Server:
Containers: 5
Running: 5
Paused: 0
Stopped: 0
Images: 5
Server Version: 24.0.2
Storage Driver: overlay2
Backing Filesystem: extfs
Supports d_type: true
Using metacopy: false
Native Overlay Diff: true
userxattr: false
Logging Driver: json-file
Cgroup Driver: systemd
Cgroup Version: 2
Plugins:
Volume: local
Network: bridge host ipvlan macvlan null overlay
Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
Swarm: inactive
Runtimes: io.containerd.runc.v2 runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 3dce8eb055cbb6872793272b4f20ed16117344f8
runc version: v1.1.7-0-g860f061
init version: de40ad0
Security Options:
apparmor
seccomp
Profile: builtin
cgroupns
Kernel Version: 5.15.0-71-generic
Operating System: Ubuntu 22.04.2 LTS
OSType: linux
Architecture: x86_64
CPUs: 2
Total Memory: 1.883GiB
Name: lemmy
ID: 7237f867-6d81-4a64-b219-e828d36a5018
Docker Root Dir: /var/lib/docker
Debug Mode: false
Experimental: false
Insecure Registries:
127.0.0.0/8
Live Restore Enabled: false
from lemmy-ansible.
Related Issues (20)
- Upcoming 1.3.0 Release (Lemmy v0.19) HOT 8
- Update to 0.19.0 failed HOT 1
- pictrs v0.5 configuration migration
- Recommended/default config should include pg_stat_statements and auto_explain HOT 2
- Unable to get postfix/smtp to use a different smtp authentication user then `noreply@{{ domain }}` HOT 1
- Add tag for Lemmy 0.19.2 HOT 9
- Issues upgrading from 0.18.3 to 0.18.5 - Failed to lock apt for exclusive operation HOT 4
- Error connecting to postgres after fresh install (ubuntu, raspberry pi4) HOT 4
- lemmy.yml giving syntax error (I think) when trying to run HOT 2
- [Bug]: Getting nginx 502 bad gateway error when deploying lemmy with ansible HOT 3
- aptitude install? HOT 2
- Lemmy-ui ports configuration when setting up with docker and reverse proxy is a bit confusing. HOT 1
- no indication to where the vars.yml file is HOT 1
- When you try to create a post with bad word that's in bad words filter regex, request returns 400 and website freezes
- On next release, include upgrade instructions for postgres 15 -> 16 HOT 3
- Alma linux 9 DO droplet doesn't run through HOT 6
- not currently on a branch HOT 2
- Postgres docker container refusing connection HOT 6
- Problem with docker-compose step HOT 3
- Dependency Dashboard
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lemmy-ansible.