documentserver_community icon indicating copy to clipboard operation
documentserver_community copied to clipboard

Error while applying changes for document 688482094

Open pierr0t opened this issue 1 year ago • 2 comments

Hello, I'm getting continuous errors errors for OnlyOffice in Nextcloud. Nextcloud is v29.0.4, OnlyOffice is 9.3.0, Community Document Server is 0.1.18, PHP 8.3.9 on Debian12.

It seems that I can create a new xlsx document (activity shows it has been created), I can open it, edit it, but further modifications do not show in activity and if I download the document to open it locally with an Open Office or Excel, I do not see the modifications. But if I do open it back online I can modify it and I see the previous modifications, if I log out and back in with a different login I see the modifications...

Errors in log: {"reqId":"QbvKfBUN8UFHriNtxsKb","level":3,"time":"2024-07-22T12:27:31+00:00","remoteAddr":"","user":"--","app":"documentserver_community","method":"","url":"--","message":"Error while applying changes for document 688482094","userAgent":"--","version":"29.0.4.1","exception":{"Exception":"OCA\\DocumentServer\\Document\\DocumentConversionException","Message":"TypeError: Cannot read property 'length' of null\n at l.Zwe (<anonymous>:16954:378)\n at h.bN (<anonymous>:16961:415)\n at Object.bN (<anonymous>:13193:436)\n at B.AV (<anonymous>:17855:276)\n at <anonymous>:20737:392\n at n.LZj (<anonymous>:20738:208)\n at n.CDj (<anonymous>:20737:366)\n at n.S3 (<anonymous>:20651:459)\n at new n (<anonymous>:20647:198)\n at Sb.WRj (<anonymous>:11272:386)\nUncaught TypeError: Cannot read property 'length' of null\nTypeError: Cannot read property 'length' of null\n at l.Zwe (<anonymous>:16954:378)\n at h.bN (<anonymous>:16961:415)\n at Object.bN (<anonymous>:13193:436)\n at B.AV (<anonymous>:17855:276)\n at <anonymous>:20737:392\n at n.LZj (<anonymous>:20738:208)\n at n.CDj (<anonymous>:20737:366)\n at n.S3 (<anonymous>:20651:459)\n at new n (<anonymous>:20647:198)\n at Sb.WRj (<anonymous>:11272:386)\nUncaught TypeError: Cannot read property 'length' of null\nDoctRenderer:<result><error code=\"open\" /></result>\n","Code":0,"Trace":[{"file":"/home/XXXXXXX/public_html/custom_apps/documentserver_community/lib/DocumentConverter.php","line":125,"function":"run","class":"OCA\\DocumentServer\\Document\\ConverterBinary","type":"->"},{"file":"/home/XXXXXXX/public_html/custom_apps/documentserver_community/lib/DocumentConverter.php","line":80,"function":"runCommand","class":"OCA\\DocumentServer\\DocumentConverter","type":"->"},{"file":"/home/XXXXXXX/public_html/custom_apps/documentserver_community/lib/Document/DocumentStore.php","line":156,"function":"saveChanges","class":"OCA\\DocumentServer\\DocumentConverter","type":"->"},{"file":"/home/XXXXXXX/public_html/custom_apps/documentserver_community/lib/LocalAppData.php","line":102,"function":"OCA\\DocumentServer\\Document\\{closure}","class":"OCA\\DocumentServer\\Document\\DocumentStore","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/home/XXXXXXX/public_html/custom_apps/documentserver_community/lib/Document/DocumentStore.php","line":154,"function":"getReadWriteLocalPath","class":"OCA\\DocumentServer\\LocalAppData","type":"->"},{"file":"/home/XXXXXXX/public_html/custom_apps/documentserver_community/lib/Document/SaveHandler.php","line":58,"function":"saveChanges","class":"OCA\\DocumentServer\\Document\\DocumentStore","type":"->"},{"file":"/home/XXXXXXX/public_html/custom_apps/documentserver_community/lib/BackgroundJob/Cleanup.php","line":71,"function":"flushChanges","class":"OCA\\DocumentServer\\Document\\SaveHandler","type":"->"},{"file":"/home/XXXXXXX/public_html/lib/public/BackgroundJob/Job.php","line":80,"function":"run","class":"OCA\\DocumentServer\\BackgroundJob\\Cleanup","type":"->"},{"file":"/home/XXXXXXX/public_html/lib/public/BackgroundJob/Job.php","line":65,"function":"start","class":"OCP\\BackgroundJob\\Job","type":"->"},{"file":"/home/XXXXXXX/public_html/cron.php","line":177,"function":"execute","class":"OCP\\BackgroundJob\\Job","type":"->"}],"File":"/home/XXXXXXX/public_html/custom_apps/documentserver_community/lib/Document/ConverterBinary.php","Line":67,"message":"Error while applying changes for document 688482094","CustomMessage":"Error while applying changes for document 688482094"},"id":"669e5070aba5c"}

Any idea ? I submitted this with onlyoffice-nextcloud and they immediately told me to report it here ... Thanks.

pierr0t avatar Jul 22 '24 13:07 pierr0t

This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 60 days. Thank you for your contribution!

Retaking repo management include inheritance of old, not treated, and probablty obsolete issues, this is why it was decided to mark issues as stale.

github-actions[bot] avatar Dec 30 '24 00:12 github-actions[bot]

[documentserver_community] Fehler: Error while applying changes for document 2053572570 von ? von -- um 10.01.2025, 15:26:08

{"reqId":"5SULeJbfDwqmsHHBbMFa","level":3,"time":"2025-01-10T14:26:08+00:00","remoteAddr":"","user":"--","app":"documentserver_community","method":"","url":"--","message":"Error while applying changes for document 2053572570","userAgent":"--","version":"30.0.2.2","exception":{"Exception":"OCA\DocumentServer\Document\DocumentConversionException","Message":"TypeError: this.Ha.JK is not a function\n at ze.Tc.Ij (:18941:198)\n at ze.Eb.UG (:18956:85)\n at mm.Rh (:19939:6)\n at wa.C.asc_docs_api.asc_nativeApplyChanges2 (:11255:127)\nUncaught TypeError: this.Ha.JK is not a function\nDoctRenderer:<error index="8647" />\n","Code":0,"Trace":[{"file":"/var/www/html/custom_apps/documentserver_community/lib/DocumentConverter.php","line":125,"function":"run","class":"OCA\DocumentServer\Document\ConverterBinary","type":"->","args":["/tmp/oc_tmp_d64QhQ-.xml",null]},{"file":"/var/www/html/custom_apps/documentserver_community/lib/DocumentConverter.php","line":80,"function":"runCommand","class":"OCA\DocumentServer\DocumentConverter","type":"->","args":[{"class":"OCA\DocumentServer\Document\ConvertCommand"}]},{"file":"/var/www/html/custom_apps/documentserver_community/lib/Document/DocumentStore.php","line":156,"function":"saveChanges","class":"OCA\DocumentServer\DocumentConverter","type":"->","args":["*** sensitive parameters replaced ",["76;AgAAADEA//8BADcRGVzUlgIAjgAAAAEAAAAAAAAAAAAAAAAAAAAAAAAA9v///xoAAAA2AC4ANAAuADIALgA2AC4AQABAAFIAZQB2AA==","40;AgAAADIAAgACAAEAAAAEAAAADgAAADEAXwAyADgANQA4ADYAAAAAAA=="],"/var/www/html/data/appdata_oc7nfa33b0ow/documentserver_community/doc_2053572570/saved.odt","odt"]},{"file":"/var/www/html/custom_apps/documentserver_community/lib/LocalAppData.php","line":102,"function":"OCA\DocumentServer\Document\{closure}","class":"OCA\DocumentServer\Document\DocumentStore","type":"->","args":[" sensitive parameters replaced ***"]},{"file":"/var/www/html/custom_apps/documentserver_community/lib/Document/DocumentStore.php","line":154,"function":"getReadWriteLocalPath","class":"OCA\DocumentServer\LocalAppData","type":"->","args":[{"class":"OC\Files\SimpleFS\SimpleFolder"},{"class":"Closure"}]},{"file":"/var/www/html/custom_apps/documentserver_community/lib/Document/SaveHandler.php","line":58,"function":"saveChanges","class":"OCA\DocumentServer\Document\DocumentStore","type":"->","args":[2053572570,[{"class":"OCA\DocumentServer\Document\Change"},{"class":"OCA\DocumentServer\Document\Change"},{"class":"OCA\DocumentServer\Document\Change"},{"class":"OCA\DocumentServer\Document\Change"},{"class":"OCA\DocumentServer\Document\Change"},{"class":"OCA\DocumentServer\Document\Change"},{"class":"OCA\DocumentServer\Document\Change"},{"class":"OCA\DocumentServer\Document\Change"},{"class":"OCA\DocumentServer\Document\Change"},{"class":"OCA\DocumentServer\Document\Change"},{"class":"OCA\DocumentServer
... repeating 10000 times \Document\Change"},{"class":"OCA\DocumentServer\Document\Change"},{"class":"OCA\DocumentServer\Document\Change"},{"class":"OCA\DocumentServer\Document\Change"},{"class":"OCA\DocumentServer\Document\Change"},{"class":"OCA\DocumentServer\Document\Change"},{"class":"OCA\DocumentServer\Document\Change"},{"class":"OCA\DocumentServer\Document\Change"},{"class":"OCA\DocumentServer\Document\Change"},{"class":"OCA\DocumentServer\Document\Change"},{"class":"OCA\DocumentServer\Document\Change"},{"class":"OCA\DocumentServer\Document\Change"},{"class":"OCA\DocumentServer\Document\Change"},{"class":"OCA\DocumentServer\Document\Change"},{"class":"OCA\DocumentServer\Document\Change"},{"class":"OCA\DocumentServer\Document\Change"},{"class":"OCA\DocumentServer\Document\Change"},{"class":"OCA\DocumentServer\Document\Change"}]]},{"file":"/var/www/html/custom_apps/documentserver_community/lib/BackgroundJob/Cleanup.php","line":71,"function":"flushChanges","class":"OCA\DocumentServer\Document\SaveHandler","type":"->","args":[2053572570]},{"file":"/var/www/html/lib/public/BackgroundJob/Job.php","line":61,"function":"run","class":"OCA\DocumentServer\BackgroundJob\Cleanup","type":"->","args":[null]},{"file":"/var/www/html/lib/public/BackgroundJob/Job.php","line":46,"function":"start","class":"OCP\BackgroundJob\Job","type":"->","args":[{"class":"OC\BackgroundJob\JobList"}]},{"file":"/var/www/html/cron.php","line":162,"function":"execute","class":"OCP\BackgroundJob\Job","type":"->","args":[{"class":"OC\BackgroundJob\JobList"}]}],"File":"/var/www/html/custom_apps/documentserver_community/lib/Document/ConverterBinary.php","Line":67,"message":"Error while applying changes for document 2053572570","CustomMessage":"Error while applying changes for document 2053572570"},"id":"67812e0783437"}

rubo77 avatar Jan 10 '25 14:01 rubo77

This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 60 days. Thank you for your contribution!

Retaking repo management include inheritance of old, not treated, and probablty obsolete issues, this is why it was decided to mark issues as stale.

github-actions[bot] avatar Jun 23 '25 01:06 github-actions[bot]

This issue has been closed due to inactivity. If you feel this is in error, please reopen the issue or file a new issue with the relevant details.

github-actions[bot] avatar Aug 24 '25 23:08 github-actions[bot]