Maximum upload size
-
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). -
@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 && \