8000 Support for ARM platform · Issue #465 · appwrite/appwrite · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Support for ARM platform #465

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

Closed
AlimFreight opened this issue Jul 2, 2020 · 18 comments · Fixed by #726
Closed

Support for ARM platform #465

AlimFreight opened this issue Jul 2, 2020 · 18 comments · Fixed by #726
Assignees
Labels
enhancement New feature or request hacktoberfest Issues that can win you some cool swags! help wanted Extra attention is needed

Comments

@AlimFreight
Copy link

Hi there,
I was wondering is there any possibility to install AppWrite on arm platform? I tried to find that info but I only can find that it's support x86/64 only.

@eldadfux
Copy link
Member
eldadfux commented Jul 3, 2020

Hey @AlimFreight, currently almost all the containers in the Appwrite stack can support ARM (Traefik, Redis, MariaDB, and InfluxDB). We still need to build the Appwrite container itself and ClamAV to support it as well and test them out.

Would be great if you could help me with some test, if so you can reach me out on our Discord server: https://appwrite.io/discord

@eldadfux
Copy link
Member
eldadfux commented Jul 3, 2020

@AlimFreight, @doricci, @reigelgallarde I have some good news. I have been able to test around docker buildx and after serval failed attempts was able to push a very experimentally version of Appwrite to Docker Hub that should support ARM. This is a great POC, but we still need to push production images for appwrite/appwrite, appwrite/clamav and appwrite/mariadb

@eldadfux
Copy link
Member
eldadfux commented Jul 3, 2020

@AlimFreight
Copy link
Author

Thank you I will do that right now :)

@eldadfux
Copy link
Member
eldadfux commented Jul 3, 2020

This are the architectures that are supported by Docker Buildx:

  • linux/amd64
  • linux/arm64
  • linux/ppc64le
  • linux/s390x
  • linux/386
  • linux/arm/v7
  • linux/arm/v6

Should we allow support to all of them, or are there any redundant ones on this list?

@eldadfux eldadfux added enhancement New feature or request help wanted Extra attention is needed labels Jul 3, 2020
@eldadfux eldadfux self-assigned this Jul 3, 2020
@AlimFreight
Copy link
Author
AlimFreight commented Jul 3, 2020

I think linux/ppc64le and linux/s390x is quite obsolete. And linux/arm/v6 is too powerless for that kind of load. IMHO

@AlimFreight
Copy link
Author
AlimFreight commented Jul 4, 2020

I was able to start every container on arm/v7 with this (https://github.com/appwrite/appwrite/files/4872149/dosker.txt) file , but still have some issues with mariadb, and connections between telegraf and influxdb
Log mariadb :

200704 00:01:23 mysqld_safe Logging to syslog.,
200704 00:01:22 mysqld_safe A mysqld process already exists

Log Telegraf:

2020-07-04T05:24:40Z E! [outputs.influxdb] When writing to [http://localhost:8086]: Post http://localhost:8086/write?db=telegraf: dial tcp 127.0.0.1:8086: connect: connection refused,
2020-07-04T05:24:40Z E! [agent] Error writing to outputs.influxdb: could not write any address

@eldadfux eldadfux added the hacktoberfest Issues that can win you some cool swags! label Sep 10, 2020
@W4nn4Die
Copy link
Contributor

Hello @AlimFreight could you please give steps to reproduce? Also seems like there's already a mysqld process running, if you are in a fresh install could be Appwrite issue. Telegraf seems to have problems in the port connection, make sure you don't have any kind of strict firewall and make sure that port is not binded by other process.

@AlimFreight
Copy link
Author
AlimFreight commented Sep 18, 2020

Hello @AlimFreight could you please give steps to reproduce? Also seems like there's already a mysqld process running, if you are in a fresh install could be Appwrite issue. Telegraf seems to have problems in the port connection, make sure you don't have any kind of strict firewall and make sure that port is not binded by other process.

Hi, Yes, that was clean installation, and I checked all processes for ports similarity of cause.

@eldadfux
Copy link
Member

Update 27-09-2020:

  1. I have opened a new branch for adding ARM support: https://github.com/appwrite/appwrite/tree/feat-465-add-arm-support
  2. Added support for multi-CPU architectures as part of our CI process
  3. Opened multiple issues to convert all our core docker-images to use Alpine as a base image.

@eldadfux
Copy link
Member

From the first CI run, seems like this are our problematic Docker images:
image

@kodumbeats
Copy link
Contributor

Happy to help with this!

@eldadfux
Copy link
Member
eldadfux commented Jan 4, 2021

ARM Support Update

Seems like we've managed to solve 99% of all open issues. The only thing still failing right now is the test for executing a Deno cloud function. Seems like the Deno Docker image lacks ARM support: denoland/deno_docker#100

@g123k
Copy link
g123k commented Mar 18, 2021

Any news on this @eldadfux?

@eldadfux
Copy link
Member

@g123k everything is pretty much ready, right now we're just giving it a run to test it is stable with all our latest changes. We also need to make some minor updates to our CI to make sure builds won't take forever. Good chances this will get merged to 0.8.

@kodumbeats
Copy link
Contributor

It warms my ❤️ to close this as resolved since #726 has been released with Appwrite 0.8.0! 🚀

Huge thanks to @AlimFreight , @mlucas-NU , @SoftCreatR, and to everyone I've missed who contributed, tested, and gave feedback. This feature was made possible due to the diverse talents and experience of our open-source community 💪🏻

@eldadfux
Copy link
Member
eldadfux commented Jun 9, 2021

This feature implementation was an amazing community effort that just give a glimpse at how powerful open-source communities are! ❤️

@mlucas-NU
Copy link

Totally agree, @eldadfux. Big thanks to everyone involved! I'll miss benchmarking appwrite on my Rockpro64, but I'm always happy to do so for future features. :')

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request hacktoberfest Issues that can win you some cool swags! help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants
0