Preview problems in Nextcloud with collabora office

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…)

hello, it seems perhaps similar to this post

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


  client_max_body_size 512m;
}

Also verify before if nginx is ok

nginx -t 

then restart service nginx

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

  client_max_body_size 512m;

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