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
Caddy not running on RPi B+ #748
Comments
The error message is caused by the provided binary issuing instructions not known to your CPU. Could you please share the outputs of these commands with us here? I assume you are running GNU/Linux: uname -srpio
lscpu
cat /proc/cpuinfo
# please remove any but the last cpu/processor blocks … and as you are using Arch Linux: sed -n '/^Architecture/p' /etc/pacman.conf |
Is your Raspberry Pi ARM v6? You probably downloaded it with a different ARM version. The download link looks like this:
You need to add the ARM version:
Right now we just build for ARM v7 by default; I could probably have that clarified on the download page. |
Yep, just checked; Raspberry Pi 2 and Pi 3 run the default version, while Pi 1 (A/A+/B/B+) and Pi Zero need the ARM v6 build. |
Cool. That'll do it, and I'll update the download page soon to show the ARM version. |
@mholt could you please add a compiled armV8 version for raspberry pi 3 users? Thank you. |
The website and build server will be updated for the 0.9 release which is probably when I'll get around to doing that. In the meantime you can add |
i tried |
Does |
no not for me. i think these versions are just not precompiled yet |
Oh, duh, that's what I get for responding to an issue before my brain's awake. Use |
ah thanks a lot :) |
Erm, so why does this all of the sudden work since my comment from one hour ago? |
@wmark i had to change the |
I see, I've had the right value but the wrong key. Thanks! |
I'm not following 100%, what is the exact build/download url that's working for folks for Raspberry pi? |
Hello @gregbenner, this should work: https://caddyserver.com/download/build?os=linux&arch=arm&features=&arm=6 |
Older Raspberry Pis have ARMv6, newer ones have ARMv7, be aware of which yours is. |
Thanks @elcore works for me on a new Raspberry Pi Zero W / Raspian |
If you are filing a bug report, please answer these questions. If your issue is not a bug report, you do not need to use this template. Either way, please consider donating if we've helped you. Thanks!
1. What version of Caddy are you running (
caddy -version
)?0.8.2 (from the AUR)
2. What are you trying to do?
Start caddy
3. What is your entire Caddyfile?
nonexistent
4. How did you run Caddy (give the full command and describe the execution environment)?
caddy
On a Raspberry Pi B+, running Arch Linux ARM
5. What did you expect to see?
Some messages indicating that the program is running
6. What did you see instead (give full error messages and/or log)?
Illegal instruction
The text was updated successfully, but these errors were encountered: