Working real time doesn't work?

Thanks for the help. I tried to collect the information.

version of Document Server: 0.1.13
type of proxy (if used); no Proxy
information about any modifications made to Document Server’s source code (if made);
screenshots of browser’s console network and console tabs: No changes

Why can’t I upload pictures here?

I have increased your trust level so you can send images.

Thanks


Please double check the version of Document Server.
To see the version you can open any document and on the left toolbar of the editor click “About”:
about

Sorry

2022-12-05_130455

Here are a few more error messages

[documentserver_community] Fehler: OCA\DocumentServer\Document\DocumentConversionException: TypeError: Cannot set property ‘jb’ of undefined
at dr.Nc (:19956:296)
at dr.tc.jh (:10672:480)
at dr.Rh (:19956:351)
at za.C.asc_docs_api.asc_nativeApplyChanges2 (:11253:127)
Uncaught TypeError: Cannot set property ‘jb’ of undefined
DoctRenderer:
at <>

  1. /var/www/owncloud/apps/documentserver_community/lib/DocumentConverter.php line 125
    OCA\DocumentServer\Document\ConverterBinary->run()
  2. /var/www/owncloud/apps/documentserver_community/lib/DocumentConverter.php line 80
    OCA\DocumentServer\DocumentConverter->runCommand()
  3. /var/www/owncloud/apps/documentserver_community/lib/Document/DocumentStore.php line 156
    OCA\DocumentServer\DocumentConverter->saveChanges()
  4. /var/www/owncloud/apps/documentserver_community/lib/LocalAppData.php line 102
    OCA\DocumentServer\Document\DocumentStore->OCA\DocumentServer\Document{closure}("*** sensitive parameters replaced ***")
  5. /var/www/owncloud/apps/documentserver_community/lib/Document/DocumentStore.php line 176
    OCA\DocumentServer\LocalAppData->getReadWriteLocalPath()
  6. /var/www/owncloud/apps/documentserver_community/lib/Document/SaveHandler.php line 58
    OCA\DocumentServer\Document\DocumentStore->saveChanges()
  7. /var/www/owncloud/apps/documentserver_community/lib/BackgroundJob/Cleanup.php line 71
    OCA\DocumentServer\Document\SaveHandler->flushChanges()
  8. /var/www/owncloud/lib/public/BackgroundJob/Job.php line 78
    OCA\DocumentServer\BackgroundJob\Cleanup->run()
  9. /var/www/owncloud/lib/public/BackgroundJob/Job.php line 64
    OCP\BackgroundJob\Job->start()
  10. /var/www/owncloud/cron.php line 152
    OCP\BackgroundJob\Job->execute()

at 2022-12-05T12:20:15+00:00

[no app in context] Fehler: OCP\AppFramework\QueryException: Could not resolve logger! Class “logger” does not exist at <>

  1. <>
    OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility{closure}("*** sensitive parameters replaced ***")
  2. /var/www/owncloud/lib/private/AppFramework/Utility/SimpleContainer.php line 108
    array_map()
  3. /var/www/owncloud/lib/private/AppFramework/Utility/SimpleContainer.php line 116
    OC\AppFramework\Utility\SimpleContainer->buildClass()
  4. /var/www/owncloud/lib/private/AppFramework/Utility/SimpleContainer.php line 133
    OC\AppFramework\Utility\SimpleContainer->resolve()
  5. /var/www/owncloud/lib/private/ServerContainer.php line 161
    OC\AppFramework\Utility\SimpleContainer->query()
  6. /var/www/owncloud/lib/private/EventDispatcher/ServiceEventListener.php line 71
    OC\ServerContainer->query()
  7. /var/www/owncloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php line 251
    OC\EventDispatcher\ServiceEventListener->__invoke()
  8. /var/www/owncloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php line 73
    Symfony\Component\EventDispatcher\EventDispatcher->callListeners()
  9. /var/www/owncloud/lib/private/EventDispatcher/EventDispatcher.php line 88
    Symfony\Component\EventDispatcher\EventDispatcher->dispatch()
  10. /var/www/owncloud/lib/private/EventDispatcher/EventDispatcher.php line 100
    OC\EventDispatcher\EventDispatcher->dispatch()
  11. /var/www/owncloud/apps/dav/lib/CardDAV/CardDavBackend.php line 732
    OC\EventDispatcher\EventDispatcher->dispatchTyped()
  12. /var/www/owncloud/3rdparty/sabre/dav/lib/CardDAV/Card.php line 94
    OCA\DAV\CardDAV\CardDavBackend->updateCard("*** sensitive parameters replaced ***")
  13. /var/www/owncloud/3rdparty/sabre/dav/lib/DAV/Server.php line 1137
    Sabre\CardDAV\Card->put()
  14. /var/www/owncloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php line 492
    Sabre\DAV\Server->updateFile("*** sensitive parameters replaced ***")
  15. /var/www/owncloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php line 89
    Sabre\DAV\CorePlugin->httpPut()
  16. /var/www/owncloud/3rdparty/sabre/dav/lib/DAV/Server.php line 472
    Sabre\DAV\Server->emit()
  17. /var/www/owncloud/3rdparty/sabre/dav/lib/DAV/Server.php line 253
    Sabre\DAV\Server->invokeMethod()
  18. /var/www/owncloud/3rdparty/sabre/dav/lib/DAV/Server.php line 321
    Sabre\DAV\Server->start()
  19. /var/www/owncloud/apps/dav/lib/Server.php line 360
    Sabre\DAV\Server->exec()
  20. /var/www/owncloud/apps/dav/appinfo/v2/remote.php line 35
    OCA\DAV\Server->exec()
  21. /var/www/owncloud/remote.php line 171
    require_once("/var/www/ownclo … p")

Could you make a screenshot of active Apps on your Nextcloud portal? Tap on your avatar > Apps > Active Apps (on the left menu) and make a screenshot of this page.
Also, provide a link to the guide that you’ve used to install ONLYOFFICE Docs Community Edition on your server.

Enabled:

  • activity: 2.17.0
  • appointments: 1.14.6
  • bookmarks: 11.0.4
  • bruteforcesettings: 2.5.0
  • calendar: 4.1.0
  • circles: 25.0.0
  • cloud_federation_api: 1.8.0
  • collectives: 2.1.1
  • comments: 1.15.0
  • contacts: 5.0.1
  • contactsinteraction: 1.6.0
  • dashboard: 7.5.0
  • dav: 1.24.0
  • deck: 1.8.2
  • documentserver_community: 0.1.13
  • external: 5.0.0
  • federatedfilesharing: 1.15.0
  • federation: 1.15.0
  • files: 1.20.1
  • files_external: 1.17.0
  • files_mindmap: 0.0.27
  • files_pdfviewer: 2.6.0
  • files_rightclick: 1.4.0
  • files_sharing: 1.17.0
  • files_trashbin: 1.15.0
  • files_versions: 1.18.0
  • files_zip: 1.1.2
  • firstrunwizard: 2.14.0
  • forms: 3.0.1
  • groupfolders: 13.1.0
  • guests: 2.3.0
  • logreader: 2.10.0
  • lookup_server_connector: 1.13.0
  • maps: 0.2.1
  • music: 1.7.0
  • nextcloud_announcements: 1.14.0
  • notes: 4.6.0
  • notifications: 2.13.1
  • oauth2: 1.13.0
  • onlyoffice: 7.6.8
  • password_policy: 1.15.0
  • passwords: 2022.12.20
  • photos: 2.0.0
  • privacy: 1.9.0
  • provisioning_api: 1.15.0
  • quota_warning: 1.15.0
  • rainloop: 7.2.6
  • ransomware_protection: 1.14.0
  • recommendations: 1.4.0
  • registration: 2.0.0
  • related_resources: 1.0.3
  • serverinfo: 1.15.0
  • settings: 1.7.0
  • sharebymail: 1.15.0
  • spreed: 15.0.2
  • support: 1.8.0
  • survey_client: 1.13.0
  • systemtags: 1.15.0
  • tasks: 0.14.5
  • text: 3.6.0
  • theming: 2.0.1
  • timemanager: 0.3.4
  • twofactor_backupcodes: 1.14.0
  • twofactor_totp: 7.0.0
  • updatenotification: 1.15.0
  • user_retention: 1.8.1
  • user_status: 1.5.0
  • viewer: 1.9.0
  • weather_status: 1.5.0
  • welcome: 1.0.2
  • workflowengine: 2.7.0
    Disabled:
  • admin_audit
  • apporder: 0.15.0
  • backup: 1.1.3
  • encryption
  • extract: 1.3.5
  • impersonate: 1.11.0
  • side_menu: 3.4.1
  • smb_test: 0.3.5
  • socialsharing_facebook: 2.5.0
  • suspicious_login
  • user_ldap
  • video_converter: 1.0.5

I carried out installation via apps in NextCloud with apps:

  • Community Document Server 0.1.13
  • Only 7.6.8

finished

Please note that Community Document Server 0.1.13 is an app developed by Nextcloud and I guess they recently updated it. With that said, we cannot guarantee stable functioning of this app and you have to contact Nextcloud support with detailed description of the problem.

I would recommend you to install ONLYOFFICE Docs Community Edition on a dedicated server with this official guide that is fully tested and support by our team::
https://helpcenter.onlyoffice.com/installation/docs-community-index.aspx

Ok I didn’t know that. I thought the document Server would be a product from ONLYOFFICE Sorry, thank you for your help anyway

I have now installed and configured the Documente server under Windwos, according to their instructions above. In the basics of configuration, as you have described, everything runs ok with port 80. So I used your instructions to switch to SSL because the NextCloud Connector would like to have HTTPS address.

https://helpcenter.onlyoffice.com/installation/docs-enterprise-https-windows.aspx

The problem is that I am now running the website under SSL, but I get this error message when charging a document, what did I do wrong?

The Server Port SSL is 449
Problem is in Nginx Error-Log:

2022/12/08 12:03:55 [warn] 1200#7404: the “ssl” directive is deprecated, use the “listen … ssl” directive instead in C:\Program Files\ONLYOFFICE\DocumentServer\nginx/conf/ds.conf:38
2022/12/08 12:03:55 [warn] 420#592: the “ssl” directive is deprecated, use the “listen … ssl” directive instead in C:\Program Files\ONLYOFFICE\DocumentServer\nginx/conf/ds.conf:38

Please execute script that is located in C:\Program Files\ONLYOFFICE\DocumentServer\bin\documentserver-update-securelink.bat and check the situation.

If the problem persists share log files located in C:\Program Files\ONLYOFFICE\DocumentServer\Log\.

The problem is running log file converter:

[2022-12-08T13:38:32.392] [WARN] [localhost] [docId] [userId] nodeJS - update cluster with 1 workers
[2022-12-08T13:38:32.426] [WARN] [localhost] [docId] [userId] nodeJS - worker 7332 started.
[2022-12-08T13:38:32.445] [WARN] [localhost] [docId] [userId] nodeJS - update cluster with 1 workers
[2022-12-08T13:38:51.039] [ERROR] [localhost] [127.0.0.1new.docx1670501133074] [uid-1] nodeJS - error downloadFile:url=https://localhost:449/example/download?fileName=new.docx&useraddress=127.0.0.1;attempt=1;code:DEPTH_ZERO_SELF_SIGNED_CERT;connect:undefined Error: **self signed certificate**
    at TLSSocket.onConnectSecure (_tls_wrap.js:1515:34)
    at TLSSocket.emit (events.js:400:28)
    at TLSSocket._finishInit (_tls_wrap.js:937:8)
    at TLSWrap.ssl.onhandshakedone (_tls_wrap.js:709:12)
[2022-12-08T13:38:52.126] [ERROR] [localhost] [127.0.0.1new.docx1670501133074] [uid-1] nodeJS - error downloadFile:url=https://localhost:449/example/download?fileName=new.docx&useraddress=127.0.0.1;attempt=2;code:DEPTH_ZERO_SELF_SIGNED_CERT;connect:undefined Error: self signed certificate
    at TLSSocket.onConnectSecure (_tls_wrap.js:1515:34)
    at TLSSocket.emit (events.js:400:28)
    at TLSSocket._finishInit (_tls_wrap.js:937:8)
    at TLSWrap.ssl.onhandshakedone (_tls_wrap.js:709:12)
[2022-12-08T13:38:53.225] [ERROR] [localhost] [127.0.0.1new.docx1670501133074] [uid-1] nodeJS - error downloadFile:url=https://localhost:449/example/download?fileName=new.docx&useraddress=127.0.0.1;attempt=3;code:DEPTH_ZERO_SELF_SIGNED_CERT;connect:undefined Error: **self signed certificate**
    at TLSSocket.onConnectSecure (_tls_wrap.js:1515:34)
    at TLSSocket.emit (events.js:400:28)
    at TLSSocket._finishInit (_tls_wrap.js:937:8)
    at TLSWrap.ssl.onhandshakedone (_tls_wrap.js:709:12)

I don’t have a valed certficat. I don’t need that either! Since I only operate the server internally. How do I turn it off?

[2022-12-08T14:07:32.192] [WARN] [localhost] [docId] [userId] nodeJS - Express server starting…
[2022-12-08T14:07:32.204] [WARN] [localhost] [docId] [userId] nodeJS - Failed to subscribe to plugin folder updates. When changing the list of plugins, you must restart the server. File system | Node.js v19.2.0 Documentation
[2022-12-08T14:07:32.784] [WARN] [localhost] [docId] [userId] nodeJS - Express server listening on port 8000 in production-windows mode. Version: 7.2.1. Build: 34

[2022-12-08T09:31:38.544] [WARN] [localhost] [docId] [userId] nodeJS - Express server starting…
[2022-12-08T09:31:38.554] [WARN] [localhost] [docId] [userId] nodeJS - Failed to subscribe to plugin folder updates. When changing the list of plugins, you must restart the server. File system | Node.js v19.2.0 Documentation
[2022-12-08T09:31:39.009] [WARN] [localhost] [docId] [userId] nodeJS - Express server listening on port 8000 in production-windows mode. Version: 7.2.1. Build: 34
[2022-12-08T11:41:59.312] [ERROR] [localhost] [127.0.0.1new.docx11670488499906] [uid-1] nodeJS - postData error: url = https://localhost:449/example/track?filename=new.docx&useraddress=127.0.0.1;data = {“key”:“127.0.0.1new.docx11670488499906”,“status”:1,“users”:[“uid-1”],“actions”:[{“type”:1,“userid”:“uid-1”}],“token”:“eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJrZXkiOiIxMjcuMC4wLjFuZXcuZG9jeDExNjcwNDg4NDk5OTA2Iiwic3RhdHVzIjoxLCJ1c2VycyI6WyJ1aWQtMSJdLCJhY3Rpb25zIjpbeyJ0eXBlIjoxLCJ1c2VyaWQiOiJ1aWQtMSJ9XSwiaWF0IjoxNjcwNDk2MTE5LCJleHAiOjE2NzA0OTY0MTl9.7yCKdwzOuTl4_7Dp9-iokEma1Ml5s68eLbRhF73l_CM”} Error: self signed certificate
at TLSSocket.onConnectSecure (_tls_wrap.js:1515:34)
at TLSSocket.emit (events.js:400:28)
at TLSSocket._finishInit (_tls_wrap.js:937:8)
at TLSWrap.ssl.onhandshakedone (_tls_wrap.js:709:12)
[2022-12-08T11:45:23.931] [ERROR] [localhost] [127.0.0.1new.docx11670488499906] [uid-1] nodeJS - postData error: url = https://localhost:449/example/track?filename=new.docx&useraddress=127.0.0.1;data = {“key”:“127.0.0.1new.docx11670488499906”,“status”:1,“users”:[“uid-1”],“actions”:[{“type”:1,“userid”:“uid-1”}],“token”:“eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJrZXkiOiIxMjcuMC4wLjFuZXcuZG9jeDExNjcwNDg4NDk5OTA2Iiwic3RhdHVzIjoxLCJ1c2VycyI6WyJ1aWQtMSJdLCJhY3Rpb25zIjpbeyJ0eXBlIjoxLCJ1c2VyaWQiOiJ1aWQtMSJ9XSwiaWF0IjoxNjcwNDk2MzIzLCJleHAiOjE2NzA0OTY2MjN9.arQA0ID3yUlZReSBL86544hRO16IcE1-wU5sTB47Bdg”} Error: self signed certificate
at TLSSocket.onConnectSecure (_tls_wrap.js:1515:34)
at TLSSocket.emit (events.js:400:28)
at TLSSocket._finishInit (_tls_wrap.js:937:8)
at TLSWrap.ssl.onhandshakedone (_tls_wrap.js:709:12)
[2022-12-08T12:04:12.804] [ERROR] [localhost] [127.0.0.1new.docx11670488499906] [uid-1] nodeJS - postData error: url = https://localhost:449/example/track?filename=new.docx&useraddress=127.0.0.1;data = {“key”:“127.0.0.1new.docx11670488499906”,“status”:1,“users”:[“uid-1”],“actions”:[{“type”:1,“userid”:“uid-1”}],“token”:“eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJrZXkiOiIxMjcuMC4wLjFuZXcuZG9jeDExNjcwNDg4NDk5OTA2Iiwic3RhdHVzIjoxLCJ1c2VycyI6WyJ1aWQtMSJdLCJhY3Rpb25zIjpbeyJ0eXBlIjoxLCJ1c2VyaWQiOiJ1aWQtMSJ9XSwiaWF0IjoxNjcwNDk3NDUyLCJleHAiOjE2NzA0OTc3NTJ9.CMBZREsaoJ64HpRy0ZPfWGEs8OmkIsKViN5_h2ZTqyw”} Error: self signed certificate
at TLSSocket.onConnectSecure (_tls_wrap.js:1515:34)
at TLSSocket.emit (events.js:400:28)
at TLSSocket._finishInit (_tls_wrap.js:937:8)
at TLSWrap.ssl.onhandshakedone (_tls_wrap.js:709:12)
[2022-12-08T12:09:41.200] [ERROR] [localhost] [127.0.0.1new.xlsx1670497774657] [uid-1] nodeJS - postData error: url = https://localhost:449/example/track?filename=new.xlsx&useraddress=127.0.0.1;data = {“key”:“127.0.0.1new.xlsx1670497774657”,“status”:1,“users”:[“uid-1”],“actions”:[{“type”:1,“userid”:“uid-1”}],“token”:“eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJrZXkiOiIxMjcuMC4wLjFuZXcueGxzeDE2NzA0OTc3NzQ2NTciLCJzdGF0dXMiOjEsInVzZXJzIjpbInVpZC0xIl0sImFjdGlvbnMiOlt7InR5cGUiOjEsInVzZXJpZCI6InVpZC0xIn1dLCJpYXQiOjE2NzA0OTc3ODEsImV4cCI6MTY3MDQ5ODA4MX0.yBjPYjw0P1hpTst3Xss9oIeLv-h7pRCQWaSinpiGqjI”} Error: self signed certificate
at TLSSocket.onConnectSecure (_tls_wrap.js:1515:34)
at TLSSocket.emit (events.js:400:28)
at TLSSocket._finishInit (_tls_wrap.js:937:8)
at TLSWrap.ssl.onhandshakedone (_tls_wrap.js:709:12)
[2022-12-08T13:05:36.760] [ERROR] [localhost] [127.0.0.1new.docx1670501133074] [uid-1] nodeJS - postData error: url = https://localhost:449/example/track?filename=new.docx&useraddress=127.0.0.1;data = {“key”:“127.0.0.1new.docx1670501133074”,“status”:1,“users”:[“uid-1”],“actions”:[{“type”:1,“userid”:“uid-1”}],“token”:“eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJrZXkiOiIxMjcuMC4wLjFuZXcuZG9jeDE2NzA1MDExMzMwNzQiLCJzdGF0dXMiOjEsInVzZXJzIjpbInVpZC0xIl0sImFjdGlvbnMiOlt7InR5cGUiOjEsInVzZXJpZCI6InVpZC0xIn1dLCJpYXQiOjE2NzA1MDExMzYsImV4cCI6MTY3MDUwMTQzNn0.rBotWfCxMAbweGIp3tt90cc2bg1niARyjY1okIkMH_I”} Error: self signed certificate
at TLSSocket.onConnectSecure (_tls_wrap.js:1515:34)
at TLSSocket.emit (events.js:400:28)
at TLSSocket._finishInit (_tls_wrap.js:937:8)
at TLSWrap.ssl.onhandshakedone (_tls_wrap.js:709:12)

The problem is that document server does not validate self-signed certificates by default.
The best way to avoid errors is to set rejectUnauthorized to false in default.json, which can be found under this directory C:\Program Files\ONLYOFFICE\DocumentServer\config\.
After you have made changes to default.json, make sure you restart all ONLYOFFICE Document Server services in Windows Services. This way the changes will be implemented.

Yes thank You it is WORKING :slight_smile:

I’m glad we’ve managed to solve this issue.
Thanks for your patience!