Hi guys, we have a problem in our live system and I built a test system to see if the issue replicates, which it has. The problem I am experiencing, is that when a document is uploaded to the repository, I am getting a message when trying to preview it: 'This document can't be previewed. Click here to download it.'
I can see others have had this issue on the forum, but in the cases I have seen they have made changes from the install configuration, whereas I am working with a new install. I have checked and I can see that soffice.bin is running as a local service.
The file type is a .docx and is around 1.3Mb in size, when it is uploaded Alfresco regognises the mimetype as Microsoft Word 2007.
Interestingly, I did some basic testing and found that the software does not behave the same 100% of the time. I uploaded the document, tried to preview and got the 'document can't be previewed' message, I then deleted the document and uploaded again, this time the preview was available. I deleted and uploaded the document again to see if it would always now show a preview, only this time it did not preview the document. I repeated this around 4-5 times and in all of those cases I got the 'document can't be previewed' message, so out of around 6-7 uploads, only one showed a preview.
Could it be that whatever generates the preview has a very short timeout (as the document takes seconds to upload in all cases)?