You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
richdocuments/README.md

38 lines
1.6 KiB
Markdown

8 years ago
richdocuments ownCloud application to integrate Collabora Online
====================================================================
Installation
------------
8 years ago
make dist
8 years ago
Creates a tarball. The contents should go under `owncloud/apps/richdocuments`.
8 years ago
rpmbuild -ba -vv owncloud-collabora-online.spec
8 years ago
8 years ago
Creates an RPM package (tested only with openSUSE). The [CODE VM](https://collaboraoffice.com/code/) uses it.
8 years ago
Memcache is a requirement (tested only with APCu). Install php-apcu, php5-apcu, or whatever this package is called on your Linux distro, and add the following line to owncloud/config/config.php:
8 years ago
'memcache.local' => '\OC\Memcache\APCu',
8 years ago
From command line you can use:
8 years ago
occ config:system:set --value='\OC\Memcache\APCu' memcache.local
8 years ago
You can enable richdocument application from the command line:
8 years ago
occ app:enable richdocuments
8 years ago
You need to configure the WOPI Client URL, which is where the LibreOffice Online WebSocket Daemon (loolwsd) is listening. It is in Admin - Collabora Online section in ownCloud, or you can set it from command line:
8 years ago
occ config:app:set --value='https://<hostname or IP address>:<port>' richdocuments wopi_url
8 years ago
8 years ago
Default port is 9980. If loolwsd was compiled without SSL (like in the [CODE VM](https://collaboraoffice.com/code/)), you have to write `http` instead of `https`. If you use SSL, and you get the following error:
cURL error 60: SSL certificate problem: self signed certificate in certificate chain
You have to add the CA cert manually to ownCloud trusted cert storage:
cat ca-chain.cert.pem >> owncloud/resources/config/ca-bundle.crt