diff options
Diffstat (limited to 'src/OwnCloud_Documents_on_Arch_Linux.adoc')
-rw-r--r-- | src/OwnCloud_Documents_on_Arch_Linux.adoc | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/src/OwnCloud_Documents_on_Arch_Linux.adoc b/src/OwnCloud_Documents_on_Arch_Linux.adoc new file mode 100644 index 0000000..891a1d4 --- /dev/null +++ b/src/OwnCloud_Documents_on_Arch_Linux.adoc @@ -0,0 +1,38 @@ +OwnCloud Documents on Arch Linux +================================ +:author: Aaron Ball +:email: nullspoon@iohq.net + + +== {doctitle} + +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. + +Category:ownCloud +Category:Linux +Category:Libreoffice + + +// vim: set syntax=asciidoc: |