Maximum upload size
-
Hi, is it possible to increase the maximum upload file size? And where is this file located, somehow I can't find it. Thank you very much.
@archos I believe it edit in php.ini in file manager
Go check file manager then that should be show php after edit restart the app will take affect
-
The default in nextcloud package are already quite high.
RUN crudini --set /etc/php/7.4/apache2/php.ini PHP upload_max_filesize 5G && \ crudini --set /etc/php/7.4/apache2/php.ini PHP post_max_size 5G && \
Do you need more than above? Also, check
/app/data/.htaccess
as well which is a htaccess file nextcloud auto-generates for the data directory. (Note: confusingly, there is also a/app/data/htaccess
which is for the code directory). -
The default in nextcloud package are already quite high.
RUN crudini --set /etc/php/7.4/apache2/php.ini PHP upload_max_filesize 5G && \ crudini --set /etc/php/7.4/apache2/php.ini PHP post_max_size 5G && \
Do you need more than above? Also, check
/app/data/.htaccess
as well which is a htaccess file nextcloud auto-generates for the data directory. (Note: confusingly, there is also a/app/data/htaccess
which is for the code directory). -
@girish Thank you for your reply. I'm working abroad and I have bad internet at the guesthouse. So I wanted to upload some movies to Nextcloud. So I was wondering if there was a problem increasing the max upload to 10GB
@archos there no problem but make sure higher ram that can run movie.. and space
-
@archos there no problem but make sure higher ram that can run movie.. and space
@ApplegateR Thank you for the information. So it's enough just to add in the file manager to php.ini code, which gave here @girish ?
RUN crudini --set /etc/php/7.4/apache2/php.ini PHP upload_max_filesize 10G && \ crudini --set /etc/php/7.4/apache2/php.ini PHP post_max_size 5G && \
-
@ApplegateR Thank you for the information. So it's enough just to add in the file manager to php.ini code, which gave here @girish ?
RUN crudini --set /etc/php/7.4/apache2/php.ini PHP upload_max_filesize 10G && \ crudini --set /etc/php/7.4/apache2/php.ini PHP post_max_size 5G && \
-
@archos You have to edit
/app/data/php.ini
and add something like:[PHP] upload_max_filesize=10G post_max_size=10G
And restart the app.