Need dedicated support? Click here
Need dedicated support?
Click here

Where to find Secret Key connector for NextCloud in OnlyOffice

Dear OnlyOffice community.
I installed OnlyOffice Document Server, Community version, with Docker on Ubuntu 20.04.

Everything is up and running fine, however, now I want to connect to NextCloud. However, I am not sure where to find the secret key in the server? Could I get guidance, where this file gets placed, so I can get the secret key?

In summary, I am looking to understand where the Json file is place, where the install is done via Docker. Example, non Docker path: /etc/onlyoffice/documentserver/local.json

Thank you.

Hello @Alex,
For docker installation, the config is located at the same path /etc/onlyoffice/documentserver/local.json inside the container. You can use this command to display its content:

docker exec -it container_id cat /etc/onlyoffice/documentserver/local.json

Thanks Carl for the reply.

Here are my steps so far.

Checking the docker container ID from the command line: docker ps -a

View of the default local.json file.

Pasting the URL and secret key into NextCloud.

Picking of the following error message, in NextCloud.
"Error when trying to connect (Client error: GET resulted in a 404 Not Found response:"

It would be helpful to get suggestions, if one of the steps is not right. Or if there are suggestions how to trouble shoot.

Thanks for your support.



What is the URL you are entering in the Docs address field of the connector? Please copy this URL, paste it to the address bar of the browser and make a screenshot of the page that is opened there.

Also note that you need to set the authorization header as AuthorizationJwt in advanced server settings section of the connector settings:

Hi Carl,
Thanks for the reply.

Here is the URL, screenshot.



Hi Alex, thanks for the screenshot.

The address you are entering is the address of ONLYOFFICE Workspace, not Docs. You need to install a separate Docs instance following one of the available guides depending on the preferred installation type and then connect it to your Nextcloud.,Installing,-1-click%20install

Thank you Carl for the reply.

I will do a reinstall as suggested. Also, I will confirm post install, as this may also be helpful for others as well.

I appreciate your feedback.