I’m running Document Server on Debian 9. When I updated OnlyOffice from 5.2 to 5.3, it seemed like several of the paths changed, so the local.json I was updating wasn’t the one Document Server was using any more. I don’t remember the old path, but on 5.3 the path that works for me is /etc/onlyoffice/documentserver/local.json.
Inside this file, I had to set the same secret in three places: inbox, outbox, and session. I also had to change three booleans from false to true. In the JSON they are roughly in vicinity of:
- token > enable > request > inbox = true
- token > enable > request > outbox = true
- token > enable > browser = true
Until I changed these three booleans, the OnlyOffice app in NextCloud only worked when I didn’t set the secret. After I changed all three of these, the secret was required to connect to Document Server.