onlyoffice-nextcloud
onlyoffice-nextcloud copied to clipboard
Documents cannot be edited frm Nextcloud with OO workspace
OO document server docker version: 6.4.2.6 Nextlcloud Version: 22.2 OnlyOffice app: 7.2
I updated to OO workspace using the official scripts from a previous version that was still 5.x (Docker installation - it was working fine on nextcloud until recently)
In the OO portal document editing works fine and on the nextcloud side the connection when configuring seems successful. But when opening a file in nextlcoud from firefox i get this message:
And opening in a new window the page just keeps loading for ever.
On Chrome on the other hand i get a "connection refused" message.
The connector just does not seem to work at all even though the URLs are all reachable.
Ok so i gave up with the old server and decided to make a completely clean installation of the workspace server. Still using the offcial script. But now i am getting a "Error when trying to connect (Error occurred in the document service: Invalid token)". I see no errors in the document server logs. I am at a complete loss. The previous versions of the document server worked fine with the same settings.
Any ideas? Is this a known bug? Need any additional things to be configured that is not in the installation instructions?
Hi turin331, I expect you already got the Token via /etc/onlyoffice/documentserver/local.json? then you will also have to add (or change) 'onlyoffice' => array ( 'jwt_header' => 'AuthorizationJwt',),
on nextcloud in nextcloud/config/config.php. If the entry exists, verify, that it is AuthorizationJwt and not only Authorization ... so was it for me!
Best regards
Hi turin331, I expect you already got the Token via /etc/onlyoffice/documentserver/local.json? then you will also have to add (or change) 'onlyoffice' => array ( 'jwt_header' => 'AuthorizationJwt',),
on nextcloud in nextcloud/config/config.php. If the entry exists, verify, that it is AuthorizationJwt and not only Authorization ... so was it for me!
Best regards
I did not have to do that with the previous version. There is also the issue for me that the nextcloud install is a hosted service that i do not have access to the the system files. But maybe i can ask support to handle it.