[GH-ISSUE #515] table "doc_changes" was cleared #248

Closed
opened 2026-02-26 10:31:18 +03:00 by kerem · 4 comments
Owner

Originally created by @suibber on GitHub (Oct 17, 2022).
Original GitHub issue: https://github.com/ONLYOFFICE/Docker-DocumentServer/issues/515

Do you want to request a feature or report a bug?
bug

What is the current behavior?
i use external mariadb ,when i chart on onlyoffice web, i found data has been store to table "doc_changes", but when i restart the server, table "doc_changes" was cleared

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.
restart the server

What is the expected behavior?
Data needs to be preserved

Did this work in previous versions of DocumentServer?
no

DocumentServer Docker tag:
v6.x

Host Operating System:
linux x86

Originally created by @suibber on GitHub (Oct 17, 2022). Original GitHub issue: https://github.com/ONLYOFFICE/Docker-DocumentServer/issues/515 **Do you want to request a *feature* or report a *bug*?** bug **What is the current behavior?** i use external mariadb ,when i chart on onlyoffice web, i found data has been store to table "doc_changes", but when i restart the server, table "doc_changes" was cleared **If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.** restart the server **What is the expected behavior?** Data needs to be preserved **Did this work in previous versions of DocumentServer?** no **DocumentServer Docker tag:** v6.x **Host Operating System:** linux x86
kerem closed this issue 2026-02-26 10:31:19 +03:00
Author
Owner

@ShockwaveNN commented on GitHub (Oct 17, 2022):

Hi

DocumentServer Docker tag:
v6.x

This is very old and unsupported version, could you check it on latest stable v7.2

<!-- gh-comment-id:1280740937 --> @ShockwaveNN commented on GitHub (Oct 17, 2022): Hi > DocumentServer Docker tag: > v6.x This is very old and unsupported version, could you check it on latest stable v7.2
Author
Owner

@suibber commented on GitHub (Oct 18, 2022):

Thank you for reply, i found when the session closed, the data will be cleared. Is that the product design?

So is there any need to persist the data?

<!-- gh-comment-id:1281783385 --> @suibber commented on GitHub (Oct 18, 2022): > Thank you for reply, i found when the session closed, the data will be cleared. Is that the product design? So is there any need to persist the data?
Author
Owner

@ShockwaveNN commented on GitHub (Oct 18, 2022):

@suibber After the session is closed those changes are sent to the document stored in DMS and a new version of the document with the applied changes is built

If you need to store the diff I think it's should be done on the DMS side

DocumentServer is designed that way, that if there is currently no opened sessions and there is no unsaved document - it store no data and you can safely update it, or drop database table without loosing any data - all file data is stored in document in DMS

<!-- gh-comment-id:1281852327 --> @ShockwaveNN commented on GitHub (Oct 18, 2022): @suibber After the session is closed those changes are sent to the document stored in DMS and a new version of the document with the applied changes is built If you need to store the diff I think it's should be done on the DMS side DocumentServer is designed that way, that if there is currently no opened sessions and there is no unsaved document - it store no data and you can safely update it, or drop database table without loosing any data - all file data is stored in document in DMS
Author
Owner

@suibber commented on GitHub (Oct 18, 2022):

I see. Thank you for your patience

<!-- gh-comment-id:1281935239 --> @suibber commented on GitHub (Oct 18, 2022): I see. Thank you for your patience
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Docker-DocumentServer-ONLYOFFICE#248
No description provided.