Fehler ab Version 23.05.5

Hallo, ich nutze collabora in der Version 23.05.4.2.1 auf meinem Server ohne Probleme. Eine neuere Version geht leider nicht mehr. Was hat sich geändert? Folgender Fehler kommt:

Meine config (Apache):

AllowEncodedSlashes NoDecode
SSLProxyEngine On
ProxyPreserveHost On
# cert is issued for collaboraonline.example.com and we proxy to localhost
SSLProxyVerify None
SSLProxyCheckPeerCN Off
SSLProxyCheckPeerName Off
# static html, js, images, etc. served from coolwsd
# browser is the client part of Collabora Online
ProxyPass           /browser https://127.0.0.1:9980/browser retry=0
ProxyPassReverse    /browser https://127.0.0.1:9980/browser
# WOPI discovery URL
ProxyPass           /hosting/discovery https://127.0.0.1:9980/hosting/discovery retry=0
ProxyPassReverse    /hosting/discovery https://127.0.0.1:9980/hosting/discovery
# Capabilities
ProxyPass           /hosting/capabilities https://127.0.0.1:9980/hosting/capabilities retry=0
ProxyPassReverse    /hosting/capabilities https://127.0.0.1:9980/hosting/capabilities
# Main websocket
ProxyPassMatch      "/cool/(.*)/ws$"      wss://127.0.0.1:9980/cool/$1/ws nocanon
# Admin Console websocket
ProxyPass           /cool/adminws wss://127.0.0.1:9980/cool/adminws
# Download as, Fullscreen presentation and Image upload operations
ProxyPass           /cool https://127.0.0.1:9980/cool
ProxyPassReverse    /cool https://127.0.0.1:9980/cool
# Compatibility with integrations that use the /lool/convert-to endpoint
ProxyPass           /lool https://127.0.0.1:9980/cool
ProxyPassReverse    /lool https://127.0.0.1:9980/cool

Keiner der helfen kann?

Diese Fehlermeldung kommt vermutlich immer, wenn der Server nicht erreichbar ist - zumindest kam sie bei mir auch, als der Serverprozess einfach nicht korrekt startete.

Hilfreich wäre hier das Log des CODE/Collabora-Servers - kommst du da dran?

Und ich glaube, das Forum hier ist eher englischsprachig, would it be ok for you to switch to English language?

Best regards,
Gunter

Sorry ich spreche nur Deutsch. Na vielleicht bekommt man es ja auch so hin mit Übersetzer.
Wie gesagt starte ich den Container mit 23.05.4.2.1 läuft es und wenn ich den 23.05.5… starte dann nicht mehr.

Mit docker container logs <CONTAINERNAME> (<CONTAINERNAME> inkl. Klammern durch deinen Container-Namen ersetzen) bekommst du die Logs des Containers. Mit docker container logs <CONTAINERNAME> > logs.txt kannst du sie auch in eine Datei schreiben lassen.

Hier dürfte sich beim 23.05.5-Container eine Fehlermeldung finden lassen, die allerdings nicht notwendigerweise ganz am Ende stehen muss.

Ob die Logs helfen, kann ich jetzt noch nicht sagen, aber ohne Logs wird sich praktisch nicht herausfinden lassen, was schiefläuft.

Bei mir läuft aktuell 23.05.5.3 in einem selbstgebauten Container, das tut. Ich hatte mir eigenen Schriften zu kämpfen, die einen erfolgreichen Start von CODE verhindert haben, aber ich habe diese erst mit CODE 23.05.5 getestet und vermute, dass sie auch mit älteren CODE-Versionen für Probleme gesorgt hätten.

Vielen Dank für deine Hilfe hier.
Das sind jetzt mal die letzten Zeilen.

wsd-00001-00043 2023-11-20 06:16:28.465262 +0000 [ docbroker_003 ] ERR Unauthorized Request while starting session on https%3A%2F%2Fnextcloud.domain.eu%3A443%2Findex.php%2Fapps%2Frichdocuments%2Fwopi%2Ffiles%2F1415685_oc0mj19ecwe3 for socket #25. Terminating connection. Error: No acceptable WOPI hosts found matching the target host [nextcloud.domain.eu] in config| wsd/COOLWSD.cpp:5232
sh: 1: /usr/bin/coolmount: Operation not permitted
sh: 1: /usr/bin/coolmount: Operation not permitted
sh: 1: /usr/bin/coolmount: Operation not permitted
wsd-00001-00043 2023-11-20 06:16:28.473805 +0000 [ docbroker_003 ] ERR #18: Read failed, have 0 buffered bytes (ECONNRESET: Connection reset by peer)| net/Socket.hpp:1134
wsd-00001-00043 2023-11-20 06:16:28.473849 +0000 [ docbroker_003 ] WRN #18: Unassociated Kit (42) disconnected unexpectedly| wsd/COOLWSD.cpp:3678
frk-00026-00026 2023-11-20 06:16:28.535416 +0000 [ forkit ] WRN The systemplate directory [/opt/cool/systemplate] is read-only, and at least [/opt/cool/systemplate//etc/hosts] is out-of-date. Will have to copy sysTemplate to jails. To restore optimal performance, make sure the files in [/opt/cool/systemplate/etc] are up-to-date.| common/JailUtil.cpp:521
sh: 1: /usr/bin/coolmount: Operation not permitted
sh: 1: /usr/bin/coolmount: Operation not permitted
sh: 1: /usr/bin/coolmount: Operation not permitted

Den Container starte ich wie folgt:

sudo  docker run -t -d -p 127.0.0.1:9980:9980 -e "extra_params=--o:ssl.enable=true" -e "aliasgroup1=https://nextcloud-s03.domain.de:443,https://testcloud.s01.domain.de:443,https://nextcloud.domanin.eu:443,https://nextcloud.domain-1.de,https://nextcloud-s04.domain.de:443" -e "aliasgroup2=https://cloud.domanin-2.de:443"  -e "username=marco" -e "password=geheim" --restart always collabora/code

Keiner weitere Ideen?

@lugau45: Das hier sieht nach dem Problem aus:

Error: No acceptable WOPI hosts found matching the target host [nextcloud.domain.eu] in config| wsd/COOLWSD.cpp:5232

nextcloud.domain.eu hast du vermutlich statt des echten Hostnamen dort eingesetzt? Denn in deiner Kommandozeile steht “domanin”, nicht “domain” - aber das sind vermutlich nur Tippfehler in deinen Beispielen, vermute ich, und nicht die echten Namen. Aber evtl. trotzdem nochmal doppelt gegenchecken, dass du dich nirgends vertippt hast.

Startest du beide Container (alte und neue Version) mit exakt der gleichen docker run-Zeile (per Script oder so)? Oder sind irgendwo manuell eingegebene Dinge involviert, in die sich Tippfehler eingeschlichen haben könnten?

Kannst du deine Aliasgroups testweise auf jeweils einen Hostnamen reduzieren um zu schauen, ob das dann zumindest von diesem Host aus geht? Ich nutze auch zwei Aliasgroups, aber nur mit jeweils einem Hostnamen, und das funktioniert.

1 Like

Hallo und vielen Dank dür die Antwort. Ich konnte das nun dadurch weiter einschränken. Es liegt scheinbar am Startbefehl. Mit einer Domain:

sudo  docker run -t -d -p 127.0.0.1:9980:9980 -e "aliasgroup1=testcloud.domain.de:443" -e "username=marco" -e "password=passwort" --restart always collabora/code

klappt es ohne Probleme.
Füge ich aber weitere dazu dann kommt der Fehler. Ich muss mich also nun mal belesen wie ich genau mehrere Domains mit diesen aliasgroup einbinde. Ich danke schon mal vielmals für das Augen öffnen :slight_smile:

Ich starte jetzt jede Domain als aliasgroup… so geht es ohne Probleme.
Vielen Dank an alle für die Hilfe besonders an GOhrner für den Hinweis mit aliasgroup.

1 Like