Obsolete Releases > SME 8.x Contribs
ownCloud and LibreOffice
Bud:
hope you guys can help
i have successfully installed ownCloud 7 on a SME 8.1 Server however for the ownCloud system to "edit" documents/html files it requires Libreoffice as the old "ckeditor addon" does not work with ownCloud 7
has anybody been able to install Libreoffice on a SME 8.1 Server and configured it to be used with any version of ownCloud?
can it be done?
any help greatly appreciated :P
DanB35:
I'm running SME 9.0, not 8.1 any more, but am also interested in using Owncloud in this way. A bit of web searching found this, although it's not 100% current:
http://www.tecmint.com/install-libreoffice-on-rhel-entos-6-3-5-8-and-fedora-17-16/
The current release RPM tarballs can be found at:
http://download.documentfoundation.org/libreoffice/stable/4.3.0/rpm/
The process from tecmint.com says to download the RPM tarball appropriate to your architecture, untar it, and yum localinstall *.rpm. That completed successfully on my machine. Next, I had to add the following line to owncloud's config.php file, before the closing ); :
--- Code: --- 'preview_libreoffice_path' => '/usr/bin/libreoffice4.3',
--- End code ---
On brief testing, it seems to work for me--I can open, edit, and save .doc files in my owncloud folder. No guarantee at all that it'll work on 8.1, but it might be worth a try.
stephdl:
I would suggest that you save your post in the wiki, thanks in advance.
DanB35:
While I'm waiting for Wiki access, I decided I'd test this on SME 8.1. It isn't working yet, though it seems like it's close. Here's what I did, in brief:
* Clean install of SME 8.1 in a VM. Install all updates.
* Upgrade PHP to 5.3.28 as directed here: http://wiki.contribs.org/Talk:OwnCloud#Mmccarn_.28talk.29_17:55.2C_30_December_2013_.28MST.29
* Install Owncloud 7.0.1 following http://wiki.contribs.org/OwnCloud
* Download RPM tarball from http://download.documentfoundation.org/libreoffice/stable/4.3.0/rpm/, extract, change into the RPMS directory, and yum localinstall *.rpm
* yum install java. Java isn't identified as a dependency for any of the LibreOffice RPMs, but Owncloud errors if it isn't installed (not sure if this is a LibreOffice or an Owncloud requirement).
* Edit owncloud's config.php as stated earlier
* Log in to owncloud as admin, go to the admin page, and hit "Apply and Test" under the Documents section.
The result looks like a permissions problem; I get this error in Owncloud's log:
--- Code: ---Conversion failed. Raw output::1: parser error : Document is empty 0M8R4KGxGuEAAAAAAAAAAAAAAAAAAAAAOwADAP7/CQAGAAAAAAAAAAAAAAABAAAAKQAAAAAAAAAAEAAA ^ mkstemp("//.execoooAE8LgB") failed: Permission denied
--- End code ---
I'll probably work more on this later, but this should at least get folks started.
Bud:
DanB35 thanks for helping
after installing i get the same error using SME 8.1 64Bit and ownClound 7.0 as you did.
awaiting with abated breath for a solution
thanks again :smile:
Navigation
[0] Message Index
[#] Next page
Go to full version