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
ARM support? #272
Comments
It's already using the latest released version. You can always upgrade to whatever pre-release version yourself by updating the package.json. |
Alright. Any advice on properly passing the envvars to prisma? |
You'll have to ask the prisma devs. I don't know enough about it. |
Got it. Already in contact with them :) Thanks anyway! |
I figured it out. Yay :D |
@Chaphasilor Would you be able to explain how you did it in this issue? It would be nice to have as a reference if anyone else is looking to do the same. If there's enough demand, we could also look at shipping ARM docker images. |
@hugomd sure thing! |
Okay for anyone who wants to try this as well:
I hope this helps anyone in my position :) |
@Chaphasilor Hi, thanks for your writeup, however i can' tfind the builds for ARM64 on your gitlab link. I also tried to build with cargo build --release but it throw an error after a while. Would you know where to find builds ? Thanks a lot. |
@Write hey, so I didn't actually use the prebuilt's I linked (found them only afterwards) but built the source myself. Maybe you could share the error you're getting and we'll fix it that way? |
Here is the error after Thanks for the help |
@Write I haven't encoundered that error, and it seems to be a recent change. Try reverting to an older version of the repo, should work just fine! |
@Chaphasilor I didn't realised AARCH64 actually meant ARM64, I successfully downloaded introspection-engine, migration-engine and query-engine builds from gitlab, but it still miss fmt binary ? |
@Write I'm not even sure you need that one... But as I ssid, revert to an older commit (from around the time I posted my guide) and try again. |
Yeah i'll try multiple things and report back here, thanks for the help should be enough now ;) |
@Chaphasilor So the first 3 steps where enough, i didn't have issue with open-ssl. I effectively took prisma source from ~20 days ago |
nice, seems like they finally fixed this
I'm guessing you mean the prisma-engine source, not the prisma source? The prisma source is already included with umami and was causing the problems with open-ssl :) Anyway, glad that it worked out for you! :D |
Yes prisma engine from your link sorry ! 😬 |
Hi! |
hey @Iqwertz, I'm sorry but I haven't updated umami on my Pi in a while, so I can't give you a recent/supported version... However, afaik Prisma has made improvements when it comes to ARM support (especially due to the release of the M1 Macs), so maybe you don't even have to compile anything? Have you tried installing umami on your Pi? |
To be honest I have no idea what the problem is. I believe the errors in the screenshot you shared are not a problem, they seem to be warnings and no break anything. Have you followed the guide completely? And which version of the prisma-engine source code are you using? From the previous replies it looks like newer versions might already support open-ssl, so it could be that your sources are not correct... |
Okay I fixed the error apparently you have to uninstall mocha with the command " sudo npm uninstall @types/mocha. `Database type detected: postgresql
Environment variables loaded from ./prisma/.env USAGE: For more information try --help npm ERR! A complete log of this run can be found in: npm ERR! A complete log of this run can be found in: npm ERR! A complete log of this run can be found in: |
Hmm, iirc I really have no idea how to fix this, sorry :// |
Okay! Thanks for youre help anyways! I will continue to dig threw the errors.... |
Hi, I'm trying to achieve the same thing on a Rpi 3 b+. I found a guy trying to make prisma builds here: https://github.com/ImBIOS/prisma-armv7-builds He raised an issue here: prisma/prisma-engines#3881 I hope we will achieve to find a solution. Thanks |
Hello, I thought there would be no Umami Support for Linux ARM (Raspberry Pi), but surprisingly I found an image
By default it would not pull the arm image but the amd one, maybe we can fix that. Anyways here is the Link where I found it: https://github.com/umami-software/umami/pkgs/container/umami |
I'm trying to run umami on a Raspberry Pi 4 (arm64, running in 32-bit mode).
The problem is that prisma doesn't provide precompiled arm binaries, which causes a fatal 404 error when prisma tries to download the binaries during umami build.
I've now compiled the needed binaries myself, however I can't get prisma to use them. I'm thinking that the necessary fix for that (prisma/prisma#1329) is not yet included in the prisma version used in umami.
I've tried manually upgrading prisma to the latest version, but now I get errors about a missing
prismal.yml
file.So my question is, could the prisma dependency be updated to a more recent version, i.e. one that will detect the environment variables and skip the binary download?
The text was updated successfully, but these errors were encountered: