I’m trying to get ONLYOFFICE Documentserver installed using the Debian package working with Nextcloud and I’m currently failing and while trying to debug this issue I have noticed that the documentation has this example local.json
:
{
"services": {
"CoAuthoring": {
"secret": {
"browser": {
"string": "secret"
},
"inbox": {
"string": "secret"
},
"outbox": {
"string": "secret"
},
},
"token": {
"enable": {
"browser": true,
"request": {
"inbox": true,
"outbox": true
}
}
}
}
}
}
Which is invalid, if the syntax error is fixed the result is:
{
"services": {
"CoAuthoring": {
"secret": {
"browser": {
"string": "secret"
},
"inbox": {
"string": "secret"
},
"outbox": {
"string": "secret"
}
},
"token": {
"enable": {
"browser": true,
"request": {
"inbox": true,
"outbox": true
}
}
}
}
}
}
This doesn’t match what I have at /etc/onlyoffice/documentserver/local.json
(omitting the PostgreSQL and RabbitMQ setings):
{
"services": {
"CoAuthoring": {
"token": {
"enable": {
"request": {
"inbox": true,
"outbox": true
},
"browser": true
},
"inbox": {
"header": "Authorization"
},
"outbox": {
"header": "Authorization"
}
},
"secret": {
"inbox": {
"string": "secret"
},
"outbox": {
"string": "secret"
},
"session": {
"string": "secret"
}
}
}
},
"storage": {
"fs": {
"secretString": "storage_secret"
}
}
}
The differences are:
- The documentation has
browser
and I havesession
— is this a mistake in the documentation or thelocal.json
I have or is not simply something that doesn’t matter? - The documentation doesn’t have the
header
, should I assume this was omitted for brevity and having it is not an issue?
Incidently the same page also references supervisorctl restart all
— this should be updated due to the update to use systemd
?