-
Notifications
You must be signed in to change notification settings - Fork 7
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
Support for Raspberry PI #3
Comments
That's correct, there are no builds right now for ARM. Someone on reddit had expressed interest in running Doppler on RPi, but I guess I lost track of time. My main concern is stability. Often packages compiled on one architecture doesn't work well on the target architecture. It's a known issue in the build tool I am using. So I want someone to test it out first. If you're interested, just shoot me an email. I'll send you a build compiled specifically for ARM, and if you can confirm that it works without issues, I'll add that build to the official release list. |
@EnKrypt Sure, send me one to [redacted] ! Edit from Owner: Removed personal info. |
I have some disappointing news. I attempted to build for The compiler I am using is This problem is directly related to zeit/pkg#457. Looks like for now, the only way to get a build for Maybe I will get my hands on a RPi in the future for this, but until then if somebody reading this wants to go ahead and manually create a build themselves, here are the instructions : (Requirements: nodejs-lts with yarn or npm installed on a Raspberry Pi)
cd backend/dist && pkg app.js --target=linux-armv7 --out-path ../../release/ --config ../../package.json Come back to the project root folder. If everything goes well, you should have your binary in the release/ folder. |
Hey, thank you for the instructions. I will try to build on RasPi today/tomorrow, but will also check the docker option like here. The hope is still here! 😄 |
Hey, I am running Doppler on my RPi for just over a week now and it's working fine so far. However, it doesn't read CPU temperature as it is, because the
I wrote the following Dockerfile to build the Doppler executable and then copied it to the host. Running in a container also works, but some of the information isn't available in that case. The
|
Thanks a lot, @BearWithTie I think I will find a way to provide first party docker support since it is proving to be a popular setup for a good chunk of our users. It's good to know that Doppler runs fine on the RPi. I encourage you to submit that patch as a Pull Request in the meantime. Given the kind of response I'm getting, I'm thinking it might be worth it to just borrow a RPi from a friend and release a build, just so this particular issue is put to rest. Btw, I really appreciate the support. I never expected so many people to actually run what was originally just a pet project. |
I added pull request #4. I actually figured instead of adding a patch for the RPi, it would be better to directly switch to using the max temperature provided by systeminformation. Not sure if there was a reason you were using the core temperature array in the first place? |
Hey, thanks for the PR. I don't think we can switch directly to using the value in On the systems I've tested with, there is a separate onboard sensor value for showing maximum temperature, and it is often incorrect by design in order to show a conservatively higher value, or because it uses some external offset. In the case where the So I think your original intended patch was more in line with what we wanted. Since this fixes an edge case only for the RPi (as far as I can see), having a specific patch that addresses it is fine according to me. |
I see, tbh I didn't check the source, but it makes sense as you say. I reverted and added the patch. |
Hi there! I tried to run
doppler
on my raspberry pi 3b+ but got this error -cannot execute binary file: Exec format error
. It basically means that the software is meant to run on x86 platform, not on mobile like the raspberry pi.So my question would be if there are any plans on supporting Raspberry PIs? Or maybe you have already investigated this? Thanks.
The text was updated successfully, but these errors were encountered: