# Documents from Nextcloud don't open in Collabora anymore

**URL:** <https://forum.yunohost.org/t/documents-from-nextcloud-dont-open-in-collabora-anymore/31214>\
**Category:** Support apps\
**Tags:** collabora, english\
**Created:** [September 21, 2024, 6:06pm UTC](https://forum.yunohost.org/t/documents-from-nextcloud-dont-open-in-collabora-anymore/31214 "2024-09-21T18:06:10Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![cosmin](https://forum.yunohost.org/user_avatar/forum.yunohost.org/cosmin/32/3671_2.png) [@cosmin](https://forum.yunohost.org/u/cosmin)\
**Post date:** [September 21, 2024, 6:06pm UTC](https://forum.yunohost.org/t/documents-from-nextcloud-dont-open-in-collabora-anymore/31214/1 "2024-09-21T18:06:10Z")

</div>

**What type of hardware are you using** : VPS bought online  
**What YunoHost version are you running** : 11.2.30.2  
**What app is this about** : Nextcloud and CollaboraOnline

### Describe your issue

I have Nextcloud and CollaboraOnline on 2 separate subdomains on the same VPS. It used to work, then 2 days ago I din an upgrade from `/yunohost/admin/#/update`. There was one for CollaboraOnline and I thought it was weird because it said it would update from 22 to 24, although I already had 24 (just not the latest release). There was also an update for Nextcloud. Both updates were successful.  
After the update, I can’t open documents while browsing Nextcloud anymore. It starts loading, then it says

> Document loading failed  
> Failed to establish socket connection or socket connection closed unexpectedly. The reverse proxy might be misconfigured, please contact the administrator. For more info on proxy configuration please checkout [Making sure you're not a bot!](https://sdk.collaboraonline.com/docs/installation/Proxy_settings.html)

I don’t know if I should mess with the reverse proxy configuration myself or leave it to YunoHost.

I went to `/settings/admin/richdocuments` on my Nextcloud host and there it says it’s ok:

> Collabora Online server is reachable.

Does this happen to anyone else?

### Share relevant logs or error messages

[https://paste.yunohost.org/raw/yogazoruya](https://paste.yunohost.org/raw/yogazoruya)

---

<div class="post-metadata">

**Author:** ![jarod5001](https://forum.yunohost.org/user_avatar/forum.yunohost.org/jarod5001/32/5323_2.png) [@jarod5001](https://forum.yunohost.org/u/jarod5001)\
**Post date:** [September 21, 2024, 7:40pm UTC](https://forum.yunohost.org/t/documents-from-nextcloud-dont-open-in-collabora-anymore/31214/2 "2024-09-21T19:40:02Z")

</div>

Check `sudo journalctl -f` if something is wrong

---

<div class="post-metadata">

**Author:** ![cosmin](https://forum.yunohost.org/user_avatar/forum.yunohost.org/cosmin/32/3671_2.png) [@cosmin](https://forum.yunohost.org/u/cosmin)\
**Post date:** [September 22, 2024, 5:14am UTC](https://forum.yunohost.org/t/documents-from-nextcloud-dont-open-in-collabora-anymore/31214/3 "2024-09-22T05:14:35Z")

</div>

Oh yes, it looks like there’s a crashloop of Collabora’s coolwsd. I haven’t tried using it in more than 10 hours but it’s still going on.  
The following block is repeated identically many times a second:

```auto
Sep 22 07:02:28 mydomain coolwsd[607]: wsd-00607-01601 2024-09-22 07:02:28.302989 +0200 [prisoner_poll] ERR #17: Read failed, have 0 buffered bytes (ECONNRESET: Connection reset by peer)| net/Socket.hpp:1156
Sep 22 07:02:28 mydomain coolwsd[607]: wsd-00607-01601 2024-09-22 07:02:28.303017 +0200 [prisoner_poll] WRN #17: Unassociated Kit (3349340) disconnected unexpectedly| wsd/COOLWSD.cpp:3726
Sep 22 07:02:28 mydomain coolwsd[1602]: frk-01602-01602 2024-09-22 07:02:28.303114 +0200 [forkit] ERR Couldn't create file: /opt/cool/child-roots/607-19754c08/U6KSrKff59m1a1ge/tmp/kit-crashed due to error: No such file or directory| kit/ForKit.cpp:300
Sep 22 07:02:28 mydomain coolwsd[1602]: frk-01602-01602 2024-09-22 07:02:28.303142 +0200 [forkit] WRN No live Kits exist, and we are not terminating yet.| kit/ForKit.cpp:311
Sep 22 07:02:28 mydomain coolwsd[1602]: frk-01602-01602 2024-09-22 07:02:28.303155 +0200 [forkit] WRN Successfully sent 'segfaultcount' message segfaultcount 1
Sep 22 07:02:28 mydomain coolwsd[1602]: | kit/ForKit.cpp:343
Sep 22 07:02:28 mydomain coolwsd[3349341]: kit-3349341-3349341 2024-09-22 07:02:28.309487 +0200 [kit_spare_72af64] SIG Fatal signal received: SIGSEGV code: 1 for address: 0x971
Sep 22 07:02:28 mydomain coolwsd[3349341]: Recent activity:
Sep 22 07:02:28 mydomain coolwsd[3349341]: Backtrace 3349341 - kit startup of 24.04.7.2 d5ebff5:

```

I went to `/yunohost/admin/#/services/coolwsd` and restarted it, then the messages stopped.  
By the way when I did it said:

> Sep 22 07:08:41 systemd[1]: coolwsd.service: Consumed 23h 27min 51.011s CPU time.

🤯  
However, when I try to open a file, it starts crashing again.

---

<div class="post-metadata">

**Author:** ![GoustiFruit](https://forum.yunohost.org/user_avatar/forum.yunohost.org/goustifruit/32/4281_2.png) [@GoustiFruit](https://forum.yunohost.org/u/GoustiFruit)\
**Post date:** [September 22, 2024, 6:27am UTC](https://forum.yunohost.org/t/documents-from-nextcloud-dont-open-in-collabora-anymore/31214/4 "2024-09-22T06:27:14Z")

</div>

Could there be a link with the “mimetype” warning we recently received ?

---

<div class="post-metadata">

**Author:** ![Cyril](https://forum.yunohost.org/user_avatar/forum.yunohost.org/cyril/32/219_2.png) [@Cyril](https://forum.yunohost.org/u/Cyril)\
**Post date:** [September 22, 2024, 8:43am UTC](https://forum.yunohost.org/t/documents-from-nextcloud-dont-open-in-collabora-anymore/31214/5 "2024-09-22T08:43:06Z")

</div>

I had the same issue.

So I choose the lazy way, I remove it and install OnlyOffice instead.  
But I dislike OnlyOffice : it creates .docx by default in Nextcloud, the interface is less clear …  
So I remove Only Office and reinstall Collabora, and it just works.

I’m not sure if in this procedure, the installation of OnlyOffice is needed 😃

6ril

PS : by installation, I mean the Yunohost application, the Nextcloud Module and the configuration of the module.

---

<div class="post-metadata">

**Author:** ![jarod5001](https://forum.yunohost.org/user_avatar/forum.yunohost.org/jarod5001/32/5323_2.png) [@jarod5001](https://forum.yunohost.org/u/jarod5001)\
**Post date:** [September 22, 2024, 2:54pm UTC](https://forum.yunohost.org/t/documents-from-nextcloud-dont-open-in-collabora-anymore/31214/6 "2024-09-22T14:54:43Z")

</div>

I don’t think so

---

<div class="post-metadata">

**Author:** ![TiberiusRegenschein](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/t/839c29/32.png) [@TiberiusRegenschein](https://forum.yunohost.org/u/TiberiusRegenschein)\
**Post date:** [September 23, 2024, 5:09am UTC](https://forum.yunohost.org/t/documents-from-nextcloud-dont-open-in-collabora-anymore/31214/7 "2024-09-23T05:09:34Z")

</div>

The same happened to me with the same results. In my case it was a Intel NUC running the debian buster version of yunohost. I was also surprised to se the version jump, but installed nevertheless. I now also see everything fine in Nextcloud but documents are not loading, but try for a while

---

<div class="post-metadata">

**Author:** ![cosmin](https://forum.yunohost.org/user_avatar/forum.yunohost.org/cosmin/32/3671_2.png) [@cosmin](https://forum.yunohost.org/u/cosmin)\
**Post date:** [September 23, 2024, 6:37am UTC](https://forum.yunohost.org/t/documents-from-nextcloud-dont-open-in-collabora-anymore/31214/8 "2024-09-23T06:37:23Z")

</div>

I see there’s also an open issue on the package integration repository:

> <https://github.com/YunoHost-Apps/collabora_ynh/issues/91>
>
> \### Describe the bug
> 
> \*Upgrading breaks the connexion\*
> 
> \### Context
> 
> \- Har…dware: \*VPS bought online\*
> \- YunoHost version: 11.2.30.2
> \- I have access to my server: \*Through SSH \*
> \- Are you in a special context or did you perform some particular tweaking on your YunoHost instance?: \*no\*
> \- Using, or trying to install package version/branch: 24.04.7.2~ynh1
> \- If upgrading, current package version: \*22.05.14.3~ynh2\*
> 
> \### Steps to reproduce
> 
> \- \*If you performed a command from the CLI, the command itself is enough. For example:\*
> \`\`\`sh
> sudo yunohost app upgrade collabora
> \`\`\`
> 
> \- \*If the error occurs in your browser, explain what you did:\*
> 1. \*Go to 'nextcloud.domain.tld/settings/admin/richdocuments'\*
> 2. \*Click on 'Save' in front off the collabora domain conf to reinitialize the connexion\*
> 3. \*Scroll down to 'Files' and try open a document with collbora\*
> 4. \*See first briefly collabora loading and a error 'could not connect to the websocket, if you are behind a reverse proxy see sdk.co....' \*
> 
> \### Expected behavior
> 
> \*Upgrade collabora and keep it working with Nextcloud\*
> 
> \### Logs
> 
> I could only see logs on \`/var/log/daemon.log\`, folder \`/var/log/collabora/' did not exist...

As someone noted in a comment there, if we have this issue we probably also have too many logs now, so we may want to [clean them up](https://forum.yunohost.org/t/resolved-var-log-do-the-cleaning-properly/14473). My `/var/log` has 41G for example.

---

<div class="post-metadata">

**Author:** ![system](https://forum.yunohost.org/uploads/default/original/2X/f/f59fe8e3ee6b100b4f574d30d6e30479c68b89f0.png) [@system](https://forum.yunohost.org/u/system)\
**Post date:** [October 8, 2024, 6:37am UTC](https://forum.yunohost.org/t/documents-from-nextcloud-dont-open-in-collabora-anymore/31214/9 "2024-10-08T06:37:59Z")

</div>

Closed on October 8, 2024, 6:37am UTC

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.
