So I had to reinstall libreoffice via rpm on our Moodle 3.2.x test platform and not it says that the ghostscript and unoconv path is not there though they are!
Php 7.1.8 ... redhat 7.5 enterprise 64-bit
My ghostscript path is: /bin/ghostscript and unoconv is in /usr/bin/unoconv. They are there but when I put them in the System Path, they said they not valid. Was working before and we have an upgrade next Monday ...
I followed this to the tee
https://docs.moodle.org/36/en/Universal_Office_Converter_(unoconv)#CentOS_.2F_RedHat
Only diff is that I downloaded and installed the libreoffice version (6.1.3.x) through their site and not through redhat's package (which is quite old) at 5.2.
Here is my "/etc/systemd/system/unoconv.service"
[Unit]
Description=Unoconv listener for document conversions
Documentation=https://github.com/dagwieers/unoconv
After=network.target remote-fs.target nss-lookup.target
[Service]
Type=simple
Environment="UNO_PATH=/opt/libreoffice6.1/program"
ExecStart=/usr/bin/unoconv --listener
[Install]
WantedBy=multi-user.target
see attached 2 images
What did I do wrong?