Hello,
I’m a system admin which encouter an error after upgrading my Nextcloud instance, Only Office App and OnlyOffice server.
Here are the versions used :
- Nextcloud 32 (Docker)
- OnlyOffice App 9.12.0
- OnlyOffice Server 9.2 (Docker)
Nextcloud and OnlyOffice server are working : webui is available and when I connect Nextcloud to OnlyOffice through OnlyOffice app, it works.
Then OnlyOffice icons are present when I want to create a new document. But If I open the new document I’ve got an empty page and in the nextcloud logs I’ve got this error : Call to undefined method OC\Server::getSystemTagObjectMapper().
In the Nextcloud release notes for version 32 it seems that the correct method is OCP\Server and not OC anymore : Upgrade to Nextcloud 32 — Nextcloud latest Developer Manual latest documentation. And in this file '/var/www/html/apps/onlyoffice/lib/Controller/EditorApiController.php I can find this line twice : $fileTags = OC::$server->getSystemTagObjectMapper()->getTagIdsForObjects([$fileId], "files")[$fileId]; (with OC::$server).
I’m not sure about that because I’m not really a php developper but OnlyOffice App 9.12.0 seems not to be compatible with Nextcloud 32 although it is written compatible in Nextcloud App store (ONLYOFFICE - Apps - App Store - Nextcloud).
Can you help me with that please ?
Thank you, best regards,