Restart Document Server on Windows
Posted: Tue Nov 17, 2020 1:22 pm
Hello,
I have installed OnlyOffice Document Server (OnlyOffice Docs) and run Java Example with these instructions : https://api.onlyoffice.com/editors/example/java.
The code is working fine. But for the moment in the Java code, the property "files.docservice.secret" in the file "settings.properties" is empty, and I would like to give a value to it ("secret" for example). According to the documentation (https://api.onlyoffice.com/editors/signature/), I need to modify the Docuement Server file "\onlyOffice\DocumentServer\config\local.json" this way :
"token": {
"enable": {
"request": {
"inbox": true,
"outbox": true
},
"browser": true
},
"inbox": {
"header": "Authorization"
},
"outbox": {
"header": "Authorization"
}
}
But then, I have to restart Document Server services with this command but it doesn't work : supervisorctl restart all
Is there another way to restart Document Server on Windows ? Or did I do something wrong ?
Thanks in advance for your answers
I have installed OnlyOffice Document Server (OnlyOffice Docs) and run Java Example with these instructions : https://api.onlyoffice.com/editors/example/java.
The code is working fine. But for the moment in the Java code, the property "files.docservice.secret" in the file "settings.properties" is empty, and I would like to give a value to it ("secret" for example). According to the documentation (https://api.onlyoffice.com/editors/signature/), I need to modify the Docuement Server file "\onlyOffice\DocumentServer\config\local.json" this way :
"token": {
"enable": {
"request": {
"inbox": true,
"outbox": true
},
"browser": true
},
"inbox": {
"header": "Authorization"
},
"outbox": {
"header": "Authorization"
}
}
But then, I have to restart Document Server services with this command but it doesn't work : supervisorctl restart all
Is there another way to restart Document Server on Windows ? Or did I do something wrong ?
Thanks in advance for your answers
