# Preview problems in Nextcloud with collabora office

**URL:** <https://forum.yunohost.org/t/preview-problems-in-nextcloud-with-collabora-office/37009>\
**Category:** Support apps\
**Tags:** nextcloud, collabora, english, deutsch\
**Created:** [May 22, 2025, 1:48pm UTC](https://forum.yunohost.org/t/preview-problems-in-nextcloud-with-collabora-office/37009 "2025-05-22T13:48:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Christian](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/c/b2d939/32.png) [@Christian](https://forum.yunohost.org/u/Christian)\
**Post date:** [May 22, 2025, 1:48pm UTC](https://forum.yunohost.org/t/preview-problems-in-nextcloud-with-collabora-office/37009/1 "2025-05-22T13:48:27Z")

</div>

**What type of hardware are you using** : Old laptop or computer  
**What YunoHost version are you running** : 12.0.17  
**What app is this about** : Nextcloud

### Describe your issue

The Nextcloud logs show some problems with preview (see below). This also means that I cannot attach any files to a calendar event. (I found out that these two are linked due to another issue which I got sorted.)

### Share relevant logs or error messages

richdocuments

ClientException Client error: `POST https://collabora.h ****** i.noho.st/cool/convert-to/png` resulted in a `413 Request Entity Too Large` response: 413 Request Entity Too Large

# 413 Request Entity Too Large
\< (truncated…)

---

<div class="post-metadata">

**Author:** ![rodinux](https://forum.yunohost.org/user_avatar/forum.yunohost.org/rodinux/32/7029_2.png) [@rodinux](https://forum.yunohost.org/u/rodinux)\
**Post date:** [May 22, 2025, 7:43pm UTC](https://forum.yunohost.org/t/preview-problems-in-nextcloud-with-collabora-office/37009/2 "2025-05-22T19:43:45Z")

</div>

> [@Christian](#):
>
> ClientException Client error: `POST https://collabora.h ****** i.noho.st/cool/convert-to/png` resulted in a `413 Request Entity Too Large` response: 413 Request Entity Too Large

hello, it seems perhaps similar to this post

> **[Problem with documents not opening after 30.04 update](https://help.nextcloud.com/t/problem-with-documents-not-opening-after-30-04-update/212721/4)**
>
> I am not sure whether this will help, as for me this happened using a self host collabora server. If you have access to server/proxy that is running collabora then it might. I think the reason might be that nextcloud decided to use larger chunks...

You could try edit the file `/etc/nginx/conf.d/nextclouddomain.tld.d/nextcloud.conf` and add this line ` client_max_body_size 512m;` … perhaps at the bottom of the file

```auto

  client_max_body_size 512m;
}

```

Also verify before if nginx is ok

```auto
nginx -t 

```

then restart service nginx

```auto
yunohost service restart nginx

```

You can also try this edit a new file `/etc/nginx/conf.d/domainextcloud.d/nextcloud.d/increase.conf` with just this line

```auto
  client_max_body_size 512m;

```

---

<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:** [June 6, 2025, 7:43pm UTC](https://forum.yunohost.org/t/preview-problems-in-nextcloud-with-collabora-office/37009/3 "2025-06-06T19:43:50Z")

</div>

Closed on June 6, 2025, 7:43pm UTC

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