NC + OnlyOffice on ARM64 using qemu

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()

still no success on nextcloud20 with ubuntu 20.10 on raspberry pi 4 4gb
error
Error 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 1008:

OC\Route\Router->match()

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

OC::handleRequest()

Caused by Error: Call to a member function debug() on null

/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 1008:

OC\Route\Router->match()

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

OC::handleRequest()

Error 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 1008:

OC\Route\Router->match()

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

OC::handleRequest()

Yesterday o got it working with apps available on AppStore.
With mobile edit. And also no qemu user which takes more of memory.
Please check it, if some body is eagerly waiting

I found this error in my error when live error is on
it constantly shows
Error onlyoffice Group is unknown account

and my qemu.log shows

==== C stack trace ===============================

 [0x0040038c2a92]
 [0x00400437a390]
 [0x0040048c5428]
 [0x0040048c702a]
 [0x0040049077ea]
 [0x00400490780e]
 [0x004004378875]
 [0x0040043788d4]
 [0x00400437897a]
 [0x0040038c0480]
 [0x0040038b5579]
 [0x0040038b6a7b]
 [0x0040038c15bf]
 [0x0040043706ba]
 [0x00400499741d]
[end of stack trace]
qemu: uncaught target signal 6 (Aborted) - core dumped
/opt/onlyoffice-wrapper/qemu-x86_64 -cpu max -d unimp,guest_errors -L /opt/onlyoffice-wrapper/qemu-x86-libs ./x2t.bin /tmp/oc_tmp_Umj2K2-.xml
The futex facility returned an unexpected error code.The futex facility returned an unexpected error code.Received signal qemu: uncaught target signal 6 (Aborted) - core dumped
/opt/onlyoffice-wrapper/qemu-x86_64 -cpu max -d unimp,guest_errors -L /opt/onlyoffice-wrapper/qemu-x86-libs ./x2t.bin /tmp/oc_tmp_18oXRY-.xml
The futex facility returned an unexpected error code.The futex facility returned an unexpected error code.Received signal Received signal 66

The futex facility returned an unexpected error code.qemu: uncaught target signal 6 (Aborted) - core dumped
/opt/onlyoffice-wrapper/qemu-x86_64 -cpu max -d unimp,guest_errors -L /opt/onlyoffice-wrapper/qemu-x86-libs ./x2t.bin /tmp/oc_tmp_JRM6VZ-.xml
The futex facility returned an unexpected error code.The futex facility returned an unexpected error code.qemu: uncaught target signal 6 (Aborted) - core dumped
/opt/onlyoffice-wrapper/qemu-x86_64 -cpu max -d unimp,guest_errors -L /opt/onlyoffice-wrapper/qemu-x86-libs ./x2t.bin /tmp/oc_tmp_Ay1gk0-.xml
The futex facility returned an unexpected error code.The futex facility returned an unexpected error code.qemu: uncaught target signal 6 (Aborted) - core dumped
/opt/onlyoffice-wrapper/qemu-x86_64 -cpu max -d unimp,guest_errors -L /opt/onlyoffice-wrapper/qemu-x86-libs ./x2t.bin

I got it working in a docker container. Not as convenient as an app on Nextcloud, but I can guarantee that it works as of writing this. If you want to use larger files, I have a way and I’m trying to make a script that would work with docker compose, but I don’t really have free time and I don’t know this stuff.

Shortcomings: It takes time to build the docker image. Make a coffee, start the build and wait. Haven’t found anything not working so far, I’m using it every day and no issues so far.

Hope this helps.

3 Likes

Hi jiriks74,
great work. I just checked your repository and the docs. You really put a lot of effort in the development and the documentation.
I moved away from my little ARM device (2GB RAM only) and went back to an Intel-powered Herobox. That now serves Nextcloud + Adguard DNS in Docker containers for all other devices.

Hope you get the kudos you deserve!
Cheers,
mbcon

1 Like