-
Notifications
You must be signed in to change notification settings - Fork 77
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
(Bug report) No docker images available for ARM machines, despite the documentation advertising their availability. #302
Comments
@fvbommel , you are right. I'll check what the original workflow did and address it ASAP. |
Currently there's a lot of issues with building |
According to this comment, the issue is triggered by running I see this project's Dockerfile is indeed using |
@fvbommel , I believe @perfectra1n already tried this approach and he ran into a new obscure problem when trying to run it. I think related to https://issues.chromium.org/issues/42201927 (most likely due to our transition from CJS to ESM). |
Commenting to say I'm available to test on ARM64v8 |
Yeah I tried exactly the process you suggested @fvbommel and ran into quite a few strange errors, such as:
I split the container into the "build step" using Node v18, and then changed to use the "run step" at Node v20, copying over the node modules, etc., and the above error popped up every time. So the next best option that I found was to instead use node's slim Debian container instead, so that we could at least get ARM builds out the door. We will have to drop ARMv6 compatibility, but instead we can then add ARM64v8 builds. I know that Debian's slim containers are larger than Alpine's, but at least we can then have ARMv7 / ARM64v8. |
So this change will work for @fvbommel since they're using the Pi4 Model B, which uses Edit: Meant to say ARMv8, typo |
I think that's a typo? The Pi4B uses ARMv8. (The Pi2B uses ARMv7 according to Wikipedia) So yes, for me personally this change should work since linux/arm64/v8 is what my Docker was looking for.
Then the docs should probably be updated to reflect that. |
Looking forward to a release for this fix. Would anyone be willing to offer some steps to run prior to release via compose? |
@Aareon , you could have a look at the I don't have any ARM-based machines on my side so a test on this image would be much appreciated. |
This image works on my Raspberry Pi 5. |
The released version works, thanks. 👍 |
@fvbommel , thank you for being so reactive! |
TriliumNext Version
v0.90.3
What operating system are you using?
Ubuntu
What is your setup?
Server access only
Operating System Version
Ubuntu 24.04: Linux pi4b 6.8.0-1008-raspi #8-Ubuntu SMP PREEMPT_DYNAMIC Tue Jul 16 19:17:49 UTC 2024 aarch64 aarch64 aarch64 GNU/Linux
Description
According to the Docker Server Installation for Trilium instructions:
(emphasis added)
Unfortunately, this does not seem to be correct: I tried to install the docker image on my Raspberry Pi 4B, but got
Clicking on the Docker Hub link above, I found only linux/amd64 images.
Looking for the GitHub workflows, I found a docker.yaml in the
workflows_old
folder that should work with minor modifications to also push non-amd64 versions of the containers. Presumably this workflow is whatzadam/trilium
used to push the image I'm trying to upgrade from?Error logs
$ cat docker-compose.yaml
$ docker compose pull
[+] Pulling 0/1
⠇ trilium Pulling 1.9s
no matching manifest for linux/arm64/v8 in the manifest list entries
The text was updated successfully, but these errors were encountered: