RocketChat / Rocket.Chat

The communications platform that puts data protection first.
https://rocket.chat/
Other
40.19k stars 10.4k forks source link

Rocket.Chat on Raspberry Pi 4 #31815

Open eleimt opened 7 months ago

eleimt commented 7 months ago

Tell me, should we expect the release of the service on Raspberry Pi 4?

Is it also possible to add a service to Balena Hub https://hub.balena.io/

I tried https://snapcraft.io/install/rocketchat-server/raspbian but it gave me an error:

error: cannot perform the following tasks:
- Run install hook of "rocketchat-server" snap if present (run hook "install": [ERROR] Your cpu does not support avx or avx2 instructions, which is required to run mongo 5.x, shipped with the next version of this snap.)
AndreaTrendafilov commented 7 months ago

This issue is more related to the mongodb raspberry pi support.

MongoDB 5.0 requires ARM v8. 2-A or later and the Raspberry Pi 4 uses an ARM Cortex-A72 which is ARM v8-A. 
Unfortunately this means the pre-built packages for MongoDB 5.0 will not support Raspberry Pi 4. However, you should be able to build from source by adding CCFLAGS-march=armv8 to the SCons invocation

One way to fix this is by using MongoDB version 4.4 and installing Rocket.Chat manually. Another option is to run Rocket.Chat using Docker or k3s, but remember to make sure that MongoDB is version 4.4.

Visbhavesh commented 6 months ago

hey please assign this issue to me

eleimt commented 6 months ago

hey please assign this issue to me

please @Visbhavesh

eleimt commented 6 months ago

Tell me if you would like to add the project to hub.balena.io? @Visbhavesh