I entered in the source web form that all files must always be extracted. I suspected that mayan tried to extract my MSG files as an archive first and of course this fails. So I have changed the source from exttracting files “always” to “always ask”. The upload of MSG files now works again.
Hello,
every time I upload a msg file from MS Outlook I get an empty document in mayan edms version 4.5.8 (docker installation). I see an entry in files section and can download the file. But the downloaded file has 0 bytes.
Does anybody know whats going wrong here?
The logs do not show any Error messages.
The command creates the directory “2023-09-10_1508 Einladung Andacht an der Kreuzanlage am 17.09.2023, 1700 Uhr”. It contains a single file message.txt.
Dear Roberto, if necessary I can provide you with the MSG file.
Addendum
I have just discovered something new. I am currently only using the web form as a source (#/sources/sources/documents/wizard/). If I now create a document with a MSG file (I get a new document “unnamed file”) and then I add the same file again under Files of the neu document. The MSG file is read correctly. Very strange. But now I have found a workaround with which I can continue working
I just happened to see that I had entered in the source web form that all files must always be extracted. I suspect that mayan tried to extract my MSG files as an archive first. Of course this fails. I have now changed the source from always to always ask. Now the upload of MSG files works. Yuppie!!!
I mention that there may be a list of exclusive files wich gets never decompressed. Is there some exclusion list in the code of Mayan?
If this is the case, the list should contain the msg extension. The „bug“ can easily be reproduced by setting the flag „decompress files“ in the upload web form and then add some msg files in the drop zone.