Steps to reproduce
Nextcloud functions correectly, except when trying to open a file with Collabora
Error reproduced when selecting file and then pop up occurs at top of screen which states: âFailed to load Collabora Online - Please try again laterâ
Expected behaviour
Collabora should open document for editing
Actual behaviour
Error discussed as above
[php7:error] [pid 13759] [client 10.5.2.119:39472] PHP Fatal error: Cannot declare class GuzzleHttp\Handler\CurlFactory, because the name is already in use in /var/www/wo-lar.com/html/nextcloud/3rdparty/guzzlehttp/guzzle/src/Handler/CurlFactory.php
nextcloud.log and loolwsd.log are empty
Server configuration
The server is a modem/router and as such has two NICs; 1 for LAN and the other for WAN
I do have letsencrypt certificates for my main domain (wo-lar.com/www.wo-lar.com) and a seperate for loolwsd; doc.wo-lar.com
Native (no docker) installation of nextcloud and collabora on the same physical server
the service loolwsd is up and running
â loolwsd.service - LibreOffice Online WebSocket Daemon
Loaded: loaded (/usr/lib/systemd/system/loolwsd.service; enabled; vendor preset: disabled)
Active: active (running) since Fr 2019-03-01 17:28:58 CET; 32min ago
Main PID: 13929 (loolwsd)
CGroup: /system.slice/loolwsd.service
ââ13929 /usr/bin/loolwsd --version --o:sys_template_path=/opt/lool/systemplate --o:child_root_path=/opt/lool/child-roots --o:file_seâŚ
ââ13931 /usr/bin/loolforkit --losubpath=lo --systemplate=/opt/lool/systemplate --lotemplate=/opt/collaboraoffice6.0 --childroot=/optâŚ
ââ13951 /usr/bin/loolforkit --losubpath=lo --systemplate=/opt/lool/systemplate --lotemplate=/opt/collaboraoffice6.0 --childroot=/optâŚ
Operating system:
CENTOS 7
Web server:
Apache Webserver httpd-2.4.6-88.el7.centos.x86_64
Settings in loolwsd concerning termination and ssl:
true
false
Therefore I used the proxy settings for 1. SSL on both ends: The corresponding loolwsd setting is ssl.enable=true.
same issue here, collabora docker is running fine, no error in the log files, downgrade did not help so back to 3.2.2 and on nginx not apache and error:
2019/03/02 16:32:45 [error] 1507#1507: *927 FastCGI sent in stderr: âPHP message: PHP Fatal error: Cannot declare class GuzzleHttp\Handler\CurlFactory, because the name is already in use in /var/www/html/nextcloud/3rdparty/guzzlehttp/guzzle/src/Handler/CurlFactory.php on line 15â while reading response header from upstream, client: 77.249.189.251, server: cloud.drieendertig.nl, request: âGET /index.php/apps/richdocuments/index?fileId=19&requesttoken=t0qdtu32IVFNqqPohfZpvaiAtKCxgHdLd1lW7tUuGwU%3D%3A9CHI%2FIG4ZWcD4uiytZ9Yz5313%2B3m2iQ9Mz0Sr4BMUW4%3D HTTP/2.0â, upstream: âfastcgi://unix:/run/php/php7.2-fpm.sock:â, host: âcloud.drieendertig.nlâ
2019/03/02 16:32:45 [error] 1507#1507: *927 upstream sent invalid status â0â while reading response header from upstream, client: 77.249.189.251, server: cloud.drieendertig.nl, request: âGET /index.php/apps/richdocuments/settings/check HTTP/2.0â, upstream: âfastcgi://unix:/run/php/php7.2-fpm.sock:â, host: âcloud.drieendertig.nlâ
Going through the the different posts I really canât find a pattern that would help me to explain or get me a glue where to start. Debugging is not easy here.
Looking forward for some expert to give us some advices.
Thank you, can you give me more detail, im running Nextcloud 15.0.5
and Collabora 3.2.3
Here is the docker log its a bit long does this make any sense
wsd-00030-00030 2019-03-07 15:34:48.413828 [ loolwsd ] TRC Reading file: '/usr/share/loolwsd/loleaflet/dist/l10n/ui-zh_TW.json as â/loleaflet/dist/l10n/ui-zh_TW.jsonâ| wsd/FileServer.cpp:476
wsd-00030-00030 2019-03-07 15:34:48.414962 [ loolwsd ] TRC Reading file: '/usr/share/loolwsd/loleaflet/dist/l10n/help-sat.json as â/loleaflet/dist/l10n/help-sat.jsonâ| wsd/FileServer.cpp:476
wsd-00030-00030 2019-03-07 15:34:48.415114 [ loolwsd ] TRC Reading file: '/usr/share/loolwsd/loleaflet/dist/l10n/help-sk.json as â/loleaflet/dist/l10n/help-sk.jsonâ| wsd/FileServer.cpp:476
wsd-00030-00030 2019-03-07 15:34:48.415776 [ loolwsd ] TRC Reading file: '/usr/share/loolwsd/loleaflet/dist/l10n/help-kok.json as â/loleaflet/dist/l10n/help-kok.jsonâ| wsd/FileServer.cpp:476
wsd-00030-00030 2019-03-07 15:34:48.415929 [ loolwsd ] TRC Reading file: '/usr/share/loolwsd/loleaflet/dist/l10n/help-dsb.json as â/loleaflet/dist/l10n/help-dsb.jsonâ| wsd/FileServer.cpp:476
wsd-00030-00030 2019-03-07 15:34:48.416674 [ loolwsd ] TRC Reading file: '/usr/share/loolwsd/loleaflet/dist/l10n/ui-cs.json as â/loleaflet/dist/l10n/ui-cs.jsonâ| wsd/FileServer.cpp:476
wsd-00030-00030 2019-03-07 15:34:48.417697 [ loolwsd ] TRC Reading file: '/usr/share/loolwsd/loleaflet/dist/l10n/ui-vec.json as â/loleaflet/dist/l10n/ui-vec.jsonâ| wsd/FileServer.cpp:476
wsd-00030-00030 2019-03-07 15:34:48.418118 [ loolwsd ] TRC Reading file: '/usr/share/loolwsd/loleaflet/dist/l10n/ui-ve.json as â/loleaflet/dist/l10n/ui-ve.jsonâ| wsd/FileServer.cpp:476
@JABAHOSTING, Do you mean with ânew domainâ a new one for the Collabora Online server?
I have tried so but did not solve the problem. I still have the error âFailed to load Collabora Online - please try again laterâ while opening an office document within the Nextcloud UI.
Apache error log:
mod_fcgid: stderr: PHP Fatal error: Cannot declare class GuzzleHttp\\Handler\\CurlFactory, because the name is already in use in /var/www/clients/client1/web7/web/3rdparty/guzzlehttp/guzzle/src/Handler/CurlFactory.php on line 15
Fresh installation of Ubuntu 18.04, NC 15.05, Collabora Online 3.2.3
Edit:
After switching back to the previous Collabora Online domain but without port (9980) it is working.
did you edit the files pointing to 9980 or just in nextcloud?
Did you create a new A record to point to the same server?
Please advise on all your steps it would be very helpfull and i thank you in advance
Cleary changing the domain name within collabora and within nextcloud doesnât work:
[Sun Mar 10 13:42:45.003356 2019] [proxy_fcgi:error] [pid 61427] [client 10.0.1.178:52779] Invalid status line from script âindex.phpâ: 0
[Sun Mar 10 13:42:45.133846 2019] [proxy_fcgi:error] [pid 61176] [client 10.0.1.178:52778] AH01071: Got error âPHP message: PHP Fatal error: Cannot declare class GuzzleHttp\Handler\CurlFactory, because the name is already in use in /usr/local/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Handler/CurlFactory.php on line 15\nâ