YunoHost-Apps / onlyoffice_ynh

OnlyOffice package for YunoHost
https://www.onlyoffice.com
GNU General Public License v3.0
19 stars 19 forks source link

Support for ARM architecture #55

Closed Clemorange22 closed 1 year ago

Clemorange22 commented 3 years ago

Describe the bug It's actually impossible to install Onlyoffice on ARM architecture

Versions

To Reproduce Just go to Yunohost app catalog and try to install OnlyOffice

Expected behavior Install withouth any problem

There is actually a tutorial on the nextcloud forum to install OnlyOffice on RPi using qemu https://help.nextcloud.com/t/tutorial-installing-onlyoffice-server-on-raspberry-pi-4-ubuntu-server-20-10/100739

It is possible to make it a "Yunohost" script ?

Sorry for my bad english

tr1p0p commented 3 years ago

I confirm i have a error when installing to RPI 4 arm64 Paste just here : https://paste.yunohost.org/raw/emixebaris

alexAubin commented 3 years ago

@Clemorange22 : reading the instructions, they start with :

apt install qemu binfmt-support qemu-user-static
dpkg --add-architecture amd64

which sounds super spooky and experimental and resource-heavy ... Maybe this would work, but I would absolutely not run this on a production server that's running other apps ...

Edit: in fact, it seems to be something to run on ARM64 system, but Raspbian is 32 bit - despite the fact that RPi4 can theoretically run 64 bit OS (I think?) using Debian/Ubuntu.

For anybody interested, the official discussion on OnlyOffice's upstream is here : https://github.com/ONLYOFFICE/DocumentServer/issues/152

alexAubin commented 3 years ago

I'm flagging as "wontfix" because there's not much that can be done until the upstream supports it.

I added a check in the install script such that it's a bit more obvious : https://github.com/YunoHost-Apps/onlyoffice_ynh/commit/062cc7231a4ab644e4a251ca744f8f985b77c4d8

Clemorange22 commented 3 years ago

Ok, thanks, so I think I will use Collabora online CODE server built-in nextcloud instead. https://apps.nextcloud.com/apps/richdocumentscode_arm64 Does yunohost support well debian/ubuntu ?

alexAubin commented 3 years ago

Does yunohost support well debian/ubuntu ?

Yunohost can be installed on top of Debian, yes, but the image we ship for Raspberry Pi is based on Raspbian. I have currently 0 experience with running a "real" Debian on an ARM board.

Gredin67 commented 1 year ago

can someone confirm it's solved ? At least for arm64 ? https://github.com/ONLYOFFICE/DocumentServer/blob/master/CHANGELOG.md#710

Gredin67 commented 1 year ago

@Quiwy can you confirm you managed to install onlyoffice_ynh on arm64?

Clemorange22 commented 1 year ago

I can confirm this issue is solved.I've been able to install onlyoffice on my pi and to link it with my nextcloud instance.