413 error code nextcode

aleavara

Cadet
Joined
Mar 4, 2023
Messages
3
Hi, i'm new to truenas. i recently installed nextcloud plugin, but if i try to upload a 1gb file i receive "413" error code. i altready set
php_memory_limit 16G
php_upload_limit 16G
post_max_size 16G
on both
php.ini-production
and php.ini-development
can anyone please help me to get it fixed? ty
 

aleavara

Cadet
Joined
Mar 4, 2023
Messages
3
Hi, i'm new to truenas. i recently installed nextcloud plugin, but if i try to upload a 1gb file i receive "413" error code. i altready set
php_memory_limit 16G
php_upload_limit 16G
post_max_size 16G
on both
php.ini-production
and php.ini-development
can anyone please help me to get it fixed? ty
if anyone could tell me exacly the number of the line i have to check
 

aleavara

Cadet
Joined
Mar 4, 2023
Messages
3
Hi, i'm new to truenas. i recently installed nextcloud plugin, but if i try to upload a 1gb file i receive "413" error code. i altready set
php_memory_limit 16G
php_upload_limit 16G
post_max_size 16G
on both
php.ini-production
and php.ini-development
can anyone please help me to get it fixed? ty
I finally managed to resolve the problem by changing this file
ee /usr/local/etc/nginx/conf.d/nextcloud.inc
and then I set
client_max_body_size 16G
(second line of the file, so it's easy to be found)
I hope this can help you, I had to find the solution by myself.
 
Top