How can I run a Lemmy instance on a rPi 4? I've tried several methods and both fail because docker didn't support arm v7 or v8
It's been a rough day. First I tried the lemmy-easy-deploy script because, hey, I'm lazy. That failed, so I then tried the ansible playbook and had some success with it. At first, Let's Encrypt was not working, and I had to sort out my dynamic dns provider.
Once that was sorted the playbook was running well, encryption was working properly, then I got an error that the docker didn't support arm v7 architecture. I then updated to Bullseye, Raspbian 11 and got a similar error that docker didn't support arm v8 architecture.
So what os do I need to be running on this pi to install an instance on it?
That was a problem that I had at one point and then I then reflashed the 64-bit Raspnberry Pi OS (no longer called raspnbian which I didn't know). When I run uname -a I get aarch64...
The specific error I'm getting is this:
FAILED! => {"changed": false, "errors": [], "module_stderr": "", "module_stdout": "0.18.2: Pulling from dessalines/lemmy\n", "msg": "Error: pull failed with no matching manifest for linux/arm64/v8 in the manifest list entries"}
The documentation is kind of a dog's breakfast but you could try building it from source. Note that this is not easy and will require a lot of time and patience. I managed to do it on FreeBSD but never could get it working properly. Lemmy would federate but pictures wouldn't work and I eventually gave up.