From 97a6e12461a38f7f6627c14bbfbf378ae2c7fa25 Mon Sep 17 00:00:00 2001 From: Andras Timar Date: Tue, 12 Apr 2016 13:07:46 +0200 Subject: [PATCH 1/3] better README --- README.md | 32 +++++++++++++++++++++++++++++++- 1 file changed, 31 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 29a136d1..cfae13b5 100644 --- a/README.md +++ b/README.md @@ -1 +1,31 @@ -richdocuments \ No newline at end of file +richdocuments – ownCloud application to integrate Collabora Online +==================================================================== + +Installation +------------ + + `make dist` + +Creates a tarball. The contents should go under `owncloud/apps/richdocuments`. + + `rpmbuild -ba -vv owncloud-collabora-online.spec` + +Creates an RPM package (tested only with openSUSE). The [CODE VM](https://collaboraoffice.com/code/) uses it. + +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: + + `'memcache.local' => '\OC\Memcache\APCu',` + +From command line you can use: + + `occ config:system:set --value='\OC\Memcache\APCu' memcache.local` + +You can enable richdocument application from the command line: + + `occ app:enable richdocuments` + +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: + + `occ config:app:set --value='https://:' richdocuments wopi_url` + +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`. From 1f1f76b676d4a27ec49c628d142ccd88545abca9 Mon Sep 17 00:00:00 2001 From: Andras Timar Date: Tue, 12 Apr 2016 13:09:33 +0200 Subject: [PATCH 2/3] better README --- README.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index cfae13b5..d3a33e73 100644 --- a/README.md +++ b/README.md @@ -4,28 +4,28 @@ richdocuments – ownCloud application to integrate Collabora Online Installation ------------ - `make dist` + make dist Creates a tarball. The contents should go under `owncloud/apps/richdocuments`. - `rpmbuild -ba -vv owncloud-collabora-online.spec` + rpmbuild -ba -vv owncloud-collabora-online.spec -Creates an RPM package (tested only with openSUSE). The [CODE VM](https://collaboraoffice.com/code/) uses it. +Creates an RPM package (tested only with openSUSE). The [CODE VM](https://collaboraoffice.com/code/) uses it. 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: - `'memcache.local' => '\OC\Memcache\APCu',` + 'memcache.local' => '\OC\Memcache\APCu', From command line you can use: - `occ config:system:set --value='\OC\Memcache\APCu' memcache.local` + occ config:system:set --value='\OC\Memcache\APCu' memcache.local You can enable richdocument application from the command line: - `occ app:enable richdocuments` + occ app:enable richdocuments 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: - `occ config:app:set --value='https://:' richdocuments wopi_url` + occ config:app:set --value='https://:' richdocuments wopi_url 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`. From 2608564da1ab50168d2f841e3021e755d3fd37e0 Mon Sep 17 00:00:00 2001 From: Andras Timar Date: Tue, 12 Apr 2016 13:15:40 +0200 Subject: [PATCH 3/3] better README --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index d3a33e73..862edf87 100644 --- a/README.md +++ b/README.md @@ -28,4 +28,10 @@ You need to configure the WOPI Client URL, which is where the LibreOffice Online occ config:app:set --value='https://:' richdocuments wopi_url -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`. +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