ONLYOFFICE / DesktopEditors

An office suite that combines text, spreadsheet and presentation editors allowing to create, view and edit local documents
https://www.onlyoffice.com
Other
2.83k stars 322 forks source link

OnlyOffice randomly corrupts any file worked from flash drive #1325

Closed tejada-c closed 1 year ago

tejada-c commented 1 year ago

This issue is unique.

Operating System

Linux (DEB package)

Version information

7.4

Expected Behavior

OnlyOffice should work normally when opening a file from a USB flash drive and it should be able to save the changes without any errors or corruption of the file that was changed.

Actual Behavior

OnlyOffice randomly corrupts any file worked from flash drive, in version 7.4 for Ubuntu. If he doesn't notice the error message when he tries to save it and doesn't save it under another name, OnlyOffice corrupts all the original file, losing all the information that the file had, which only appears as plain text, with 0 bytes of storage space.

Corrupted file sample: ACTIVIDAD INTEGRADORA TRIMESTRE II.docx

Reproduction Steps

  1. Open a text or presentation file with OnlyOffice, from a usb flash memory.
  2. Edit it for a bit
  3. Then paste an image from the internet
  4. Finally, click save.
  5. Randomly, the error may occur. It doesn't always come up.

Additional information

No response

janxkoci commented 1 year ago

Or it could just be a wonky flash drive / USB port. I have several flash drives with weird quirks - some of them don't work in any computer other than mine, for example :shrug: And one fancy Sandisk I bought in Germany disconnects some 10 minutes after I plug it in, almost every time I try to use it - €40 out the window.

matveevms commented 1 year ago

Hello, @janxkoci. I was unable to reproduce your issue on my devices. Please tell me if the problem is repeated in other editors when using the same USB flash drive/ USB port?

janxkoci commented 1 year ago

@matveevms Sorry, but I never said I have the issue. In fact, I think it's more likely the issue is with OP's hardware (a flashdrive) rather than with OnlyOffice.

tejada-c commented 1 year ago

I work with several students throughout the day, and every class I have, at least three students get this error. It's not that the memory is damaged, because most of them use new memories and it doesn't always happen to the same person. It's a random error, but I haven't identified the exact reason. We all work with Ubuntu 22.04 LTS.

tejada-c commented 1 year ago

to see details of this bug, go to this link https://github.com/ONLYOFFICE/DesktopEditors/issues/1339

sskdv commented 1 year ago

Good afternoon. Please tell me, was it possible to solve or defeat the problem with saving files? The case when when saving a file it becomes zero in size?!

matveevms commented 1 year ago

Hello, @sskdv If your problem is not related to the flash drive, you need to open a new issue. Thank you in advance.

Rita-Bubnova commented 1 year ago

I close this issue. Feel free to comment or reopen it if you got further questions.