Community Document Server saving issues(ONLYOFFICE)

hey, i thought it was a good idea to set up my cloud for corona. to work better on documents, we saw ONLYOFFICE as a good platform. Since the Docker images bother me a bit due to errors in the reverse proxy, I found the Community Document Server to be an good solution. I quickly encountered a problem there. I can open the files, but nothing is written to the file. In other words, the document is up-to-date in the web instance, but not as an example when downloading. I did not find anything during the rough search. does anyone have similar problems? and can someone help?

Tell me, if you need logs!

2 Likes

Yes.

yesterday I switched Nextcloud from Ajax to Cron. because ajax does not load the page regularly, cron helps a lot. I set the cronjob to 1 minute and the changes in the document were written after 2 minutes at the latest. I suspect the files are cached on the Document Server because of the collaboration stuff.

Workaround at the moment:

Cronjob every minute instead of AJAX.

Location of Document edits until it’s been written:

MariaDB/MySQL Table: oc_documentserver_changes

1 Like

This workaround doesn’t seem to work for me.

I was already running cron (which defaults to 5 minutes). No matter how long I wait, it doesn’t update the actual file. Even when the file has been closed / all users disconnected.

What I do get, however, is a lot of spam in the error log like this:

Error	documentserver_community	OCA\DocumentServer\Document\DocumentConversionException: namespace error : Namespace prefix wp14 on sizeRelH is not defined x 2" hidden="false"/><wp:cNvGraphicFramePr/><wp14:sizeRelH relativeFrom="margin" ^ namespace error : Namespace prefix wp14 on pctWidth is not defined lse"/><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 ^ namespace error : Namespace prefix wp14 on sizeRelH is not defined x 2" hidden="false"/><wp:cNvGraphicFramePr/><wp14:sizeRelH relativeFrom="margin" ^ namespace error : Namespace prefix wp14 on pctWidth is not defined lse"/><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 ^ namespace error : Namespace prefix wp14 on sizeRelH is not defined x 2" hidden="false"/><wp:cNvGraphicFramePr/><wp14:sizeRelH relativeFrom="margin" ^ namespace error : Namespace prefix wp14 on pctWidth is not defined lse"/><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 ^ namespace error : Namespace prefix wp14 on sizeRelH is not defined x 7" hidden="false"/><wp:cNvGraphicFramePr/><wp14:sizeRelH relativeFrom="margin" ^ namespace error : Namespace prefix wp14 on pctWidth is not defined lse"/><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 ^
/var/www/nextcloud/apps/documentserver_community/lib/DocumentConverter.php - line 123:

OCA\DocumentServer\Document\ConverterBinary->run("/tmp/oc_tmp_new0K5-.xml", null)

/var/www/nextcloud/apps/documentserver_community/lib/DocumentConverter.php - line 78:

OCA\DocumentServer\DocumentConverter->runCommand(OCA\Document ... {})

/var/www/nextcloud/apps/documentserver_community/lib/Document/DocumentStore.php - line 151:

OCA\DocumentServer\DocumentConverter->saveChanges("*** sensiti ... *", [ "78;AgAAAD ... "], "/web/nextcl ... x", "docx")

/var/www/nextcloud/apps/documentserver_community/lib/LocalAppData.php - line 100:

OCA\DocumentServer\Document\DocumentStore->OCA\DocumentServer\Document\{closure}("*** sensiti ... *")

/var/www/nextcloud/apps/documentserver_community/lib/Document/DocumentStore.php - line 164:

OCA\DocumentServer\LocalAppData->getReadWriteLocalPath(OC\Files\Sim ... {}, Closure {})

/var/www/nextcloud/apps/documentserver_community/lib/Document/SaveHandler.php - line 56:

OCA\DocumentServer\Document\DocumentStore->saveChanges(285668579, [ OCA\Docume ... }])

/var/www/nextcloud/apps/documentserver_community/lib/BackgroundJob/Cleanup.php - line 69:

OCA\DocumentServer\Document\SaveHandler->flushChanges(285668579)

/var/www/nextcloud/lib/public/BackgroundJob/Job.php - line 79:

OCA\DocumentServer\BackgroundJob\Cleanup->run(null)

/var/www/nextcloud/cron.php - line 125:

OCP\BackgroundJob\Job->execute(OC\BackgroundJob\JobList {}, OC\Log {})

So clearly it’s struggling with something but the error is completely unhelpful.