Hello,
I’ve installed the latest Nextcloud 23 ( [Nextcloud Hub II 23.0.0) on a Raspberry Pi 4 with 4 GB of memory (DietPi ARM v8 = 64 Bit) to try out the new Collabora integration. I installed the Collabora Online - Built-in CODE Server (ARM64) and the main Collabora App. It seems that the build-in app just starts the AppImage located in /var/www/nextcloud/apps/richdocumentscode_arm64/collabora
. This process is running, at least until the server got restarted.
When I try to open a table or text document, It just spins forever
Fontconfig and glibc as documented here are installed, glibc was already pre-installed and I installed fontconfig using apt: apt install fontconfig
. I cannot find anything usefull in the logs. Only one request to http://dietpi/nextcloud/remote.php/dav/files/admin/tableabc.ods where tableabc.ods
is the name of my test file. It gets a 404 response:
<?xml version="1.0"?>
<d:multistatus
xmlns:d="DAV:"
xmlns:s="http://sabredav.org/ns"
xmlns:oc="http://owncloud.org/ns"
xmlns:nc="http://nextcloud.org/ns">
<d:response>
<d:href>/nextcloud/remote.php/dav/files/admin/tableabc.ods</d:href>
<d:propstat>
<d:prop>
<d:getlastmodified>Mon, 06 Dec 2021 16:52:54 GMT</d:getlastmodified>
<d:getetag>"cb8209acb103edb0acbd8f69d15ca258"</d:getetag>
<d:getcontenttype>application/vnd.oasis.opendocument.spreadsheet</d:getcontenttype>
<d:resourcetype/>
<oc:fileid>353</oc:fileid>
<oc:permissions>RGDNVW</oc:permissions>
<oc:size>0</oc:size>
<d:getcontentlength>0</d:getcontentlength>
<nc:has-preview>true</nc:has-preview>
<nc:mount-type></nc:mount-type>
<x1:share-permissions
xmlns:x1="http://open-collaboration-services.org/ns">19
</x1:share-permissions>
<oc:tags/>
<oc:favorite>0</oc:favorite>
<oc:comments-unread>0</oc:comments-unread>
<oc:owner-id>admin</oc:owner-id>
<oc:owner-display-name>admin</oc:owner-display-name>
<oc:share-types/>
</d:prop>
<d:status>HTTP/1.1 200 OK</d:status>
</d:propstat>
<d:propstat>
<d:prop>
<d:quota-available-bytes/>
<nc:is-encrypted/>
</d:prop>
<d:status>HTTP/1.1 404 Not Found</d:status>
</d:propstat>
</d:response>
</d:multistatus>
So I tried to deploy Collabora on my own using Docker-Compose:
version: "2.4"
services:
collabora:
image: collabora/code
container_name: collabora
# mem_limit: 1G
restart: always
ports:
- 9980:9980
volumes:
- ./loolwsd.xml:/etc/loolwsd/loolwsd.xml
environment:
- "TZ=Europe/Berlin"
- "DONT_GEN_SSL_CERT=1"
- "username=admin"
- "password=admin"
- "domain=dietpi"
cap_add:
- MKNOD
But the container doesn’t start
collabora | wsd-00001-00001 2021-12-06 20:27:18.360471 +0000 [ coolwsd ] DBG Caching files in [/usr/bin/browser/welcome]| wsd/FileServer.cpp:732
collabora | wsd-00001-00001 2021-12-06 20:27:18.360556 +0000 [ coolwsd ] ERR Failed to open directory [/usr/bin/browser/welcome] (ENOENT: No such file or directory)| wsd/FileServer.cpp:737
collabora | wsd-00001-00001 2021-12-06 20:27:18.360633 +0000 [ coolwsd ] DBG New SocketPoll [websrv_poll] owned by 0x7faa004010| net/Socket.cpp:213
collabora | wsd-00001-00001 2021-12-06 20:27:18.360684 +0000 [ coolwsd ] DBG New SocketPoll [prisoner_poll] owned by 0x7faa004010| net/Socket.cpp:213
collabora | wsd-00001-00001 2021-12-06 20:27:18.360717 +0000 [ coolwsd ] DBG New SocketPoll [accept_poll] owned by 0x7faa004010| net/Socket.cpp:213
collabora | wsd-00001-00001 2021-12-06 20:27:18.360740 +0000 [ coolwsd ] TRC Initialize StorageBase| wsd/COOLWSD.cpp:1628
collabora | wsd-00001-00001 2021-12-06 20:27:18.360827 +0000 [ coolwsd ] INF Adding trusted WOPI host: [pihole].| wsd/Storage.cpp:108
collabora | wsd-00001-00001 2021-12-06 20:27:18.360865 +0000 [ coolwsd ] INF Adding trusted WOPI host: [10\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}].| wsd/Storage.cpp:108
collabora | wsd-00001-00001 2021-12-06 20:27:18.360896 +0000 [ coolwsd ] INF Adding trusted WOPI host: [172\.1[6789]\.[0-9]{1,3}\.[0-9]{1,3}].| wsd/Storage.cpp:108
collabora | wsd-00001-00001 2021-12-06 20:27:18.360928 +0000 [ coolwsd ] INF Adding trusted WOPI host: [172\.2[0-9]\.[0-9]{1,3}\.[0-9]{1,3}].| wsd/Storage.cpp:108
collabora | wsd-00001-00001 2021-12-06 20:27:18.360957 +0000 [ coolwsd ] INF Adding trusted WOPI host: [172\.3[01]\.[0-9]{1,3}\.[0-9]{1,3}].| wsd/Storage.cpp:108
collabora | wsd-00001-00001 2021-12-06 20:27:18.360985 +0000 [ coolwsd ] INF Adding trusted WOPI host: [192\.168\.[0-9]{1,3}\.[0-9]{1,3}].| wsd/Storage.cpp:108
collabora | wsd-00001-00001 2021-12-06 20:27:18.361015 +0000 [ coolwsd ] INF Adding blocked WOPI host: [192\.168\.1\.1].| wsd/Storage.cpp:113
collabora | Failed to initialize COOLWSD: File not found: /etc/coolwsd/ca-chain.cert.pem
collabora | wsd-00001-00001 2021-12-06 20:27:18.362196 +0000 [ coolwsd ] FTL Failed to initialize COOLWSD: File not found: /etc/coolwsd/ca-chain.cert.pem| wsd/COOLWSD.hpp:464
collabora | File not found: /etc/coolwsd/ca-chain.cert.pem
collabora | terminate called after throwing an instance of 'Poco::SystemException'
collabora | what(): System exception
collabora exited with code 133
Which confuses me, since it’s documented that DONT_GEN_SSL_CERT=1
should disable SSL, so there is no need for any certificate.