NC + OnlyOffice on ARM64 using qemu

Hi earth,

I am sorry, but the logs do not tell me anything.
What about using the domain name instead of the local IP? Is this an option?

I would propose to start a new thread with this specific topic which is not linked to ARM64. A new topic would attract attention from other members of the community.

Best,
mbcon

2 Likes

Dear, with new verision of community documents server 0.18.
Will this process work?
Please guide thanks

Hi @earth,
Hope you are doing well!
I am still on NC 19.0.0 / Community Server 0.1.7. I understand your concern. Reading the various sources about OO Community versions does not give much confidence.
Unfortunately I do not have time for playing around with NC at the moment. But if you dare to give it a try, keep me posted, please!

Best,
mbcon

VMware has now a (non-supported) version of its hypervisor (ESXi) for ARM

Would this simplify things?

i does work on 19.0.4 / Community Server 0.1.8.
let see when 20 comes at my location, and than will update with results from nextcloud 20
thanks

1 Like

Hello @anon71540698,
I am unsure how this could help. We are running x86_64 binaries on a ARM v8 architecture using qemu, because there is no native binary. There is no issue with virtualization (docker) in general. Or did I get you wrong?

Best,
mbcon

Hi @earth,
Thanks a lot! With your input I upgraded to OO 6 + DocumentServer 0.1.8. Still too lazy to upgrade NC, though :nerd_face:

Best,
mbcon

Did I miss something? Still no convenient and guaranteed working way for using OnlyOffice on e. g. Raspberry Pi - right?

try above mentioned process and you will surely get office working on Pi

1 Like

Hi @earth,
you really tried NC 20 + OO?! And that worked?! Great news, man, really. Makes me feel confident about NC future releases in combination with OO!

:+1: You are the pro!

1 Like

So, this mostly works, but I cannot save Excel files. I have had to use the various ā€œgenericā€ OnlyOffice workarounds to get files to save at all (documentserver:flush), but no matter what I try, Excel files never save. Word and PowerPoint files seem to save.

The log file generated by the wrapper invariably produces the following.

change_code: e.ZH=!1;e.EMc=e.Mcb();null!=d&&d()})}else null!=d&&d()};Qa.prototype.tVf=function(c,d,e){if(null!=d){this.ZH=!0;if(null==c){var h=a.Asc.editor.td.Eoa,z;for(z in h)Ta(h[z])&&Ta(h[z].Hg)&&Ta(h[z].Hg.controller)&&(h[z].fSa(),h[z].Hg.controller.Dh());wb.yg();wb.uh();wb.fJa(null);wb.BDa(null);c=new AscCommonExcel.ePc;wb.gld(c,!1)}h=new AscCommon.Paa(d,d.length);h.Ew=null;var f=h.jb(),n=4;for(z=0;z<f&&(!0!==a.NATIVE_EDITOR_ENJINE||!a["native"].CheckNextChange||a["native"].CheckNextChange());z++){var Fa=

change: Uncaught TypeError: Cannot read property 'Eoa' of null

DoctRenderer:<result><error index="-2" /></result>

Are others able to save Excel files OK?

Hi @TerminalAddict,
In my environment, all types of files are being saved. However there is a general issue with NC and OO when editing files in OO and outside OO locally in a synced folder. But this is also not related to the type of file. And not related to the Qemu wrapper.

Your issue is not related to the file content? It is also not related to the file format (XLSX, ODS, ā€¦)? Did you try a fresh install?

Best,
mbcon

Interesting. Which OS are you running? I have tried an existing xlsx file, and a brand new empty xlsx file. It doesnā€™t seem to matter. I am aware of the general OO+NC file saving issues, but as I mentioned, Word and PowerPoint files save just fine (with the flush/cron mitigations put in place).

Armbian Linux ā€¦ you can find more details in the beginning of the thread. I do not use flush/cron mitigation setup and just live with the fact that mixed editing does not work.

Editing feature from mobile is now available in paid version only

I know that this is slightly off topic, but while I was trying to make this work with NC 20 I discovered that the Collabora Online office app comes with similar functionality as OnlyOffice. The major advantage is that the aquivalent to the Community Documentserver app has a version that natively supports ARM64. Just had to install ā€œCollabora Onlineā€ and ā€œCollabora Online - Built-in CODE Server (ARM64)ā€ via the app menu. As far as I tested (not that much) everything works perfectly fine.

Only wanted to post this here in case anybody who just wants to run an office app which supports working collaborative on documents on his RPi comes along and doesnā€™t particulary care if it is OnlyOffice. Nevertheless, thank you @earth and @mbcon for trying to make OO work on ARM64!

1 Like

Sounds interesting! BUT long story short: itĀ“s not working on Raspberry Pi 4 (app ā€œrichdocumentscode_arm64ā€), if OS is not running as 64 bit. See https://github.com/CollaboraOnline/richdocumentscode/issues/81#issuecomment-716202437.

Thatā€™s true. But this is what the abbreviation ARM64 is saying: Itā€™s the ARM CPU architecture 64-bit version. So it is running on an RPi 4 (should be 4+GB RAM) - just not with an 32-bit OS like the standart Raspberry Pi OS. That is, you have to have an 64-bit OS like the Ubuntu Server 64-bit version (like me) or (like @mbcon ) the Armbian 64-bit version. There is also an Raspberry Pi OS 64-bit Beta.If youā€™d like to give it a try, it can be downloaded here: https://downloads.raspberrypi.org/raspios_arm64/images/

fyi, see this article for details on why your Raspberry Pi setup is not working properly:

1 Like

Quick update. I switched from Raspberry Pi OS (64bit) to Ubuntu, and am now able to save Excel files. Word and PowerPoint files still seem to be saving as well. I havenā€™t tested extensively, but it looks promising so far.

Thanks for doing the hard work!

1 Like