Closed muschellij2 closed 4 years ago
In plumber, I was getting:
running command '"/usr/bin/soffice" --convert-to pdf --headless --outdir "/opt/rstudio-connect/mnt/tmp/Rtmp60Kr1p" "/opt/rstudio-connect/mnt/tmp/Rtmp60Kr1p/file4b3475b6b63f.pptx"' had status 1
So I had to add:
LD_LIBRARY_PATH = Sys.getenv("LD_LIBRARY_PATH") Sys.setenv( LD_LIBRARY_PATH= paste0( "/usr/lib/libreoffice/program", ":", LD_LIBRARY_PATH))
which fixed the issue. For future users.
In plumber, I was getting:
So I had to add:
which fixed the issue. For future users.