Skip to content
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 servers support #77

Open
lironsher opened this issue Oct 5, 2024 · 6 comments
Open

arm servers support #77

lironsher opened this issue Oct 5, 2024 · 6 comments
Assignees

Comments

@lironsher
Copy link

i'm try to install on ubuntu 22.04 on OCI arm cpu. but it fails to tun docker compose with the error:

*********************
** Starting Redash **
*********************
** Initialising Redash database **
[+] Creating 2/0
 ✔ Container redash-redis-1     Running                                                                                                 0.0s 
 ✔ Container redash-postgres-1  Running                                                                                                 0.0s 
exec /app/bin/docker-entrypoint: exec format error

I've tested the on ubuntu 22.04 on OCI AMD cpu and i do get the url for the website

can someone advise?

@lironsher
Copy link
Author

Soultion

Install QEMU: QEMU allows you to emulate one CPU architecture on another, such as x86 on ARM.

Install the necessary packages to support QEMU emulation in Docker:

$ sudo apt-get install qemu qemu-user-static

install the support:

$ docker run --rm --privileged tonistiigi/binfmt --install all

@justinclift
Copy link
Member

justinclift commented Oct 6, 2024

As a data point, we (in theory) support ARM64. Well, we went through the process of getting it working for developers using Apple Silicon mac's somewhat recently.

I'm not if sure the "ARM" you're talking about is ARM64 or not though. ?

@lironsher
Copy link
Author

OCI running Ampere ARM CPU - https://amperecomputing.com/

I've managed to install it after adding the QEMU support,

But when I try to access to website on port 5000 - it's hangs

meanwhile i'm running on AMD and it's working OK. (SAME OS)

@lironsher lironsher reopened this Oct 6, 2024
@lucydodo lucydodo self-assigned this Oct 7, 2024
@lucydodo
Copy link
Member

lucydodo commented Oct 7, 2024

Yes, we do support ARM64 architecture, but currently only in 'preview' tags.
When running the installation script, you will need to provide the --preview additional command arguments.
@lironsher Can you run it using an ARM64 build rather than QEMU emulation and let me know?

@lironsher
Copy link
Author

Where should I add the tags?

@lucydodo
Copy link
Member

Here are the installation instructions for each method:

  1. Docker: docker pull redash/preview
  2. Our Setup Script: ./setup.sh --preview

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants
@justinclift @lironsher @lucydodo and others