OnlyOffice and document versions

I’ve been testing out OnlyOffice and Collabora. OnlyOffice seems like a much smoother and more feature-rich editor, but (from what I can see) when you make changes with OnlyOffice there is no new version information stored in Nextcloud.

Is this correct, or am I missing something?


1 Like

you should see the versions in the filemanger, or they broke the plugin like the collabora guys did before.
Additionally to that, onlyoffice writes the document about 10-30 second back after all users closed the document, what I remember.

Same here: XML documents can be edited in Onlyoffice, changes also saved.


  • No file versions
  • No activities
  • No time stamp change
  • Files not synched to clients because of changes

I start Onlyoffice with this command:

sudo docker run -i -t -d -p 8888:443 \
    -v /app/onlyoffice/DocumentServer/logs:/var/log/onlyoffice  \
    -v /app/onlyoffice/DocumentServer/data:/var/www/onlyoffice/Data  \

When I append the lib folder as mount point to the docker start command

sudo docker run -i -t -d -p 8888:443 \
    -v /app/onlyoffice/DocumentServer/logs:/var/log/onlyoffice  \
    -v /app/onlyoffice/DocumentServer/data:/var/www/onlyoffice/Data  \
    -v /app/onlyoffice/DocumentServer/lib:/var/lib/onlyoffice  \

then I get an Error at file opening and data inside the XML file is lost.

Issue created on Github:

what are XML Documents?

.docx .xlsx …

ah ok, i was wondering because there is another XML Format, with the same name.
I just retested that on then test nc 12.0 and it creates versions, I can download and open it in LO.
Do you have your documents in your account itself, or are they shared on a share, or from another user?

  • Documents are in my account. Some shared, some not.
  • What means LO?

LibreOffice the desktop software.

I have updated to NC12, and I’m still seeing the issue of documents edited in OnlyOffice not creating new Versions. Similarly, changes are not logged in the Activities for the document.

Further, if I make a change to a document the change does not trigger a sync action for the desktop sync client. Thus, local and remote documents are not the same and are not syncing.

hmm weird, I remember that I had an issue with onlyoffice after updating the plugin, after saving the settings in the adminpage everything worked fine again. I can’t remember any other issues yet.

any considerations about how to solve this case? I have the same issue here.

Hi @wifilegal

So even after several minutes after you saved the file, waited and probably even moved through your folders, the downloaded file is still empty?
I was curious, tested the behavior on my server and was very surprised that my freshly created and filled file was also empty after the download. However the download was about 30 seconds after I saved the files. When waiting a little longer (5min) the downloaded file contained the data as expected.

From the issues here I learned two important things:

  • onlyoffice needs some time to write back the document to nextcloud
  • in some cases there could be a certification issue preventing onlyoffice to write back the file

Have you checked that already? Could you double check your logs for any error message as well, please?