when trying to use chat nothing happens and in docservice/out.log we can see
[2023-09-07T13:17:59.109] [ERROR] [localhost] [27a52aa0f1537b198128ae8496870f63] [uid-16916562481852] nodeJS - error receiving response: type = message TypeError: Cannot read property 'chat' of undefined
at onMessage (/snapshot/server/build/server/DocService/sources/DocsCoServer.js)
at onMessage.next (<anonymous>)
at /snapshot/server/build/server/DocService/sources/DocsCoServer.js
at Generator.next (<anonymous>)
at onFulfilled (/snapshot/server/build/server/DocService/node_modules/co/index.js:65:19)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (internal/process/task_queues.js:95:5)
when we send some message. Are we missing some configuration? āEverythingā else is working fine.
Hello @rjaklic
Have you integrated Document server with some storage, such as Nextcloud, Alfresco, etc. or your own self-written one? Or do you check chat feature in the integrated example?
Also please let us know:
your exact version of Document server and guide that you used for the installation;
OS version;
please reproduce the situation and record a video file;
when the situation is reproduced, please provide us with whole Document server logs folder.
ONLYOFFICE Version:
7.3.3.8 via. debian repository
OS: does not matter because every not working
Reproduce: year sure? hmm i upgraded? if you send Chat nothing happen.
If you you really have no idea how that can look like i can make a video showing nothing
Log:
only things logged is this:
[2023-09-20T10:24:48.489] [ERROR] [localhost] [1695198114.4309.34325.BQZ40EdchWWkdWXCj3tg] [4] nodeJS - error receiving response: type = message TypeError: Cannot read property āchatā of undefined
at onMessage (/snapshot/server/build/server/DocService/sources/DocsCoServer.js)
at onMessage.next ()
at /snapshot/server/build/server/DocService/sources/DocsCoServer.js
at Generator.next ()
at onFulfilled (/snapshot/server/build/server/DocService/node_modules/co/index.js:65:19)
at processTicksAndRejections (internal/process/task_queues.js:95:5)
[2023-09-20T10:24:51.129] [ERROR] [localhost] [1695198114.4309.34325.BQZ40EdchWWkdWXCj3tg] [4] nodeJS - error receiving response: type = message TypeError: Cannot read property āchatā of undefined
at onMessage (/snapshot/server/build/server/DocService/sources/DocsCoServer.js)
at onMessage.next ()
at /snapshot/server/build/server/DocService/sources/DocsCoServer.js
at Generator.next ()
at onFulfilled (/snapshot/server/build/server/DocService/node_modules/co/index.js:65:19)
at processTicksAndRejections (internal/process/task_queues.js:95:5)
Please note that in the provided by me documentationpermissions settings are the part of document array:
var docEditor = new DocsAPI.DocEditor("placeholder", {
"document": {
"permissions": {
"chat": true,
Please move the section to the corresponding array and check the situation again. For the reference, here you can find the sample of complete config: https://api.onlyoffice.com/editors/advanced
It seems like youāre encountering an issue with the chat feature, and youāve identified an error message in the docservice/out.log file. The error message suggests that there might be an issue with reading the property āchatā in your code.
To resolve this and ensure a clean chat experience, I recommend reviewing your code and checking if all necessary configurations are in place. Itās possible that thereās a missing or misconfigured element causing this error.
If you need further assistance or have specific questions about your configuration, please feel free to provide more details, and weāll be happy to help.