Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OCA\DocumentServer\Document\DocumentConversionException: TypeError: Cannot read property 'om' of undefined at mm.Rh #286

Open
g-work opened this issue Dec 17, 2022 · 3 comments

Comments

@g-work
Copy link

g-work commented Dec 17, 2022

The following error appears about once every hour (today: 01:04, 02:17, 03:51, 05:03, 06:14, 07:25, 08:36, 09:47, 10:58, 12:11, 13:22, 14:33, 15:44, 16:55, 18:06).

[documentserver_community] Fehler: OCA\DocumentServer\Document\DocumentConversionException: TypeError: Cannot read property 'om' of undefined
    at mm.Rh (<anonymous>:19930:444)
    at za.C.asc_docs_api.asc_nativeApplyChanges2 (<anonymous>:11253:127)
Uncaught TypeError: Cannot read property 'om' of undefined
DoctRenderer:<result><error index="0" /></result>
 at <<closure>>

0. /volume1/web/nc/apps/documentserver_community/lib/DocumentConverter.php line 125
   OCA\DocumentServer\Document\ConverterBinary->run("/volume1/@tmp/oc_tmp_mHRONQ-.xml", null)
1. /volume1/web/nc/apps/documentserver_community/lib/DocumentConverter.php line 80
   OCA\DocumentServer\DocumentConverter->runCommand(OCA\DocumentServ ... {})
2. /volume1/web/nc/apps/documentserver_community/lib/Document/DocumentStore.php line 156
   OCA\DocumentServer\DocumentConverter->saveChanges("*** sensitive parameters replaced ***", ["78;AgAAADEA//8 ... "], "/volume1/web/nc ... x", "docx")
3. /volume1/web/nc/apps/documentserver_community/lib/LocalAppData.php line 102
   OCA\DocumentServer\Document\DocumentStore->OCA\DocumentServer\Document\{closure}("*** sensitive parameters replaced ***")
4. /volume1/web/nc/apps/documentserver_community/lib/Document/DocumentStore.php line 176
   OCA\DocumentServer\LocalAppData->getReadWriteLocalPath(OC\Files\SimpleFS\SimpleFolder {}, Closure {})
5. /volume1/web/nc/apps/documentserver_community/lib/Document/SaveHandler.php line 58
   OCA\DocumentServer\Document\DocumentStore->saveChanges(1908255055, [OCA\DocumentSer ... "])
6. /volume1/web/nc/apps/documentserver_community/lib/BackgroundJob/Cleanup.php line 71
   OCA\DocumentServer\Document\SaveHandler->flushChanges(1908255055)
7. /volume1/web/nc/lib/public/BackgroundJob/Job.php line 79
   OCA\DocumentServer\BackgroundJob\Cleanup->run(null)
8. /volume1/web/nc/cron.php line 177
   OCP\BackgroundJob\Job->execute(OC\BackgroundJob\JobList {}, OC\Log {})

GET /cron.php
from xx.xxx.x.xx at 2022-12-17T17:06:16+00:00

When I donwload logs, I find the additionally information
"app":"documentserver_community","method":"GET","url":"/cron.php","message":"Error while applying changes for document 1908255055"

Nextcloud Server: 24.0.8
Community Document Server: 0.1.13

@OneSleeve
Copy link

Having the same issue, just with protperty of Xl.

@Githopp192
Copy link

same to me

NC: 25.0.5
community Document Server: 0.1.13
OnlyOffice: 7.8.0

[documentserver_community] Error: OCA\DocumentServer\Document\DocumentConversionException: TypeError: Cannot read property 'om' of undefined
at ji.Rh (:19932:457)
at za.C.asc_docs_api.asc_nativeApplyChanges2 (:11253:127)
Uncaught TypeError: Cannot read property 'om' of undefined
DoctRenderer:
at <>

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

at 2023-04-06T14:35:04+02:00

@Eraph
Copy link

Eraph commented Feb 28, 2024

Same here. Unable to save changes to .docx files.

OCA\DocumentServer\Document\DocumentConversionException: TypeError: Cannot read property 'jf' of undefined
    at Hk.pc.JK (<anonymous>:18999:311)
    at ze.Tc.Ij (<anonymous>:18947:198)
    at ze.Eb.UG (<anonymous>:18962:85)
    at mm.Rh (<anonymous>:19945:6)
    at wa.C.asc_docs_api.asc_nativeApplyChanges2 (<anonymous>:11261:127) Uncaught TypeError: Cannot read property 'jf' of undefined DoctRenderer:<result><error index="1733" /></result>
    /var/snap/nextcloud/40228/nextcloud/extra-apps/documentserver_community/lib/DocumentConverter.php - line 125: OCA\DocumentServer\Document\ConverterBinary->run()
    /var/snap/nextcloud/40228/nextcloud/extra-apps/documentserver_community/lib/DocumentConverter.php - line 80: OCA\DocumentServer\DocumentConverter->runCommand()
    /var/snap/nextcloud/40228/nextcloud/extra-apps/documentserver_community/lib/Document/DocumentStore.php - line 156: OCA\DocumentServer\DocumentConverter->saveChanges()
    /var/snap/nextcloud/40228/nextcloud/extra-apps/documentserver_community/lib/LocalAppData.php - line 102: OCA\DocumentServer\Document\DocumentStore->OCA\DocumentServer\Document\{closure}("*** sensiti ... *")
    /var/snap/nextcloud/40228/nextcloud/extra-apps/documentserver_community/lib/Document/DocumentStore.php - line 154: OCA\DocumentServer\LocalAppData->getReadWriteLocalPath()
    /var/snap/nextcloud/40228/nextcloud/extra-apps/documentserver_community/lib/Document/SaveHandler.php - line 58: OCA\DocumentServer\Document\DocumentStore->saveChanges()
    /var/snap/nextcloud/40228/nextcloud/extra-apps/documentserver_community/lib/BackgroundJob/Cleanup.php - line 71: OCA\DocumentServer\Document\SaveHandler->flushChanges()
    /snap/nextcloud/40228/htdocs/lib/public/BackgroundJob/Job.php - line 81: OCA\DocumentServer\BackgroundJob\Cleanup->run()
    /snap/nextcloud/40228/htdocs/lib/public/BackgroundJob/Job.php - line 67: OCP\BackgroundJob\Job->start()
    /snap/nextcloud/40228/htdocs/cron.php - line 152: OCP\BackgroundJob\Job->execute()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants