Problems with Nextcloud 14 and Collabora

nc14

#1

Hello everybody,

I’ve been using Nextcloud since the beginning (previously owncloud) and am very happy with that.

Recently I rented a new V-Server to use Collabora with Nextcloud and Nginx after the two following German manuals:

https://nichteinschalten.de/collabora-mit-nextcloud-und-nginx/
https://www.bitblokes.de/collabora-online-libreoffice-nextcloud-docker-code/

First I had the error “Unauthorized WOPI Host”, which I did not manage to fix. Since the Collabora App Version 3.0.2 I have only a loading screen (see Screenshot below).

Unfortunately, I dont know how to fix this error to get Collabora Online up and running.

Possibly important informations:

  • Nextcloud 14.0.3
  • nginx 1.15.5
  • OpenSSL 1.1.1
  • TLS 1.3 enabled
  • Ubuntu 18.04.1
  • PHP 7.2
  • Docker 18.06.1-ce
  • PostgreSQL 11.0
  • Two subdomains (one for Nextcloud and one for Collabora) (office.domain.tld for Collabora and cloud.domain.tld for Nextcloud)

I hope I have not forgotten anything and that you can help me


#2

Hello everybody,

unfortunately I have the same issue.
My System:
NC 14.0.3
Apache /2.4.29 (Ubuntu)
PHP 7.2
Collabora 3.4.0.8 as a Docker-Image on an Univention Server with Letsencrypt
Ubuntu 18.04.1
Maybe someone has any advices?

Regards Ari


#3

Same Problem under Univention Corporate Server (UCS)


#4

The problem persists even a month later !!!


#5

Similar problem. I’ve used Carsten Rieger’s great installation guides for Nextcloud and nginx (1 script option) and Collabora + Nextcloud.

NC version: 14.0.3
Docker Version: 18.06.1-ce
Collabora docker image version: 2018-11-13

In my Collabora online config in NC settings I have:

Collabora Online server = https://my.domain.com

When I try to open a document in NC I get the blank screen with spinning circle as @sftb above does.

In my docker container logs for the collabora docker container I get:

bernard$ cat ../../Documents/nextcloud_collabora.log 
    27-00028 2018-11-26 21:12:36.935095 [ prisoner_poll ] WRN  Waking up dead poll thread [docbroker_001], started: true, finished: true| ./net/Socket.hpp:551
    2018-11-26T21:12:36.935364016Z wsd-00027-00028 2018-11-26 21:12:36.935203 [ prisoner_poll ] WRN  Waking up dead poll thread [docbroker_001], started: false, finished: true| ./net/Socket.hpp:551
    2018-11-26T21:12:36.935405038Z wsd-00027-00028 2018-11-26 21:12:36.935263 [ prisoner_poll ] WRN  Waking up dead poll thread [docbroker_001], started: false, finished: true| ./net/Socket.hpp:551
    2018-11-26T21:12:45.119372602Z wsd-00027-00040 2018-11-26 21:12:45.118698 [ websrv_poll ] WRN  WOPI host did not pass optional access_token_ttl| wsd/FileServer.cpp:611
    2018-11-26T21:12:46.481236674Z wsd-00027-00050 2018-11-26 21:12:46.480996 [ docbroker_002 ] ERR  WOPI::CheckFileInfo failed with 404 Not Found| wsd/Storage.cpp:437
    2018-11-26T21:12:46.481468953Z wsd-00027-00050 2018-11-26 21:12:46.481313 [ docbroker_002 ] ERR  Failed to add session to [/apps/richdocuments/wopi/files/156425_ocj8uiqrskz3] with URI [https://my.domain.com/apps/richdocuments/wopi/files/156425_ocj8uiqrskz3?access_token=k59GwBG0XR93fRRflpmxlASYmCAS1Q9T&access_token_ttl=0&permission=edit]: WOPI::CheckFileInfo failed| wsd/DocumentBroker.cpp:1041
    2018-11-26T21:12:47.440264023Z wsd-00027-00050 2018-11-26 21:12:47.440018 [ docbroker_002 ] WRN  Child session [0006] not found to forward message: load url=https://my.domain.com/apps/richdocuments/wopi/files/156425_ocj8uiqrskz3?access_token=k59GwBG0XR93fRRflpmxlASYmCAS1Q9T&access_token_ttl=0&permission=edit readonly=0 lang=en-GB| wsd/DocumentBroker.cpp:1675
    2018-11-26T21:12:47.457195646Z wsd-00027-00050 2018-11-26 21:12:47.456935 [ docbroker_002 ] ERR  Invalid or unknown session [0006] to remove.| wsd/DocumentBroker.cpp:1108
    2018-11-26T21:12:47.483082607Z wsd-00027-00028 2018-11-26 21:12:47.482651 [ prisoner_poll ] WRN  Waking up dead poll thread [docbroker_002], started: true, finished: true| ./net/Socket.hpp:551
    2018-11-26T21:12:47.483127873Z msd-00027-00028 2018-11-26 21:12:47.482722 [ prisoner_poll ] WRN  Waking up dead poll thread [docbroker_002], started: true, finished: true| ./net/Socket.hpp:551330mkit-00035-00029 2018-11-26 21:12:47.482703 [ loolkit ] WRN  Kit connection lost without exit arriving from wsd| kit/Kit.cpp:2060
    2018-11-26T21:12:47.483141225Z
    2018-11-26T21:12:47.483149081Z wsd-00027-00028 2018-11-26 21:12:47.482754 [ prisoner_poll ] WRN  Prisoner connection disconnected but without valid socket.| wsd/LOOLWSD.cpp:1667
    2018-11-26T21:12:47.483157149Z wsd-00027-00028 2018-11-26 21:12:47.482829 [ prisoner_poll ] WRN  Waking up dead poll thread [docbroker_002], started: false, finished: true| ./net/Socket.hpp:551
    2018-11-26T21:12:47.483165527Z wsd-00027-00028 2018-11-26 21:12:47.482862 [ prisoner_poll ] WRN  Waking up dead poll thread [docbroker_002], started: false, finished: true| ./net/Socket.hpp:551

#6

Meanwhile, I see the following error message in the Docker logs:

No acceptable WOPI hosts found matching the target host [cloud.domain.tld] in config

Apparently I’m not alone with the mistake. I still get the blank screen with the spinning circle. Unfortunately, I do not have the time to continue to search for a solution and/or wait here for an answer.

An update of the app and the Collabora CODE Docker container brought no improvement.

But I will continue to pursue this here and hope that someday there will be a solution to the problem


#7

I am in this same boat. It just doesn’t work. One day, this will hopefully be working.