All odt files corrupt?

I’ve suddenly discovered that every .odt file I have created in the past is now being described as corrupted when I try to open them.

[filename] is corrupt and therefore cannot be opened. LibreOffice can try to repair the file.

The corruption could be the result of document manipulation or of structural document damage due to data transmission.

We recommend that you do not trust the content of the repaired document.
Execution of macros is disabled for this document.

Attempting to repair always results in the following message:
“Couldn’t be repaired”

Subsequently followed by:
“General error”

If I send any of the odt files to a friend’s computer they are able to open them all just fine. Also, if they save the odt to their pc and then send it back to me I am able to open it but if I save it out again and try to re-open it I get the corrupt message yet again.

I’m running the following version of Writer on Ubuntu:

Version: 5.1.6.2
Build ID: 1:5.1.6~rc2-0ubuntu1~xenial10
CPU Threads: 4; OS Version: Linux 4.4; UI Render: default;
Locale: en-GB (en_GB.UTF-8); Calc: group

Any constructive help would be welcomed.

Well, you’re running an outdated computer configuration. Present LO release is in the 7.5.x-7.6-y series. Linux kernel is 6.4+. Try to upgrade, but this does not explain why YOUR documents which YOU previously wrote on YOUR computer can’t be open.

1 Like

Where do you store your files?

Is the hard drive failing?

What is the LibreOffice version of your friend?
They can open your file, and you can open their file sent to you. Try to autosend a file to yourself.

As @EdwardTrunk can send the file to other people without problems, I’d rule this out as a cause.

Is more promising, as cloud storage sometimes may not give full access to files.
.
Another piece to try would be the now available “safe mode” as in “try to rename your user-profile”, as a corrupt profile can show really weird behaviour.

I would suggest “blowing up a wall to kill a fly”. At the same time, of course, updating the packages on your computer. In other words. Perform a complete system re-load with a newer version of Linux. (That should also include a later version of LibreOffice too). DON"T FORGET to back up ALL critical files first!.

It’s amazing the stuff that gets left behind on a computer after a few years of use without the benefit of a system re-load. e.g. programs installed to try, and promptly forgotten. Documents no longer wanted etc.
Linux is certainly better than windows in regard to driver management, but it is still not perfect.