I think just installing the app isn’t enough. From what i know this is just an connector between ownCloud and the actual “ONLYOFFICE” so you probably need to install this as well. Maybe you can find some more information on the following documentation about the requirements:
https://api.onlyoffice.com/editors/owncloud
An alternative to ONLYOFFICE could be Collabora: