I logged in to the container that run nextcloud and created a file named php.ini in the folder /usr/local/etc/php just to test before putting it on a volume.
The php.ini has the following parameter as you suggested:
upload_max_filesize = 2048M
post_max_size = 2048M
max_execution_time = 200
In the folder I also have:
conf.d
php.ini-development
php.ini-production
and restarted the container and try to upload a 50M file but this it failed again.
Beside I would like to know where is the file currently used for configure php because I want to be sure first that nextcloud container config is ok and then if the issue persist then I can go the the nginx proxi container to check there.
you could just insert one line into index.php. (should work. as far as i remember.)
<?php
phpinfo ();
/**
*
* Your webserver seems to be not configured to use PHP or PHP is not installed.
* Please contact your administrator or follow our documentation:
* https://docs.nextcloud.com/server/15/admin_manual/installation/source_installation.html
I did that and was able to get php configuration info and verified that my .ini file was parsed and also that the upload_max_filesize is 2048M (2GB) is correct as put it.
So I figure that next stop is Nginx right?
I will focus on that and check the parameter you gave me before.