ArgumentCountError - OnlyOffice Problem

Am running 30.0.6 /w php8.3 on ubuntu 24.10 and get this error msg since upgrade onlyoffice app to 9.7.0

[no app in context] Fatal: Could not boot documentserver_community: Too few arguments to function OCA\Onlyoffice\AppConfig::__construct(), 1 passed in /cloud/www/cloud/apps/documentserver_community/lib/AppInfo/Application.php on line 76 and exactly 4 expected
GET /cloud/index.php/apps/files/preview-service-worker.js
von 95.90.219.9 von roland um 02.03.2025, 20:44:17

there are 10000 msgs in a few days

Hi Same issue in my system.

I’m experiencing the same issue having just this morning updated to 31.0.0

ArgumentCountError Too few arguments to function OCA\Onlyoffice\AppConfig::__construct(), 1 passed in /config/www/nextcloud/apps/documentserver_community/lib/AppInfo/Application.php on line 76 and exactly 4 expected
Could not boot documentserver_community: Too few arguments to function OCA\Onlyoffice\AppConfig::__construct(), 1 passed in /config/www/nextcloud/apps/documentserver_community/lib/AppInfo/Application.php on line 76 and exactly 4 expected 

So far I’ve not been able to identify /config/www/nextcloud/apps/documentserver_community/lib/AppInfo/Application.php in either the NC or OO/documentserver containters

Hi Same issue in my system, too.

Also for me the same error. Cannot open any files on Nextcloud with Only Office. Same versions as Vantino

I’ve tried it on Nextcloud versions 29, 30, and 31 with the same results. Fortunately my production server is still running Collabora but I was hoping to switch to OnlyOffice soon. :fearful:

Same here after upgrade to 31

I have not got the solution but a workaround for me:

OnlyOffice 9.6 or higher does not work with documentserver_community
The Solution would be that it would work.
The workaround for me is downgrading my OnlyOffice 9.7 to OnlyOffice 9.5

I did it with this issue:

And now it works!!

1 Like

Same Problem here since upgrade to 29 and 30 and i also get an Error by store the Server Settings:

Fehler beim Anschließen (Server error: GET https://........../nextcloud-php/index.php/apps/documentserver_community/healthcheck resulted in a 500 Internal Server Error response:

Hi Guys,

Please let us know if you have any updates on this case.

BR,
GáborS

Thanks … save my ass
the only thing is that two collaborators that working on the same spreadsheet are able to seeing the cursor moves but not the changes who make the other