NC + OnlyOffice on ARM64 using qemu

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

getting error on ubuntu 20.10 with nextcloud 20

Error: Undefined property: OCA\Onlyoffice\DocumentService::$logger at /var/www/nextcloud/apps/onlyoffice/lib/documentservice.php#435

/var/www/nextcloud/apps/onlyoffice/lib/documentservice.php - line 435:

OC\Log\ErrorHandler::onError()

/var/www/nextcloud/apps/onlyoffice/controller/settingscontroller.php - line 168:

OCA\Onlyoffice\DocumentService->checkDocServiceUrl()

/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 169:

OCA\Onlyoffice\Controller\SettingsController->SaveAddress()

/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 100:

OC\AppFramework\Http\Dispatcher->executeController()

/var/www/nextcloud/lib/private/AppFramework/App.php - line 152:

OC\AppFramework\Http\Dispatcher->dispatch()

/var/www/nextcloud/lib/private/Route/Router.php - line 308:

OC\AppFramework\App::main()

/var/www/nextcloud/lib/base.php - line 1009:

OC\Route\Router->match()

/var/www/nextcloud/index.php - line 37:

OC::handleRequest()

Hi @earth,
did you move to Ubuntu 20 and NC 20 just now or already a while ago? To me it looks like the service URL is no longer ok. Did you check Config -> OnlyOffice -> Service address?

Stay safe,
mbcon

I installed it fresh on my rpi4 4gb.
I already double checked my service address.

with the above log this also comes same time

Exception: Call to a member function debug() on null

/var/www/nextcloud/lib/private/AppFramework/App.php - line 152:

OC\AppFramework\Http\Dispatcher->dispatch()

/var/www/nextcloud/lib/private/Route/Router.php - line 308:

OC\AppFramework\App::main()

/var/www/nextcloud/lib/base.php - line 1009:

OC\Route\Router->match()

/var/www/nextcloud/index.php - line 37:

OC::handleRequest()