af16a4cd27
Due to API change (searchByMime), app was completely broken when installed with owncloud9. This change should make it work with owncloud9, while still keeping older owncloud version (upto 8.2) in working state. Lets use functions on object returned by searchByMime instead of directly accessing its data members. |
8 years ago | |
---|---|---|
appinfo | 8 years ago | |
assets | 10 years ago | |
controller | 8 years ago | |
css | 9 years ago | |
img | 9 years ago | |
js | 8 years ago | |
l10n | 9 years ago | |
lib | 8 years ago | |
src | 8 years ago | |
templates | 8 years ago | |
tests | 8 years ago | |
.gitignore | 8 years ago | |
.scrutinizer.yml | 9 years ago | |
.travis.yml | 8 years ago | |
CONTRIBUTING.md | 9 years ago | |
Makefile | 8 years ago | |
README.md | 8 years ago | |
admin.php | 9 years ago | |
owncloud-collabora-online.spec.in | 8 years ago | |
personal.php | 9 years ago | |
public.php | 9 years ago | |
settings.php | 9 years ago |
README.md
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 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://<hostname or IP address>:<port>' richdocuments wopi_url
Default port is 9980. If loolwsd was compiled without SSL (like in the CODE VM), 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