Nextcloud version (eg, 20.0.5): 21.0
Operating system and version (eg, Ubuntu 20.04): 20.4.2
Apache or nginx version (eg, Apache 2.4.25): Apache
PHP version (eg, 7.4): 7.4
The issue you are facing: I have tried to change all the possible parameters in order to increase the upload file limit, and even all of the changes I did, I cannot upload files larger than 1MB.
I’ve tried changing:
To clarify, I should say that I have installed Nextcloud in a docker cointainer and it works together with other containers: mariadb, letsencrypt and nginx-proxy
Is this the first time you’ve seen this error? (Y/N):N
Steps to replicate it:
Open Nextcloud web/client.
Upload a file larger than 1MB
Wait until it fails (aprox 2ms)
Please, can anyone help me? It is almost working perfectly…
I’m changing the php.ini file located at /usr/local/etc/php/.
Inside the docker container (and even in the host) I don’t have a directory in the path /etc/php/.
OK, i just wanted to mention it. I was struggling for this reason. But i do not have NC running in a container, but directly installed with FPM and Redis
Where should I create the file so I can access it from the web?
I mean, I have a domain configured let’s say cloud.bla.com. So if I want to see the php info file in cloud.bla.com/info.php, where should I create that file? How could I know the path?
I did try that. I created an info.php file inside the docker container’s path where the webserver loads the html code (/var/www/html/) but when I try to load the web page cloud.bla.com/info.php it redirects me to cloud.bla.com/login
last try (what does say)
php -i |grep php.ini | wasnt workin on a system here so we came up with the info.php on the server (showed us the php.ini edited it ansprob solved)
how do you admin your nextcloud and your server ?
no offence but … no time here to support apache stuff
your problem is that you dont know what php.ini is used by your system … and on the other hand u / we dont know if the php.ini is set up correctly
I know which php.ini should be using my system and I have basic knowledge of how Apache works, what I don’t know is how Nextcloud and Docker work together.
Here you have a bunch of info about the php.ini files that nextcloud should use:
nextcloud uses the php.ini used y the apache
“thats the bottom line”
if u have basic knowledge of how Apache works
ad a simple php page with the source posted above
and see where the php.ini is located then edit this file
and check in nextcloud if changes affected
btw u restarted apache service & eg php8.0-fmp after each change ?
just to be shure we are on the same page
not willing to help and no time for support are to different pages in different books