It took a couple of years for Raspberry Pi Foundation to release the correct software architecture because they were still developing for 32-bit hardware. Please change your image the current arm64 release. Good news is it will allow you to use all 8gb of ram if that is your device.
Hmm, well that’s a 64 bit (aarch64) kernel, and yet you had a docker message complaining about armv8. I don’t know this territory or the full story of how you got here… a common advice is to take a safe backup and restore into a fresh OS and fresh discourse installation.
I hope it’s not the case that a successful installation will inevitably have trouble when it comes time to upgrade.
lol, I have done that many times over and am prepared to do it again.
Currently, I’m on a Raspberry Pi 400 Rev 1.0 running Bullseye 64 lite.
I have tried Bullseye 64, 64 lite, 32 lite; and Bookworm 64. If I remember correctly, I get the same error that I posted in each case.
After looking into it a little, a friend suggested reflashing to Bullseye 64 lite and that should fixt the problem. But it didn’t.
Side note, when I run the docker sudo docker run hello-world it produces the expected “Docker is working” message.
Can’t get it going on a Raspberry Pi 4 with 8GB ram, and a SSD attached via USB as the single drive. It keeps hanging on the following (or at least, I get impatient after an hour of waiting…)
I, [2024-02-06T00:58:51.743994 #1] INFO -- : > cd /var/www/discourse && su discourse -c 'yarn install --frozen-lockfile && yarn cache clean'
warning "@discourse/lint-configs > eslint-plugin-ember > ember-eslint-parser@0.2.5" has unmet peer dependency "@typescript-eslint/parser@^6.15.0".
warning "@discourse/lint-configs > eslint-plugin-ember > ember-eslint-parser@0.2.5" has incorrect peer dependency "typescript@^5.3.3".
warning " > @glint/environment-ember-loose@1.3.0" has unmet peer dependency "@glimmer/component@^1.1.2".
2024-02-06 01:15:58.966 UTC [64] WARNING: worker took too long to start; canceled
2024-02-06 01:16:19.640 UTC [480] WARNING: autovacuum worker started without a worker entry
2024-02-06 01:21:46.504 UTC [64] WARNING: worker took too long to start; canceled
2024-02-06 01:22:18.863 UTC [481] WARNING: autovacuum worker started without a worker entry
Would be nice of compilation included a progress bar.
What is the best way to:
find out what it is doing?
shut it down safely to try again? I tried sudo shutdown --reboot 0 previously, however that nuked the postgres database and I had to do the machine again.
You can search the messages you are getting against the forum and internet. Also, try moving this to a new post instead of as a reply to the announcement.
That step is not a compilation step, but it’s just downloading JS files. It’s an absurd amount of small files, so I’d guess it’s a pathological bad case for the unusual storage solution you are using?
Okay, I’ll leave it running for a few days then. Otherwise I guess instead of a rpi4 with ssd it’ll need to be a rpi5 with ssd.
UPDATE:
Hours later and more reading later, I decided that I’ll try change the lxd container from using a btrfs storage pool, to using a zfs storage pool. Once done, it was able to progress past that point in about 5 minutes (whereas with btrfs it would hang for an hour or so before the workers would start failing).
It’s still building, however once it has finished and I’ve been able to successfully import the backup and get cloudflare SSL sorted, I’ll publish my migration from discourse docker running inside a scaleway, to discourse docker running inside a lxd container inside a raspberry pi 4 + ssd.