OpenOffice Error

We are using Nextcloud 18.0.3 with OpenOffice. OO seems to be working, but I get zillions of errors related to it, the log file getting clogged up. It’s basically two kinds of errors:

Error #1:
documentserver_community OCA\DocumentServer\Document\DocumentConversionException: namespace error : Namespace prefix wp14 on sizeRelH is not defined rawingml/2006/main"/></wp:cNvGraphicFramePr><wp14:sizeRelH relativeFrom=“margin” ^ namespace error : Namespace prefix wp14 on pctWidth is not defined ain"/></wp:cNvGraphicFramePr><wp14:sizeRelH relativeFrom=“margin”><wp14:pctWidth ^ namespace error : Namespace prefix wp14 on sizeRelV is not defined 4:pctWidth>0</wp14:pctWidth></wp14:sizeRelH><wp14:sizeRelV relativeFrom=“margin” ^ namespace error : Namespace prefix wp14 on pctHeight is not defined 14:pctWidth></wp14:sizeRelH><wp14:sizeRelV relativeFrom=“margin”><wp14:pctHeight ^
0. /home/[my_server]/apps/documentserver_community/lib/DocumentConverter.php - line 123:
OCA\DocumentServer\Document\ConverterBinary->run("/tmp/oc_tmp_15gKMP-.xml", null)

  1. /home/[my_server]/apps/documentserver_community/lib/DocumentConverter.php - line 78:
    OCA\DocumentServer\DocumentConverter->runCommand(OCA\Document … {})
  2. /home/[my_server]/apps/documentserver_community/lib/Document/DocumentStore.php - line 151:
    OCA\DocumentServer\DocumentConverter->saveChanges("*** sensiti … *", [ "78;AgAAAD … "], “/home/[my_server] … x”, “docx”)
  3. /home/[my_server]/apps/documentserver_community/lib/LocalAppData.php - line 100:
    OCA\DocumentServer\Document\DocumentStore->OCA\DocumentServer\Document{closure}("*** sensiti … *")
  4. /home/[my_server]/apps/documentserver_community/lib/Document/DocumentStore.php - line 164:
    OCA\DocumentServer\LocalAppData->getReadWriteLocalPath(OC\Files\Sim … {}, Closure {})
  5. /home/[my_server]/apps/documentserver_community/lib/Document/SaveHandler.php - line 56:
    OCA\DocumentServer\Document\DocumentStore->saveChanges(909825368, [ OCA\Docume … }])
  6. /home/[my_server]/apps/documentserver_community/lib/BackgroundJob/Cleanup.php - line 69:
    OCA\DocumentServer\Document\SaveHandler->flushChanges(909825368)
  7. /home/[my_server]/lib/public/BackgroundJob/Job.php - line 79:
    OCA\DocumentServer\BackgroundJob\Cleanup->run(null)
  8. /home/[my_server]/cron.php - line 125:
    OCP\BackgroundJob\Job->execute(OC\BackgroundJob\JobList {}, OC\Log {})

Error #2:
documentserver_community OCA\DocumentServer\Document\DocumentConversionException: change_code: a?this.Nb.splice(d+1,this.Nb[0]-d):this.Nb[0]!==d+1&&0!==a&&(this.Nb.splice(d+2,this.Nb[0]-d-1),this.Nb[0]=d+1)}0===a&&this.Nb[0]!==d+1&&(this.Nb.splice(d+1,0,this.Nb.length-d-1),this.Nb[0]=d+1);c=1+this.Nb[0]+this.Nb[d+1]+2*a;this.Nb[c+0]=0;this.Nb[c+1]=0;return 0!==d||0!==a?this.Nb[c-1]:0};nb.prototype.saa=function(d,a,c,e){d=this.lxb(d,a);this.Nb[d+0]=c;this.Nb[d+1]=e};nb.prototype.qYb=function(d,a,c){this.Nb[this.lxb(d,a)+1]=c};nb.prototype.BG=function(){this.bb&&(this.bb.ey.b8d(),this.bb.kd.Z7a(Kl))}; change: Uncaught TypeError: Cannot read property ‘b8d’ of undefined DoctRenderer:
0. /home/[my_server]/apps/documentserver_community/lib/DocumentConverter.php - line 123:
OCA\DocumentServer\Document\ConverterBinary->run("/tmp/oc_tmp_3JzDxX-.xml", null)

  1. /home/[my_server]/apps/documentserver_community/lib/DocumentConverter.php - line 78:
    OCA\DocumentServer\DocumentConverter->runCommand(OCA\Document … {})
  2. /home/[my_server]/apps/documentserver_community/lib/Document/DocumentStore.php - line 151:
    OCA\DocumentServer\DocumentConverter->saveChanges("*** sensiti … *", [ "78;AgAAAD … "], “/home/[my_server] … x”, “docx”)
  3. /home/[my_server]/apps/documentserver_community/lib/LocalAppData.php - line 100:
    OCA\DocumentServer\Document\DocumentStore->OCA\DocumentServer\Document{closure}("*** sensiti … *")
  4. /home/[my_server]/apps/documentserver_community/lib/Document/DocumentStore.php - line 164:
    OCA\DocumentServer\LocalAppData->getReadWriteLocalPath(OC\Files\Sim … {}, Closure {})
  5. /home/[my_server]/apps/documentserver_community/lib/Document/SaveHandler.php - line 56:
    OCA\DocumentServer\Document\DocumentStore->saveChanges(3803990733, [ OCA\Docume … }])
  6. /home/[my_server]/apps/documentserver_community/lib/BackgroundJob/Cleanup.php - line 69:
    OCA\DocumentServer\Document\SaveHandler->flushChanges(3803990733)
  7. /home/[my_server]/lib/public/BackgroundJob/Job.php - line 79:
    OCA\DocumentServer\BackgroundJob\Cleanup->run(null)
  8. /home/[my_server]/cron.php - line 125:
    OCP\BackgroundJob\Job->execute(OC\BackgroundJob\JobList {}, OC\Log {})

Any idea what they migh mean?

Thank you very much

Lothar Schilling

I have a very similar error and before posting it I take turn just in case someone has a solution.

Have you tried doing?:
sudo -u www-data ./occ documentserver:flush

For some people doing that just fixes the error, form me it gives me:

    ....
Uncaught TypeError: Cannot read property 'b8d' of undefined              
      DoctRenderer:<result><error index="2637"

Thanks. Did as suggested “php occ documentserver:flush”

Uncaught TypeError: Cannot read property 'b8d' of undefined
DoctRenderer <result><error index="1801" /></result>

I have the same error and I don’t know how to fix it :frowning:
help!

Same here!

Same, I can’t download my documents in OnlyOffice. When trying to download the file in Nextcloud, I’m just getting an old version.