This is just a quick note for those folks who are running Arch Linux on their servers (I am). I was having trouble getting MS Word documents to render on my instance, despite having installed LibreOffice (fresh). When I went to enable openoffice/libreoffice support, it errored out, telling me to check my logs, which gave me nothing more than an ambiguous 500 error (I checked the php, php-fpm, nginx, and owncloud logs). Finally, I su'd into the account that owncloud/php was running under and attempted to execute the libreoffice binary, which failed (Wooo! Useful output!). This is the error I received.
Failed to open display
javaldx: Could not find a Java Runtime Environment!
Warning: failed to read path from javaldx /usr/lib/libreoffice/program/soffice.bin: error while loading shared libraries: libcups.so.2: cannot open shared object file: No such file or directory
Most of that can be ignored as they are just warnings. There is one error however and that is the cups error (the last line).
For LibreOffice to support document exporting, it needs cups (the daemon doesn't need to be running, we just need the library).
Once you've got cups installed (pacman -S cups
) and support enabled in
ownCloud, you should be able to work on MS Word files in-browser.
Written on: 2015-05-31 14:51:03 -0600
Last edited: 2025-03-07 22:48:31 UTC