Document Editing Service address

Hello i just found out that we can managed document online with nexcloud with the application “Collabora Online”

My question is do we need another server for editing file ? Because when im creating a file and click on it ive got this error

{"reqId":"BDSbnup3MOBo88cgvsJj","level":3,"time":"2018-09-24T20:47:55+00:00","remoteAddr":"192.168.xx.xx","user":"username","app":"richdocuments","method":"GET","url":"\/nextcloud\/index.php\/apps\/richdocuments\/index?fileId=11347&requesttoken=nQkRKvg2XMkjELplfny%2BIg7ckDJigR1halp5Z1kg%2BZs%3D%3A9mpFaJFgd4xGVtIJTBv5UjydxHs6%2BH9QDGsLVChXzag%3D","message":"Exception: {\"Exception\":\"GuzzleHttp\\\\Exception\\\\RequestException\",\"Message\":\"cURL error 3: <url> malformed\",\"Code\":0,\"Trace\":\"#0 \\\/var\\\/www\\\/html\\\/3rdparty\\\/guzzlehttp\\\/guzzle\\\/src\\\/RequestFsm.php(103): GuzzleHttp\\\\Exception\\\\RequestException::wrapException(Object(GuzzleHttp\\\\Message\\\\Request), Object(GuzzleHttp\\\\Ring\\\\Exception\\\\RingException))\\n#1 \\\/var\\\/www\\\/html\\\/3rdparty\\\/guzzlehttp\\\/guzzle\\\/src\\\/RequestFsm.php(132): GuzzleHttp\\\\RequestFsm->__invoke(Object(GuzzleHttp\\\\Transaction))\\n#2 \\\/var\\\/www\\\/html\\\/3rdparty\\\/react\\\/promise\\\/src\\\/FulfilledPromise.php(25): GuzzleHttp\\\\RequestFsm->GuzzleHttp\\\\{closure}(*** sensitive parameters replaced ***)\\n#3 \\\/var\\\/www\\\/html\\\/3rdparty\\\/guzzlehttp\\\/ringphp\\\/src\\\/Future\\\/CompletedFutureValue.php(55): React\\\\Promise\\\\FulfilledPromise->then(Object(Closure), NULL, NULL)\\n#4 \\\/var\\\/www\\\/html\\\/3rdparty\\\/guzzlehttp\\\/guzzle\\\/src\\\/Message\\\/FutureResponse.php(43): GuzzleHttp\\\\Ring\\\\Future\\\\CompletedFutureValue->then(Object(Closure), NULL, NULL)\\n#5 \\\/var\\\/www\\\/html\\\/3rdparty\\\/guzzlehttp\\\/guzzle\\\/src\\\/RequestFsm.php(134): GuzzleHttp\\\\Message\\\\FutureResponse::proxy(Object(GuzzleHttp\\\\Ring\\\\Future\\\\CompletedFutureArray), Object(Closure))\\n#6 \\\/var\\\/www\\\/html\\\/3rdparty\\\/guzzlehttp\\\/guzzle\\\/src\\\/Client.php(165): GuzzleHttp\\\\RequestFsm->__invoke(Object(GuzzleHttp\\\\Transaction))\\n#7 \\\/var\\\/www\\\/html\\\/3rdparty\\\/guzzlehttp\\\/guzzle\\\/src\\\/Client.php(125): GuzzleHttp\\\\Client->send(Object(GuzzleHttp\\\\Message\\\\Request))\\n#8 \\\/var\\\/www\\\/html\\\/lib\\\/private\\\/Http\\\/Client\\\/Client.php(138): GuzzleHttp\\\\Client->get('\\\/hosting\\\/discov...', Array)\\n#9 \\\/var\\\/www\\\/html\\\/apps\\\/richdocuments\\\/lib\\\/WOPI\\\/DiscoveryManager.php(84): OC\\\\Http\\\\Client\\\\Client->get('\\\/hosting\\\/discov...')\\n#10 \\\/var\\\/www\\\/html\\\/apps\\\/richdocuments\\\/lib\\\/WOPI\\\/Parser.php(41): OCA\\\\Richdocuments\\\\WOPI\\\\DiscoveryManager->get()\\n#11 \\\/var\\\/www\\\/html\\\/apps\\\/richdocuments\\\/lib\\\/TokenManager.php(148): OCA\\\\Richdocuments\\\\WOPI\\\\Parser->getUrlSrc('application\\\/vnd...')\\n#12 \\\/var\\\/www\\\/html\\\/apps\\\/richdocuments\\\/lib\\\/Controller\\\/DocumentController.php(179): OCA\\\\Richdocuments\\\\TokenManager->getToken(*** sensitive parameters replaced ***)\\n#13 [internal function]: OCA\\\\Richdocuments\\\\Controller\\\\DocumentController->index('11347')\\n#14 \\\/var\\\/www\\\/html\\\/lib\\\/private\\\/AppFramework\\\/Http\\\/Dispatcher.php(161): call_user_func_array(Array, Array)\\n#15 \\\/var\\\/www\\\/html\\\/lib\\\/private\\\/AppFramework\\\/Http\\\/Dispatcher.php(91): OC\\\\AppFramework\\\\Http\\\\Dispatcher->executeController(Object(OCA\\\\Richdocuments\\\\Controller\\\\DocumentController), 'index')\\n#16 \\\/var\\\/www\\\/html\\\/lib\\\/private\\\/AppFramework\\\/App.php(115): OC\\\\AppFramework\\\\Http\\\\Dispatcher->dispatch(Object(OCA\\\\Richdocuments\\\\Controller\\\\DocumentController), 'index')\\n#17 \\\/var\\\/www\\\/html\\\/lib\\\/private\\\/AppFramework\\\/Routing\\\/RouteActionHandler.php(47): OC\\\\AppFramework\\\\App::main('OCA\\\\\\\\Richdocumen...', 'index', Object(OC\\\\AppFramework\\\\DependencyInjection\\\\DIContainer), Array)\\n#18 [internal function]: OC\\\\AppFramework\\\\Routing\\\\RouteActionHandler->__invoke(Array)\\n#19 \\\/var\\\/www\\\/html\\\/lib\\\/private\\\/Route\\\/Router.php(297): call_user_func(Object(OC\\\\AppFramework\\\\Routing\\\\RouteActionHandler), Array)\\n#20 \\\/var\\\/www\\\/html\\\/lib\\\/base.php(999): OC\\\\Route\\\\Router->match('\\\/apps\\\/richdocum...')\\n#21 \\\/var\\\/www\\\/html\\\/index.php(42): OC::handleRequest()\\n#22 {main}\",\"File\":\"\\\/var\\\/www\\\/html\\\/3rdparty\\\/guzzlehttp\\\/guzzle\\\/src\\\/Exception\\\/RequestException.php\",\"Line\":51}","userAgent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/69.0.3497.100 Safari\/537.36","version":"13.0.6.1"}

Ive seen in Admin settings there is a section for Collabora Online

There is an option to enter the Collabora Online server (URL (and port) of the Collabora Online server that provides the editing functionality as a WOPI client.)

SO is this the same server ?

Thanks for your help !

You can install “Collabora Online” or “Collabora Online Development Edition” on the same server and point Nextcloud to it.

So i just need to enter these 2 command line ?

docker pull collabora/code
docker run -t -d -p 127.0.0.1:9980:9980 -e ‘domain=cloud\.nextcloud\.com’ --restart always --cap-add MKNOD collabora/code

Both Collabora Online versions are available in the App Center.

@support_ti,

if you install the app from the command line:

$ univention-app install nextcloud
$ univention-app install collabora

The apps take care of the configuration for each other. Using the plain docker images will leave most of the integration work to you. The App Center does already take care of it. The result is that Nextcloud is up and running with the required Nextcloud app for Collabora already configured. You should be able to login to Nextcloud and start editing documents.

Best regards,
Nico

Well Collabora Online is enable in the apps store. So what i need to do next exactly ?

2018-09-25%2010_56_24-Apps%20-%20Ville%20De%20Blainville

I see this in admin section
2018-09-25%2011_01_19-Settings%20-%20Ville%20De%20Blainville

Thats the Appstore inside Nextcloud and you enabled the integration from Nextcloud to Collabora.
You need to install the app in the Univention Appcenter, either from the graphical Univention Management Console or from the commandline (on your UCS) as mentioned by Nico.

Ha ok :slight_smile:

And what exacly i need to enter here under “Settings” Is this my server address ?

https://cloud.domain.com

1)%20-%20Royal%20TS

Also what is the support key and how i get it exactly ?

Thanks !

The hostname to be specified here are the hosts that are allowed to deal with the documents. In your case it should be the name of your Nextcloud server (most likely the same if you installed the apps on one server).

As far as I know you need a subscription for Collabora Online. Contact details should be displayed in the App. This is where you probably get a support key.

The other app “Collabora Online Develepment Edition” doesnt need a key, but has some restrictions regarding number of users and documents that can be edited in parallel.

hth,
Dirk

Mastodon