richdocumentscode: fresh Nextcloud 19 install, built-in CODE without Docker: „Es konnte keine Verbindung zum Collabora Online-Server hergestellt werden“ (could not connect to Collabora Online Server)
Fresh install of Nextcloud 19 with CODE server (without Docker): The built-in Collabora server does not work.
Edit: I have seen #26, but in my case there are no errors in the Webserver log, so I assume it’s a different thing.
To Reproduce Steps to reproduce the behavior:
- Install Nextcloud 19 on Ubuntu 20.04 (latest LTS) (MariaDB backend, PHP-FPM, Redis)
- Install Collabora-Apps:
- “Collabora Online” and
- “Collabora Online - Built-in CODE Server”
- Manually install packages
fontconfigandfuse, restart php-fpm, as seen in a different issue - Try to enable the built-in CODE server. It responds with a red error symbol and „Es konnte keine Verbindung zum Collabora Online-Server hergestellt werden“ (could not connect to the Collabora Online Server).
Expected behavior The built-in CODE server should be enabled and richdocuments should be able to be created/edited.
Screenshots

Client details:
- OS: Ubuntu 18.04
- Browser: Firefox 78.0.1
- Device: laptop
Server details
Operating system: Ubuntu 20.04
Web server: Apache 2.4.41
Database: MariaDB 10.3.22
PHP version: 7.4
Nextcloud version: 19.0.0.12
Version of the richdocuments app: 3.7.3
Version of Collabora Online 4.2.503
Logs
Nextcloud log (data/nextcloud.log)
{"reqId":"GKY7pJ4aX3XSOFkGjLh7","level":2,"time":"2020-07-07T14:57:01+00:00","remoteAddr":"my.local.ip.address","user":"ncrootadmin","app":"no app in context","method":"GET","url":"/index.php/core/preview?fileId=5&x=32&y=32","message":"Host 192.168.32.221 was not connected to because it violates local access rules","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0","version":"19.0.0.12"}
{"reqId":"e8IFmir0fCwlSAyZO2YY","level":2,"time":"2020-07-07T14:57:13+00:00","remoteAddr":"my.local.ip.address","user":"ncrootadmin","app":"no app in context","method":"GET","url":"/index.php/core/preview?fileId=183&c=46e5385aaa52d5629eda25d84a4847c6&x=500&y=500&forceIcon=0","message":"Host 192.168.32.221 was not connected to because it violates local access rules","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0","version":"19.0.0.12"}
{"reqId":"cNQwUrqnSnk5SzJB5bUo","level":2,"time":"2020-07-07T14:57:13+00:00","remoteAddr":"my.local.ip.address","user":"ncrootadmin","app":"no app in context","method":"GET","url":"/index.php/core/preview?fileId=10&c=3b85dc1b3917a8f6876ca5f79758bf0d&x=500&y=500&forceIcon=0","message":"Host 192.168.32.221 was not connected to because it violates local access rules","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0","version":"19.0.0.12"}
{"reqId":"DtQKPSvue0wrIRAcQ1aw","level":2,"time":"2020-07-07T14:57:32+00:00","remoteAddr":"my.local.ip.address","user":"ncrootadmin","app":"no app in context","method":"GET","url":"/index.php/core/preview?fileId=183&c=46e5385aaa52d5629eda25d84a4847c6&x=500&y=500&forceIcon=0","message":"Host 192.168.32.221 was not connected to because it violates local access rules","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0","version":"19.0.0.12"}
{"reqId":"PA93twXGHvwnFAMtbJAn","level":2,"time":"2020-07-07T14:57:32+00:00","remoteAddr":"my.local.ip.address","user":"ncrootadmin","app":"no app in context","method":"GET","url":"/index.php/core/preview?fileId=10&c=3b85dc1b3917a8f6876ca5f79758bf0d&x=500&y=500&forceIcon=0","message":"Host 192.168.32.221 was not connected to because it violates local access rules","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0","version":"19.0.0.12"}
{"reqId":"72AgKB6Yf1YL50WYOusj","level":2,"time":"2020-07-07T14:57:56+00:00","remoteAddr":"my.local.ip.address","user":"ncrootadmin","app":"no app in context","method":"GET","url":"/index.php/core/preview?fileId=183&c=46e5385aaa52d5629eda25d84a4847c6&x=500&y=500&forceIcon=0","message":"Host 192.168.32.221 was not connected to because it violates local access rules","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0","version":"19.0.0.12"}
{"reqId":"w4fzF95WRCOozieZb8YE","level":2,"time":"2020-07-07T14:57:56+00:00","remoteAddr":"my.local.ip.address","user":"ncrootadmin","app":"no app in context","method":"GET","url":"/index.php/core/preview?fileId=10&c=3b85dc1b3917a8f6876ca5f79758bf0d&x=500&y=500&forceIcon=0","message":"Host 192.168.32.221 was not connected to because it violates local access rules","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0","version":"19.0.0.12"}
{"reqId":"IqLSSd6sEl9YJdJMvHBX","level":2,"time":"2020-07-07T14:57:57+00:00","remoteAddr":"my.local.ip.address","user":"ncrootadmin","app":"no app in context","method":"GET","url":"/index.php/core/preview?fileId=183&x=32&y=32","message":"Host 192.168.32.221 was not connected to because it violates local access rules","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0","version":"19.0.0.12"}
{"reqId":"y4FuqtTtZnkTvkQ9B56A","level":2,"time":"2020-07-07T14:57:57+00:00","remoteAddr":"my.local.ip.address","user":"ncrootadmin","app":"no app in context","method":"GET","url":"/index.php/core/preview?fileId=5&x=32&y=32","message":"Host 192.168.32.221 was not connected to because it violates local access rules","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0","version":"19.0.0.12"}
{"reqId":"GHwwmLRrILtVYWyaUoVD","level":2,"time":"2020-07-07T15:29:11+00:00","remoteAddr":"my.local.ip.address","user":"ncrootadmin","app":"appstoreFetcher","method":"GET","url":"/index.php/settings/apps","message":"Could not connect to appstore: cURL error 35: OpenSSL SSL_connect: Connection reset by peer in connection to apps.nextcloud.com:443 (see https://curl.haxx.se/libcurl/c/libcurl-errors.html)","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0","version":"19.0.0.12"}
Webserver log
[Mon Jul 06 14:39:04.067641 2020] [mpm_event:notice] [pid 852:tid 140578279357504] AH00489: Apache/2.4.41 (Ubuntu) OpenSSL/1.1.1f configured -- resuming normal operations
[Mon Jul 06 14:39:04.067656 2020] [core:notice] [pid 852:tid 140578279357504] AH00094: Command line: '/usr/sbin/apache2'
[Tue Jul 07 06:32:25.423803 2020] [mpm_event:notice] [pid 852:tid 140578279357504] AH00491: caught SIGTERM, shutting down
[Tue Jul 07 06:32:44.326000 2020] [ssl:warn] [pid 857:tid 139651768114240] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Tue Jul 07 06:32:44.327909 2020] [mpm_event:notice] [pid 857:tid 139651768114240] AH00489: Apache/2.4.41 (Ubuntu) OpenSSL/1.1.1f configured -- resuming normal operations
[Tue Jul 07 06:32:44.327926 2020] [core:notice] [pid 857:tid 139651768114240] AH00094: Command line: '/usr/sbin/apache2'
[Tue Jul 07 15:14:21.807646 2020] [mpm_event:notice] [pid 857:tid 139651768114240] AH00491: caught SIGTERM, shutting down
[Tue Jul 07 15:14:22.094927 2020] [ssl:warn] [pid 27929:tid 140413663358016] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Tue Jul 07 15:14:22.097245 2020] [mpm_event:notice] [pid 27929:tid 140413663358016] AH00489: Apache/2.4.41 (Ubuntu) OpenSSL/1.1.1f configured -- resuming normal operations
[Tue Jul 07 15:14:22.097267 2020] [core:notice] [pid 27929:tid 140413663358016] AH00094: Command line: '/usr/sbin/apache2'
Browser log
JQMIGRATE: Migrate is installed, version 1.4.1 jquery-migrate.min.js:2:551
Diese Seite verwendet die nicht standardisierte Eigenschaft "zoom". Stattdessen sollte calc() in den entsprechenden Eigenschaftswerten oder "transform" zusammen mit "transform-origin: 0 0" verwendet werden. addStylesClient.js:220:17
$ is deprecated: The global jQuery is deprecated. It will be updated to v2.4 in Nextcloud 20 and v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. globals.js:61:15
Handlebars is deprecated: please ship your own, this will be removed in Nextcloud 20 globals.js:61:15
$ is deprecated: The global jQuery is deprecated. It will be updated to v2.4 in Nextcloud 20 and v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. 3 globals.js:61:15
Notifications permissions granted App.vue:292
$ is deprecated: The global jQuery is deprecated. It will be updated to v2.4 in Nextcloud 20 and v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. 2 globals.js:61:15
jQuery is deprecated: The global jQuery is deprecated. It will be updated to v2.4 in Nextcloud 20 and v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. 2 globals.js:61:15
$ is deprecated: The global jQuery is deprecated. It will be updated to v2.4 in Nextcloud 20 and v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. 3 globals.js:61:15
session heartbeat polling started session-heartbeat.js:97:9
$ is deprecated: The global jQuery is deprecated. It will be updated to v2.4 in Nextcloud 20 and v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. 37 globals.js:61:15
Error: Request failed with status code 500
exports createError.js:16
exports settle.js:17
onreadystatechange xhr.js:61
AdminSettings.vue:437
jQuery is deprecated: The global jQuery is deprecated. It will be updated to v2.4 in Nextcloud 20 and v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. 96 globals.js:61:15
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Reactions: 3
- Comments: 17
Awesome!! I cite: “Sir, thank you very much. You set me right on track.” :-] My suspicion was correct: Something went wrong with the update of the Collabora app. I resolved this with these steps:
So the reason was that missing column in one of the tables that did not get added upon the update.
THANKS!