I'm running LibreOffice 4.2.5.2 on Ubuntu 14.04. Trying to open any document (at first only with large ones, but now all of them) returns either of the messages below:
General Error. General input/output error opening documents with Libreoffice
or
Locked for editing by Unknown User
or
The file is corrupt, should LibreOffice repair it?
LibreOffice 4.1.6, which came with the distribution upgrade, had the same bug.
Deleting the lock files (which I tried) does not fix it.
Sending the "corrupt" files to my email, I can preview their contents without problems.
I use LibreOffice only on Linux.
Best Answer
This fixed the "General Error. General input/output error" problem for me after upgrading from Ubuntu 12.04 LTS to 16.04 LTS:
It seems like only a few of the LibreOffice packages were installed on the system after the upgrade. The above command installed some more of the packages.