I have a live version of our LMS and a test version. Both running moodle 3.52.
When I run the ghostscript test on the live server I get this error:
The full error text is this:
Command: '/usr/bin/ghostscript' -q -sDEVICE=png16m -dSAFER -dBATCH -dNOPAUSE -r'100' -dFirstPage='1' -dLastPage='1' -dDOINTERPOLATE -dGraphicsAlphaBits=4 -dTextAlphaBits=4 -sOutputFile='/home/lmschartallcamp/moodledata/temp/assignfeedback_editpdfplus_test/image_page0.png' '/home/lmschartallcamp/public_html/mod/assign/feedback/editpdfplus/tests/fixtures/testgs.pdf' Result: Output:When i run the same test on the testLMS the test passes.
I have checked my installation on Ghostscript on both servers and the paths are the same. The system path to Ghostscript has a green tick next to it too.
I have checked my installation on Libreoffice on both servers and installed an Unoconv listener on each server just in case.
I have also run the same Ghostscript command that is in the error message via the command line on the live server and It generates the image for annotation fine.
I have been trying to solve this issue for a few months now. Anyone got any ideas?