-
Notifications
You must be signed in to change notification settings - Fork 169
feat(arm64): Add support for arm64. #37
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
Comments
Hi, @RedstoneWizard08! |
Yay! |
Btw I have tried to use binfmt and qemu and emulation with several different methods, and they always end in errors, glitches, or general slowness. What I was talking about for this was more of a native solution that does not have to use emulation. |
That's more of a temporary solution than an actual fix (which we're interested in pursuing) - native ARM support is much better |
Ok, good. |
This did not work for me. It still said something along the lines of "/Linux/ARM64/v8 not found in the manifest list entries" |
Yeah. Binfmt/qemu is a temporary solution. Those arm64 images will be made available when arm64 binary builds are. |
Is there any way for me to selfhost Revolt on an ARM64-based system like a Raspberry Pi in the meantime through emulation or something similar? The command that VevooltPro provided did not fix the issue. |
I tried hosting it on my Raspberry Pi 3.
did my step 2 screw everything up or did an update make this impossible again? |
Edited OP, this should only affect the web client now. Backend has arm64 support across all services. |
Hi, I'm facing the same problem here. By the "the web client" you mean "web" and "caddy"? I'm still getting the Thx for contributing and answering 🫰🏻 |
I just tried this on a Raspberry Pi 4, I needed to run emulation for the web container ( For the version 7.0.14 of mongodb that is provided by themattman I changed the healthcheck to go to mongo rather than mongosh Oops, just noticed that I could have pinned and tried mongodb 4.4 as mentioned in the self-hosted readme |
Here's my experience trying to run this on an ARM64 instance (I'm using Oracle Cloud's Always Free instances): Followed all the steps as shown in the README.md, but a few more changes to the compose.yml were necessary. I looked up all the docker images whether in docker hub or the revoltchat github (just copy the path in the I also commented out the services Also found out I would need to build the desktop client for my specific instance (https://github.com/orgs/revoltchat/discussions/846), which I don't know if I'll get to. Hope this helps some people getting here from search engines, as well as those looking for Discord alternatives after the CEO news. TL;DR: I did not get this working on an ARM64 host, but hope the info here leads some people to success. I also hope some official support is achieved. |
@jktam crond according to the readme at https://github.com/revoltchat/backend is for cleaning up unused files, not required. But it is close to being available as an ARM64 container. I think I can just nudge it over the line in revoltchat/backend#413 But if anyone needs the arm64 crond executable its available in I did also learn that the binfmt stuff mentioned earlier doesn't stay after a reboot, so I might look into just building the web container locally and seeing where that gets me. |
I poked at Github Actions and Docker just enough to repackage the web container for arm64: https://github.com/Docteh/revolt-revite-arm64 I named the repo revolt-revite-arm64, but its a slimmer docker image available for both arm64 and amd64 |
Uh oh!
There was an error while loading. Please reload this page.
This is the issue for a PR I made (#35). There are more details there.
Maintainer edit: this only affects the web client now.
The text was updated successfully, but these errors were encountered: