Collabora throwing 413 Request Entity Too Large error
-
I have a Nextcloud instance running on a non-Cloudron server, but use Collabora within Cloudron to open documents and convert. Currently, I will get the following error in my Nextcloud logs:
[richdocuments] Error: Failed to convert preview: Client error: `POST https://[servername]/cool/convert-to/png` resulted in a `413 Request Entity Too Large` response: <html> <head><title>413 Request Entity Too Large</title></head> <body> <center><h1>413 Request Entity Too Large</h1>< (truncated...) GET /core/preview?fileId=11028&x=32&y=32&mimeFallback=true&v=687e6d&a=0 from 70.54.87.2 by kv_pdacadmin at Sep 12, 2025, 12:46:02 PMSome research suggests the it might be the nginx at the cloudron side that may be the issue, and that client_max_body_size may need to be increased. What's odd is that I can open large files for editing, so I think that Nextcloud is sending other requests to Collabora (thumbnails, pdf conversion?) that are failing.
I can't see any error logs in nginx on Cloudron, but I can see the access.Am I on the right path? Is there a documented way to alter the nginx infor for a single app that is persistent between updates?
-
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login