I'm trying to offload unoconv from the main frontend so, following this guide https://docs.moodle.org/310/en/Universal_Office_Converter_(unoconv)#Run_a_unoconv_listener I've deployed an additional server with only the unoconv service listening on port 2002.
The problem is, no matter what I do, I always get the same error when attempting to convert any file. Testing from console first:
/usr/bin/unoconv --server=172.16.250.46 /home/myuser/Test.docx
unoconv: RuntimeException during import phase:
Office probably died. Unsupported URL <file:///home/myuser/Test.docx>: "type detection failed"
Both machines are running ubuntu.
Both machines libreoffice has been upgraded to the latest version via libreoffice's official repos: Same issue as with the "older" versions.
unoconv is in the same version on both:
unoconv 0.7
Written by Dag Wieers <dag@wieers.com>
Homepage at http://dag.wieers.com/home-made/unoconv/
platform posix/linux
python 3.6.8 (default, Jan 14 2019, 11:02:34)
[GCC 8.0.1 20180414 (experimental) [trunk revision 259383]]
LibreOffice 7.0.4.2
I really am out of ideas on how to proceed right now.
Fearing it was a communication/configuration issue on the unoconv server, I've tested to deploy a docker image with unoconv running and tried a conversion process from the same machine experiencing the very same error message.
Tried with multiple different doc/docx and image fines with the same result exactly.
Any ideas?