“413 Request Entry to Large”

I am running nextcoud on bluehost with the following specs.
Pretty much straight out of the box, I connected to the mac client and pointed to our production library which has tons of large videos and files 5/10BG+ which needs to be uploaded. But I am receiving “413 Request Entry to Large”. This error has occurred since installation of Nextcloud which I have installed via the single php web installer.

I have already tried to update the php.ini, and followed the documentation on how to update my .htaccess but not really sure what and how to update it. As I have read I may need to alter the FcgidMaxRequestInMem, but I do not see this in the .htaccess

Operating System: Linux 4.19.286-203.ELK.el7.x86_64 x86_64
CPU: Intel(R) Xeon(R) Gold 5218 CPU @ 2.30GHz (16 threads)
Memory: 42.68 GB

Nextcloud Hub 9 (30.0.4)
PHP 8.3

Any help would be appreciated.

What does the log of your web server and your PHP log say?

1 Like

Im getting nothing on the nextcloud log but this which only appears four times. Ive had this error ont eh client macos nextcloud for about a hundred times.

richdocuments
ConnectException
cURL error 28: Operation timed out after 5002 milliseconds with 0 bytes received (see libcurl - Error Codes) for https://**.com/remote/apps/richdocumentscode/proxy.php?req=/hosting/discovery

On the apache side, Im getting alot of

[Mon Dec 16 10:28:12.304105 2024] [core:crit] [pid 865753:tid 23170285176576] (13)Permission denied: [client 162.241.219.194:0] AH00529: /home3/tcokchal/public_html/okteenchallenge/remote/data/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable and that ‘/home3/tcokchal/public_html/okteenchallenge/remote/data/’ is executable

No error_log on the server.

You seem have overlooked the support template. We don’t even know what installation method you used. It makes a tremendous difference.

The 413 is coming from one of:

  • reverse proxy
  • web server
  • something like Cloudflare in front of your RP or web server
1 Like

original post updated.

This is what my base level php.ini file is saying

Still not enough info.

Are you using Apache or some other web server?

If Apache, adjust LimitRequestBody.

You also may want to bump up post_max_size and upload_max_filesize.

See Uploading big files > 512MB — Nextcloud latest Administration Manual latest documentation

1 Like

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