Hello Remidebette,
thank you very much for your fast help with the copying of the certificate!
I had to spend quite some time to get my SSL certificates working correctly (it turns out the OpenSSL client used by the app is more picky about the intermediate certificates, than the normal web-browsers), but now it works.
I finally managed to get NextCloud-Collabora/Code working on Jessie.
The official guide is absolutely fantastic, thanks guys, but need to add a note as (today) Docker aufs on Jessie has got issues so devicemapper should be used instead.
Once I switched to devicemapper got to the following issue described by @jospoortvliet :
After much pain and testing I rechecked also NextCloud configuration to find that āoverwrite.cli.urlā was set to http instead of https, Added the āsā and it loaded the documents flawlessly.
[ loolkit ] link("/opt/collaboraoffice5.1/CREDITS.fodt","/opt/lool/child-roots/1032/lo/CREDITS.fodt") failed. Exiting. (errno: Operation not permitted)
I changed the permissions of the files to belong to lool:lool (uid 105 gid 108), but I did it for all the files below /opt/collaboraoffice5.1.
Now this error is gone and I run into another error.
mknod(/opt/lool/child-roots/1973//dev/random) failed. (errno: Operation not permitted)
I think this is because I changed permisisons too generously. I donāt have any more time today maybe someone wants to fiddle it out or I will try tomorrow
I can answer the question about different portnumbers now. Putting the portnumber in several ways after the domainname didnāt work. So Iāve added --expose <portnumber> to the line from the docs and it is running
Hey Pupaxxo, i have the same problem, could you please tell me on what file exactly you change this line ?
Thank you in advance.
EDIT : Here is the answer of @pupaxxo :
I edited this file apps/richdocuments/controller/documentcontroller.php
adding this line $token = str_replace("?encoding=text", āā, $token); after the token variable declaration
So i done that then i got an error in docker : wrong permission.
So i had to edit /etc/default/docker and to add this line :
DOCKER_OPTS="āstorage-driver=aufs"
(Be sure to have Linux Extra image installed apt-get install linux-image-extra-$(uname -r) )
Made a reboot, rebuild the docker image and itās working now.
I have succesfully installed collabora but for some reasin it is extremely slow. It takes about 20 seconds to open a document. In the docker log I can find anything that might be the problem. Maybe someone else can see it?
I have put the log here since it is to big to put in the code tags.
not yet, weāre actually looking for customers to work with us getting this set up for 10K users or so and create a nice set of best practices for that. Collabora has experience with it so it shouldnāt be super painful but it has to be done on our side a few times first before Iām happy to write a white paperā¦
To everyone who faced the unexpected connection error:
Please check if you have restricted the collabora online app within nextcloud/ownCloud to a specific user-group.
This doesnāt work now - seems to be a bug.
Filed here: https://github.com/owncloud/richdocuments/issues/102
Changing /etc/default/docker and add DOCKER_OPTS=āāstorage-driver=aufsā does not work on systemd.
Installing docker from other sources (script based etc) is not necessary.
remove unexpected connection error
Dont restrict the nextCloud/ownCloud app to a specific user group
Does anyone know how to install fonts (ttf) that can be displayed or used in a document by Collabora?
Installing the fonts in the hosting Linux environment does not seem to suffice.
its on the second part from i understand. When i try to make a new doc the file itself is made, but Collabor does not open it.
in the docker.log from var/logs is no entry at all (last one is from 2 days ago).
the logging from nextcloud throws the folowing debugging infos: (newest to oldest)
Debug no app in context Issuing token for USER file 43, version 0 owned by USER, path/to/file/file
Debug richdocuments Generating WOPI Token for file 43, version 0.
Info admin_audit File accessed: "path/to/file/file "
Debug no app in context Storing the discovery.xml to the cache.
Debug no app in context getDiscovery(): Getting discovery.xml from the cache.
Debug no app in context Storing the discovery.xml to the cache.
Debug no app in context getDiscovery(): Getting discovery.xml from the cache.
Error files Could not find resource file ā/apps/files/js/jquery.iframe-transport.jsā